Investment Protector - A Rule of Thumb V1The Flash Crash of September 8 showed once more how many are falling to greed. On top of it one also add leverage to long positions. It's just insane the risk people are taking. Anyhow, for all my noobies and friends here is a very very simple indicator that shows when NOT to buy nor increase positions and when there is window of opportunities.
A few remarks:
This script does NOT provide trading signals
Merely points out windows of opportunities - candles with green background. You still need to find the entry in this area yourself. Apply geomeric Technical Analysis, use indicators or divergences.
Windows of opportunities can still go south, use the stop-loss! (and check for bearish divergence)
The script urges you NOT to trade below ema200 of the 4h timeframe, which is marked with a red background (the most smooh timeframe there is).
Push yourself to take profits. It is marked with on the cancles to support you. Yes, it could always go higher, but try to avoid to be in a crash (and again, use a stop-loss at all time. You can make it a generous one if you want, fine. As long as you have one.).
TA speaking:
The scripts uses EMA and RSI only.
Bearish divergence will be added in V2.
disclaimer: yes, not financial advise. It's educational.
Relative Strength Index (RSI)
Momentum-based ZigZag (incl. QQE) NON-REPAINTINGI spent a lot of time searching for the best ZigZag indicator. Difficulty with all of them is that they are always betting on some pre-defined rules which identify or confirm pivot points. Usually it is time factor - pivot point gets confirmed after a particular number of candles. This methodology is probably the best when market is moving relatively slow, but when price starts chopping up and down, there is no way the ZigZag follows accurately. On the other hand if you set it too tight (for example pivot confirmation after only 2 or even 1 candle), you will get hundreds of zigzag lines and they will tell you nothing.
My point of view is to follow the market. If it has reversed, then it has reversed, and there is no need to wait pre-defined number of candles for the confirmation. Such reversals will always be visible on momentum indicators, such as the most popular MACD. But a single-line moving average can be also good enough to notice reversals. Or my favourite one - QQE, which I borrowed (and improved) from JustUncleL, who borrowed it from Glaz, who borrowed it from... I don't even know where Quantitative Qualitative Estimation originates from. Thanks to all these guys for their input and code.
So whichever momentum indicator you choose - yes, there is a pick-your-poison-type selector as in in-famous Moving Average indicators - once it reverses, a highest (or lowest) point from the impulse is caught and ZigZag gets printed.
One thing I need to emphasize. This indicator DOES NOT REPAINT. It might look like the lines are a bit delayed, especially when compared to all the other ZigZag indicators on TradingView, but they are actually TRUE. There is a value in this - my indicator prints pivot points and Zigzag exactly on the moment they have been noticed, not earlier faking to be faster than they could be.
As a bonus, the indicator marks which impulse had strength in it. It is very nice to see a progressing impulse, but without force - a very likely that reversal on a bigger move is happening.
I'm about to publish some more scripts based on this ZigZag algo, so follow me on TradingView to get notified.
Enjoy!
Crypto Relative StrengthIndicator meant for crypto markets. Computes the relative strength of the current ticker against a target ticker and plots a candlestick chart. Also, plots an exponential moving average of the relative strength.
PrivacySmurf's RSIsThe primary RSIs that I use for analysis.
Default is a Cyclic Smoothed RSI with adaptive bands. Smoothing according to the market vibration is applied to the RSI to cut out the noise and false signals. Instead of traditional overbought and oversold lines, bands are plotted by measuring the recent cyclic activity. This creates overbought and oversold regions reflective of the current market, thus more responsive and can identify smaller, quicker turns.
Price will often react in the direction of the broken bands. Timing using this RSI for bullish entries would be looking for bullish price action candle patterns when the rsi crosses above the bottom band and looking for bearish price action candle patterns when the rsi crosses below the top band.
Optional settings available:
Traditional RSI
Either RSI's with traditional 70/30 bands
Alerts for entering overbought and oversold territory
Cheers,
PrivacySmurf
(Sorry for all the reposts. I'm horrible at complying with the TV script publishing guidelines. I hope I got this one right.)
----------------
To get more in-depth information on the Cyclic-Smoothed RSI, please read Chapter 4: "Fine-tuning Technical Indicators" of the book "Decoding the Hidden Market Rhythm, Part 1" by Lars Von Thienen.
RSI in Bollinger bandsI added Bolinger bands to the RSI indicator.
This shows you the area of reversal for the RSI. Generally, when the indicator falls out of the bands, you'll see a quick reversal. Indeed this is a better way to find the overbought and oversold areas.
Forex Scalping 1min Bollinger Bands, RSI and ADX Trading SystemThis is a Forex Scalping Trading Sytem based on the Bollinger Bands.
Its suited for major pairs, with lowest possible comission (below 1 pip) and with timeframes ranging between 1-15 min.
Indicators:
Bollinger bands
ADX
RSI
Rules for entry:
Long Entry: price to move below the upper Bollinger Bands RSI raise above the 30 line and ADX<32 at the same time.
Short Entry: price to move above the upper Bollinger Bands, RSI raise below the 70 line and ADX<32 at the same time.
Rules for exit
Profit Exit: 3 options: 1, exit position when the price touches the middle band, 2) when the price touches the opposite band, X pips target profit.
Loss Exit: X pips loss
Strategy TemplateThis is the fastest way to create a Trading View strategy. The template I have created includes stoploss and take profit enabling and plotting, date range, and strategy buy and sell conditions. I believe this will benefit the people in the Trading View community by creating a strategy faster and more efficiently than just repeating pine script code. All that needs to be done by the person using this script is to add their own indicators, and create their own buy and sell signals. Then they can immediately start back testing their new strategy!
Crypto swing correlation RSI and SMAThis is a crypto swing strategy, designed for long term periods and correlated pairs with crypto market total(or other coins used as correlation, however I recommend total of crypto or btc)
Its components are:
RSI with a very length
Correlation candles
SMA 9
Rules for entry:
For long : RSI is above 51 level and going higher and close of the candle is above the SMA
For short :RSI is below 49 and going lower and close of the candle is below the SMA
Rules for exit:
We exit when we encountered an opposite condition than the entry one, or based on take profit/stop loss levels.
If you have any questions let me know !
Zendog V2 backtest DCA bot 3commasHi everyone,
After a few iterations and additional implemented features this version of the Backtester is now open source.
The Strategy is a Backtester for 3commas DCA bots. The main usage scenario is to plugin your external indicator, and backtest it using different DCA settings.
Before using this script please make sure you read these explanations and make sure you understand how it works.
Features:
- Because of Tradingview limitations on how orders are grouped into Trades, this Strategy statistics are calculated by the script, so please ignore the Strategy Tester statistics completely
Statistics Table explained:
- Status: either all deals are closed or there is a deal still running, in which case additional info
is provided below, as when the deal started, current PnL, current SO
- Finished deals: Total number of closed deals both Winning and Losing.
A deal is comprised as the Base Order (BO) + all Safety Orders (SO) related to that deal, so this number
will be different than the Strategy Tester List of Trades
- Winning Deals: Deal ended in profit
- Losing deals: Deals ended with loss due to Stop Loss. In the future I might add a Deal Stop condition to
the script, so that will count towards this number as well.
- Total days ( Max / Avg days in Deal ):
Total Days in the Backtest given by either Tradingview limitation on the number of candles or by the
config of the script regarding "Limit Date Range".
Max Days spent in a deal + which period this happened.
Avg days spent in a deal.
- Required capital: This is the total capital required to run the Backtester and it is automatically calculated by
the script taking into consideration BO size, SO size, SO volume scale. This should be the same as 3commas.
This number overwrites strategy.initial_capital and is used to calculate Profit and other stats, so you don't need
to update strategy.initial_capital every time you change BO/SO settings
- Profit after commission
- Buy and Hold return: The PnL that could have been obtained by buying at the close of the first candle of the
backtester and selling at the last.
- Covered deviation: The % of price move from initial BO order covered by SO settings
- Max Deviation: Biggest market % price move vs BO price, in the other direction (for long
is down, for short it is up)
- Max Drawdown: Biggest market % price move vs Avg price of the whole Trade (BO + any SO), in the other
direction (for long price goes down, for short it goes up)
This is calculated for the whole Trade so it is different than List of Trades
- Max / Avg bars in deal
- Total volume / Commission calculated by the strategy. For correct commission please set Commission in the
Inputs Tab and you may ignore Properties Tab
- Close stats for deals: This is a list of how many Trades were closed at each step, including Stop Loss (if
configured), together with covered deviation for that step, the number of deals, and the percentage of this
number from all the deals
TODO: Might add deal avg value for each step
- Settings Table that can be enabled / disabled just to have an overview of your configs on the chart, this is a
drawn on bottom left
- Steps Table similar to 3commas, this is also drawn on bottom left, so please disable Settings table if you want
to see this one
TODO: Might add extra stats here
- Deal start condition: built in RSI-7 or plugin any external indicator and compare with any value the indicator plots
(main purpose of this strategy is to connect your own studies, so using external indicator is recommended)
- Base order and safety orders configs similar to 3commas (order size, percent deviation, safety orders,
percent scale and volume scale)
- Long and Short
- Stop Loss
- Support for Take profit from base order or from Total volume of the deal
- Configs help (besides self explanatory):
- Chart theme: Adjust according to the theme you run on. There is no way to detect theme at the moment.
This adjust different colors
- Deal Start Type: Either a builtin RSI7 or "External indicator"
- Indicator Source an value: If using External Indicator then select source, comparison and value.
For example you could start a deal when Volume is greater than xxxx, or code a custom indicator that plots
different values based on your conditions and test those values
- Visuals / Decimals for display: Adjust according to your symbol
- BO Entry Price for steps table: This is the BO start deal price used to calculate the steps in the table
RSI Divergency and Golden RatioHow to calculate:
Positive mismatch finds the lowest trough within the distance you choose. It then compares it to the current closing value.
If the past low is above the current closing level, it means that the bottoms of the price are descending.
The RSI level at the furthest bottom of the price is detected. And the current RSI level is detected. If the current RSI level is higher than the previous RSI level, there is a positive divergence.
When a positive divergence occurs, a green pole forms above the RSI indicator on the chart.
Negative finds the highest peak level within the distance you choose. It then compares it to the current closing value.
If the past high is below the current close, it means that the highs of the price are rising.
The RSI level at the furthest high of the price is detected. And the current RSI level is detected. If the current RSI level is lower than the previous RSI level, there is negative divergence.
When a negative divergence occurs, a red pole forms above the RSI indicator on the chart.
As can be seen in the image, the points marked with red are the regions where incompatibility occurs. At the same time, the signals that occur when the RSI cuts its own moving average and the signals that occur when the RSI cuts its own golden ratio are also very strong signals.
Waiting for your ideas and comments. I am open to criticism. We can improve.
MACD-RSI With @LuckyNickVAMACD & RSi Confluence. Great for those who are looking for RSI & macd signals. Highlights volatility & structure points for entering & exiting the market. You have to understand market volatility to understand this concept. So please research more on those subjects before using. But The RSI is the relative strength index it helps you understand the increase in interest in price great for trend trading along with the momentum based indicator. Macd Developed by Gerald Appel, the Moving Average Convergence-Divergence, or MACD, is an oscillator that measures price momentum. The indicator also measures the strength, direction and duration of a trend. Forex traders can use the MACD to confirm an entry price or exit point.
[VJ]Phoenix Force of PSAR +MACD +RSIThis is a simple intraday strategy for working on Stocks or commodities based out on PSAR, MACD , RSI and chop index . You can modify the start time and end time based on your timezones. Session value should be from market start to the time you want to square-off
Important: The end time should be at least 2 minutes before the intraday square-off time set by your broker
Comment below if you get good returns
Strategy: Entry Exits using PSAR and momentum and trend using MACD and RSI. A chop index is used as filtering
Indicators used :
Parabolic SAR is a technical indicator that is used to determine the price direction of stocks and it also draws attention to the traders when the price is changing
PSAR helps you:
Identify when a certain price trend is going to change direction
Indicate the most effective level at which to enter into the trade
Indicate the most effective exit point for the trade
Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. ... Traders may buy the security when the MACD crosses above its signal line and sell—or short—the security when the MACD crosses below the signal line
RSI is intended to chart the current and historical strength or weakness of a stock or market based on the closing prices of a recent trading period.
Buying/Selling
When trading with the parabolic SAR, you would buy a market when the dots move below the current asset price and are green in colour. Alternatively, you would sell a market when the dots move above the current asset price and are red in colour. We use MACD , RSI to ensure that a right trade is picked when PSAR gives an indication. CI is used to stay away from the range bound market as much as possible.
Usage & Best setting :
Choose a good volatile stock and a time frame - 5m.
MA length : 200
RSI threshold : 50
MACD: 12,26,9
There is stop loss and take profit that can be used to optimise your trade
The template also includes daily square off based on your time.
RSI Stoch MACD EMARibbon (by WJ)Combination of RSI, Stochastic and MACD signals filtered by EMA Ribbon direction.
Long when:
RSI > 50
Stochastic crossover upwards k > d and k < 50
MACD crossover upwards
EMA fast > slow
Short when:
RSI < 50
Stochastic crossover downwards k < d and k > 50
MACD crossover downwards
EMA fast < slow
Make sure Stochastic has recently done a crossover from respective overbought/oversold zones.
RSI DoubleJust another RSI indicator with a plus: shows the current symbol RSI in black plus another symbol RSI in blue.
This is useful for example if you are trading alt-coins and you want to see also the RSI of Bitcaoin as reference, or is you are trading forex and want to see another index...
See my other scripts in: es.tradingview.com
RSI CCI Correlating Oscillator (RCCO) by empowerTRCCO is pronounced "ree-koh" or "rico".
The RCCO is simply the plot of the values of both the RSI and CCI added together.
The RCCO makes some adjustments though, so that both the RSI and the CCI will fit correctly on the same scale - and so that these adjustments for scale allow reversals to be detected at crossings.
When the CCI crosses from underneath to up above the RSI, this is usually a bullish reversal. Alternatively, when the CCI crosses from above to back under the RSI, that usually signals a bearish trend. Look for the widest swings you can find to ensure good momentum. The larger the volume, the clearer and more decisive the trends. Low volume will lead to ranging and lazy momentum. High volume will create clear and forceful trends. The lowest negative RCCO in a timeframe, and then add some high volume... and you have yourself a good setup for a successful trade.
Because the RSI and CCI are adjusted, you may not recognize their values from having used the respective indicators on their own. The RSI and CCI values are less important. What matters with this indicator are the crossings and the RCCO value. The RCCO value should be negative, preferably, a deeply negative value. Look at the historical chart for the target per your selected timeframe and decide what values work for you.
I hope you enjoy the RCCO and that it can help you become a little más RICO!
QuickSilver Intraday using RSIThis is a simple intraday strategy using very basic intraday super indicators - RSI & VWAP for working on Stocks . You can modify the values on the stock and see what are your best picks. Comment below if you found something with good returns
Strategy:
Indicators used :
The Relative Strength Index (RSI) is one of the most popular and widely used momentum oscillators.The values of the RSI oscillator, typically measured over a 14-day period, fluctuate between zero and 100. The Relative Strength Index indicates oversold market conditions when below 30 and overbought market conditions when above 70
VWAP identifies the true average price of a stock by factoring the volume of transactions at a specific price point and not based on the closing price. VWAP can add more value than your standard 10, 50, or 200 moving average indicators because VWAP reacts to price movements based on the volume during a given period.
Buying happens at VWAP Breakouts which is then validated with RSI to check for overbought & oversold conditions.
Aggressive trade stop can be employed by using the % for long and shorts in the strategy.
Usage & Best setting :
Choose a good volatile stock and a time frame - 10m.
RSI : 9
Overbought & Oversold - can be varied as per user
There is stop loss and take profit that can be used to optimise your trade
Extending this to,
In general guidelines for RSI :
Short-term intraday traders (day trading) often use lower settings with periods in the range of 9-11.
Medium-term swing traders frequently use the default period setting of 14.
Longer-term position traders often set it at a higher period, in the range of 20-30.
The template also includes daily square off based on your time.
[VJ]War Machine PAT IntraThis is a simple intraday strategy for working on Stocks . You can modify the values on the stock and see what are your best picks. Comment below if you found something with good returns
Strategy:
Indicators used :
The Choppiness Index is designed to determine whether the market is choppy or trading sideways, or not choppy and trading within a trend in either direction. Using a scale from 1 - 100, the market is considered to be choppy as values near 100 (over 61.80) and trending when values are lower than 38.20)
The Money Flow Index (MFI) is a momentum indicator that measures the flow of money into and out of a security over a specified period of time. It is related to the Relative Strength Index (RSI) but incorporates volume, whereas the RSI only considers price. The MFI is calculated by accumulating positive and negative Money Flow values (see Money Flow), then creating a Money Ratio. The Money Ratio is then normalized into the MFI oscillator form.
Using the combination of CI (trend factor as constant) and varying MFI, we can buy/sell when conditions are met
Buying with MFI
1. MFI drops below 20 and enters inside oversold zone.
2. MFI bounces back above 20.
3. MFI pulls back but remains above 20.
4. A MFI break out above its previous high is a good buy signal.
Selling with MFI
1. MFI rises above 80 and enters inside overbought zone.
2. MFI drops back below 80.
3. MFI rises slightly but remains below 80.
4. MFI drops lower than its previous low is a signal to short sell or profit booking
Usage & Best setting :
Choose a good volatile stock and a time frame - 5m.
Trending factor : 50
Overbought & Oversold - can be varied as per user
There is stop loss and take profit that can be used to optimise your trade
The template also includes daily square off based on your time.
Combo Backtest 123 Reversal & RSIThis is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The RSI is a very popular indicator that follows price activity.
It calculates an average of the positive net changes, and an average
of the negative net changes in the most recent bars, and it determines
the ratio between these averages. The result is expressed as a number
between 0 and 100. Commonly it is said that if the RSI has a low value,
for example 30 or under, the symbol is oversold. And if the RSI has a
high value, 70 for example, the symbol is overbought.
WARNING:
- For purpose educate only
- This script to change bars colors.
PVT RSIPrice Volume Trend based RSI with SMA smoothing. I personally prefer smoothed RSI's to get rid of noise.
SOFTENED RSI DİFFRACTİON BANDSThis indicator takes the moving averages of the rsi values, gives signals in the lower and upper breaks, prevents the rsi upper threshold from signaling above a certain rsi value, as the rsi upper threshold value increases, the number of signals increases and the number of risky signals also increases. As the rsi upper threshold value decreases, the signals decrease and become better quality You can determine the most appropriate threshold value according to the commodity type.
bu indikatör rsi değerlerinin hareketli ortalamalarını alır alttan ve üstten kırılımlarında sinyal verir rsi üst eşiği belli bir rsi değerinin üstünde sinyal vermesini engeller rsi üst eşik değeri arttıkça sinyal sayısı artar aynı zamanda riskli sinyal sayısıda artar rsi üst eşik değeri azaldıkça sinyaller azalır ve daha kaliteli hale gelir emtia tipine göre en uygun eşik değerini belirleyebilirsiniz.
Trend Momentum with Buyers / Sellers PowerHi there!
With this indicator, you can hunt big trends before they start.
This indicator is combined with RSI and Momentum indicators
It can show you the power of trend and which side it wants to go
It can help you to open a position at the first point of a new trend or at the safe and proven point of the trend, also it can help you to close your position before the trend change its direction (it's not recommended to use it to close your positon, but sometimes it can help you to find the ending point of big pumps)
Rules:
* Baseline is ZERO ( 0 ) line
* When gray line crossover red line, it shows us a powerful uptrend
* When the gray line crossunder the red line it shows us a powerful upward trend
Signals:
* Only use Buy signals(Long) when they are above or crossing-up baseline
* Only use Sell signals(Short) when they are under or crossing-down baseline
* If they both (red and gray lines) are too high and they suddenly starting to come back to baseline, it shows we have a range trend, the trend is weak or a reversal trend is coming!!
!! WARNING: DO NOT USE THIS INDICATOR ALONE !!
Suggestions :
-Use 1H, 4H, daily, or Weekly timeframes
-Use ADX and DI or three WMA's
-Use divergence
-You can use it for scalping but you need to change the inputs (not recommended)
If you have any idea about making new indicators(what information do you want from the chart?), comment please, then I can research and make it for all of us! =)
Stochastic Weighted RSI w/ Divergence + Signals🐢 Tawtis' Stochastic Weighted Relative Strength Index , aka SWRSI
This indicator combines the Stochastic RSI and the classic RSI we all know and love to create a more effective indication of seller/buyer dominance, and in turn, trend. I have named it the "Stochastic Weighted RSI". The script also includes a standard RSI, so you can use both at the same time!
Loads of customisation, pretty much every input can be changed to fit your preferences, however, the default settings are what I would personally recommend for the best results. Either way, feel free to change them!
By looking at the indicator, you can also establish the trend that may follow in the candles to come.
Typically, an indicator reading of over 70 is considered overbought, and an indicator reading of under 30 is considered oversold.
The calculations for the SWRSI and its signals take into account a multitude of exponential moving averages, a Stochastic RSI and a classic RSI, among other things.
There are 2 types of signals provided by the indicator, being strong and weak. You do not have to follow these, and they aren't always accurate (it's impossible to be accurate 100% of the time), however, they can give a good idea of the trend that will ensue.
Strong buy signals are created when:
SWRSI is under 30
SWRSI is over the EMA (default 2) of the SWRSI
Short EMA (default 20) is under the long EMA (default 50)
Strong sell signals are created when:
SWRSI is over 70
SWRSI is under the EMA (default 2) of the SWRSI
Short EMA (default 20) is over the long EMA (default 50)
Weak buy and sell signals are printed as green and red background highlights, and operate the same as the strong buy and sells, without the short/long EMA criterion. Both of these signal types can be toggled off using the settings if you do not want to see them.
Enjoy!
Simple RSI tableThis is a simple RSI table for traders that don't want the graph, only the current value.
Location, thresholds, and colors are all adjustable.