Double RSI FilterI've seen several youtubers using 2 RSI's on top of one another to filter trades for their strategies. I figured I would just code it up as an all-in-one indicator for people who have the basic package. This way they have an extra slot for another indicator if they need one and also for convenience.
Longs only when RSI 1 is above RSI 2 and shorts only when opposite. The arrows show where crosses of the RSI's occur.
Let me know if there is something else like this where it would just be very convenient to have 2 indicators on one window or other such things and I'll see if I can do something for you guys in my spare time. I'm just an amateur coder, but learning as I do more of these for people.
Thank you!
Hope this helps someone! :)
مؤشر القوى النسبية
RSI DivergenceThe RSI DIvergence script tries to predict the upper and lower trend-lines for the current security’s RSI.
The script identifies peaks and valleys within the RSI and then tries to draw a trend-line in between the peaks and the valleys. The longest possible trend-line originating from the latest peak/valley will be used to determine whether or not the trend is moving up or down, the slope of the trend-line will then dictate the direction of the trend.
(If no trend line can be drawn from the latest peak/valley, the current value of the RSI will be used as the origin point of the trend-line)
Once the script has identified the trendlines they will be superimposed on the RSI line as dashed lines. The color of the dashed lines will depend on the direction of the trend, an upwards moving trend will be depicted in green,whilst a downwards moving trend will be depicted in red.
Furthermore, the script will draw two arrows, representing the short term trend and the long term trend, as to make it even more clear which direction the two trend-lines have.
If only one trend-line (either upper or lower) can be found, the script will replace the corresponding arrow with a diamond shape instead.
Floating RSI IndicatorThe Simple Floating Relative Index Strength Indicator to analysis the real time value of RSI along with High Minus Low of Day , Week and Monthly candle value and Real time Candle Body size. Simple indications of colors i.e. green indicates bullish and red indicates Bearish
Soren test 222Say we use strategy.risk.allow_entry_in() to only trade longs. When our script uses the strategy.entry() function to open a short trade, TradingView of course won’t allow our strategy to go short. But that doesn’t mean the trade is ignored. Instead the ‘enter short’ trade – which is actually a sell command – becomes an ‘exit long’ order.
Another way to think about this is the following. The strategy.entry() function can reverse positions: longs into shorts, and shorts into longs. That reverse behaviour gets stopped by strategy.risk.allow_entry_in(). What strategy.entry() instead ends doing is close positions: from long to flat, or from short to flat.
(The example strategies that we discuss later in this article show how strategy.risk.allow_entry_in() makes strategy.entry() close instead of open trades.)
# Can still trade both long or short
strategy.risk.allow_entry_in() can also allow our strategy to trade both long or short. That’s a bit silly, since this is already the default behaviour. But to cod
Soren test 2Me cool u bad
Say we use strategy.risk.allow_entry_in() to only trade longs. When our script uses the strategy.entry() function to open a short trade, TradingView of course won’t allow our strategy to go short. But that doesn’t mean the trade is ignored. Instead the ‘enter short’ trade – which is actually a sell command – becomes an ‘exit long’ order.
Another way to think about this is the following. The strategy.entry() function can reverse positions: longs into shorts, and shorts into longs. That reverse behaviour gets stopped by strategy.risk.allow_entry_in(). What strategy.entry() instead ends doing is close positions: from long to flat, or from short to flat.
(The example strategies that we discuss later in this article show how strategy.risk.allow_entry_in() makes strategy.entry() close instead of open trades.)
Say we use strategy.risk.allow_entry_in() to only trade longs. When our script uses the strategy.entry() function to open a short trade, TradingView of course won’t allow our strategy to go short. But that doesn’t mean the trade is ignored. Instead the ‘enter short’ trade – which is actually a sell command – becomes an ‘exit long’ order.
Another way to think about this is the following. The strategy.entry() function can reverse positions: longs into shorts, and shorts into longs. That reverse behaviour gets stopped by strategy.risk.allow_entry_in(). What strategy.entry() instead ends doing is close positions: from long to flat, or from short to flat.
(The example strategies that we discuss later in this article show how strategy.risk.allow_entry_in() makes strategy.entry() close instead of open trades.)
Say we use strategy.risk.allow_entry_in() to only trade longs. When our script uses the strategy.entry() function to open a short trade, TradingView of course won’t allow our strategy to go short. But that doesn’t mean the trade is ignored. Instead the ‘enter short’ trade – which is actually a sell command – becomes an ‘exit long’ order.
Another way to think about this is the following. The strategy.entry() function can reverse positions: longs into shorts, and shorts into longs. That reverse behaviour gets stopped by strategy.risk.allow_entry_in(). What strategy.entry() instead ends doing is close positions: from long to flat, or from short to flat.
(The example strategies that we discuss later in this article show how strategy.risk.allow_entry_in() makes strategy.entry() close instead of open trades.)Say we use strategy.risk.allow_entry_in() to only trade longs. When our script uses the strategy.entry() function to open a short trade, TradingView of course won’t allow our strategy to go short. But that doesn’t mean the trade is ignored. Instead the ‘enter short’ trade – which is actually a sell command – becomes an ‘exit long’ order.
Another way to think about this is the following. The strategy.entry() function can reverse positions: longs into shorts, and shorts into longs. That reverse behaviour gets stopped by strategy.risk.allow_entry_in(). What strategy.entry() instead ends doing is close positions: from long to flat, or from short to flat.
(The example strategies that we discuss later in this article show how strategy.risk.allow_entry_in() makes strategy.entry() close instead of open trades.)
Double RSI For KateDouble RSI for scalping and trend recognition. Green for longs, red for shorts. Based on close. ;)
Ribbon Relative Strength IndexDescription
Ribbon RSI is the base on of the original RSI.
In RSI (dark color) and RSI-base MA (light color), we added short (12-day) and long (26-day) periods to show these crossovers, including crossovers between the RSI and the RSI-base MA, We've also added a trend period (50-day) RSI section that shows this section in the background.
And because Stochastic is a momentum indicator as well. It is therefore included as a guide to support RSI in another way.
How to Setting
— You can adjust the Short (12 days), Long (26 days) and Trend (50 days) periods from Settings: Input page in the RSI Setting section.
— You can adjust the RSI-base MA interval (9 days) on the Settings: Input page in the MA Setting section.
— You can display the lines of RSI, RSI-base MA at Setting: Style in RSI…
— You can display the Stochastic lines on the Settings: Style page in the Stochastic…
Scalping Alice 3/5INTRO
Scalping Alice is a work in progress. I made it to help with my Scalping Long strategy as a helper for entrances.
This instance of the indicator is for 3min and 5min chart analysis only.
It still needs to further adopt and calibrate multi-frame data, but for the moment it takes from the Daily, the Hourly and the 15min.
It is meant to be used WITHOUT candles. This is because, one of the goals I'm trying to achieve is to compress data and leave out unwanted noise.
The 3min and 5min candles are very dynamic (specially in the crypto market), so I don't need to know the whole OHLC, but I do need a range.
COMPONENTS
Small Blob
The first component is the current time-frame Price Blob. The top line is the candle Highs and the bottom line is the candle Lows.
The Price Blob's Color changes according to a Double RSI which you can modify the values for.
The default is 13 for the Fast RSI and 34 for the Slow RSI.
When the Fast RSI is on top it turns Green. When the Slow RSI is on top it turns Red.
Big Blob
The Outer Blob is the same as the inner blob, but in the 15min time-frame. It changes color the exact same way, but with 15min values.
WMA Line
The closest line to the blob is the WMA line. You can change the default value, which is 21.
The color changes according to a complex modifier, that I will try to explain, but most likely fail.
It takes a sort of Tenkan (see Ichimoku Cloud if you don't know what a Tenkan is) value from the 15min chart and the Hourly chart.
It then compares the difference from these Tenkans and adds it to the 15min mid price.
And finally tries to find a fast Trend of the movement of the price for the last 3 candles.
The Tenkan value can be changed from it's default 3. Be wary, this changes the Tenkans for all the timeframes.
Blue Tenkan
The slower line is an Hourly Tenkan but with a value of 9.
Saturation Clouds
The last piece are the orange Saturation Clouds. These appear in bigger price movements and work weirdly.
They are differences between Hourly Tenkan and current frame Tenkan, along added to the mid point of the price and a little bit of Bollinger math.
Again, hard to explain, but they are very useful. Maybe one of the most useful parts of Alice.
BULL AND BEAR
Bullish :
- Green Small Blob
- Green Big Blob
- Green WMA
- Small Price Blob Above WMA
- Small Price Blob Above Blue Tenkan
- Small Price Blob Inside Upper Saturation Cloud
- Lower Saturation Cloud appears but DOES NOT touch Small Price Blob
Bearish
- Red Small Blob
- Red Big Blob
- Red WMA
- Small Price Blob Below WMA
- Small Price Blob Below Blue Tenkan
- Small Price Blob Inside Lower Saturation Cloud
- Upper Saturation Cloud appears but DOES NOT touch Small Price Blob
SMALL TIPS
Saturation Clouds
When the Saturation Clouds appear, it is an indication of strong price decision.
If it appears but it is far from the Small Blob then this indicates Price Reversal.
Most likely a nice moment to enter an opposite trend trade.
If the cloud appears touching the Small Blob and the Small Blob enters the cloud, this is Trend Confirmation.
The price is going to go strongly towards the Trend is is on.
Most likely a nice moment to enter an accompanying trend trade.
Price Bounce
The Small Blob bounces inside the Big Blob. This is very useful for numerous short plays.
You have better chances opening longs when the price is on the Lower parts of the Blobs.
The same goes for shorts on the Upper Parts.
Slow and Fast
The color of the WMA is a very fast indicator, it's the least reliable one.
Then comes the Small Blob color, then comes the WMA itself.
Following that you have the Big Blob color, then the blue Tenkan.
And finally the Saturation Clouds are the most reliable part.
FINAL THOUGHTS
This is a publishable version of this strategy. I hope to keep working on these types of strategies, maybe even upgrading this one.
Enjoy, share and leave comments!
Multiple RSI Strategies [MoonKoder]In this script you can find multiple strategies to optimize your trading.
Here you have multiple RSI Strategies in only one indicator. The tool tips are self explenatory, so you don't have to worry to kon how to work with it.
I hope you enjoy it, and don't forget to like the script, so I can get supported to continue to work on more indicators. :)
Have fun :D
Trend & Momentum V2Declutter your charts. Simple indicator combining trend and momentum using Moving Average (currently default to 9-day EMA) and RSI (default length of 8). A long signal is generated when the price closes above the moving average and the moving average color turns red to green which indicated that the momentum measured using RSI is greater than 50. A short signal is generated when the price closes below the moving average and the moving average color turns green to red indicating RSI is below 50. Confirmation is done if there is no reversal on the next candle. For best results use multiple timeframe charts to trade on the right side of trend and momentum.
5 Symbol screener with triple MA and RSIBelow is a simple screener script fitted with 5 different symbols in the first column and in the other 4 columns the screener displays the respective moving averages and the RSI, the user has the ability to change between timeframes and different moving averages such as the SMA, EMA, RMA and WMA .
Weighted Relative Strength IndexWRSI uses 3 different user defined time frames with user defined weight on each time frame to give a final RSI value
Default values:
RSI 1 = 5 minute timeframe with a weightage of 9:14
RSI 2 = 15 minute timeframe with a weightage of 4:14
RSI 1 = 60 minute timeframe with a weightage of 1:14
Works best on a 15 min chart.
Please note this indicator will show exactly same values on all time frame charts so if you are looking at a daily chart you may want to change to 60 min, Daily & Weekly RSI time frame in settings.
The weights used here are basically sqaures of 1,2,& 3, you may choose any numbers that work for you.
The RSI length taken here is 27 (count of nakshatras)
The RSI MA length taken here is 28 (count of nakshatras + Abhijit Nakshatra)
You can obviously change it to what works best for you.
RSI MA CrossBuilding onto the standard RSI indicator, with the following modification and improvements:
- Added signals for RSI moving average crossovers, which usually indicator a bull or bear trend
- Added option to use smoothed RSI line
- Added alert for crossover signals
Enjoy~~~!
parabolic sar with ema and rsi, this strategy includes 3 free trading view indicators, with HIGH ken ashee candles , now lets go ahead and add them to our chart ,
the 1st indicator is parabolic saarr and the 2nd indicator is E M A , and the final one is R S I , and we have to change some settings , change this E M A length from 9 to 200 ,
and change some settings on R S I indicator , so lets remove all options except for , the R S I , and the R S I middle band , and parabolic saarr on default sittings , now our strategy is ready , lets go into trading rules .
for a long signal to be valid , the price must be above 200 E M A ,with NEW buy signal from parabolic saarr, if , R S I above the middle 50 line
for a short signal to be valid , the price must be below 200 E M A , with NEW SELL signal from parabolic saarr ,if ,R S I BELOW 50 line
now we can go ahead and take a SHORT position
our stoploss must be above the recent higher high
and the risk to reward ratio will be 2
RSI/Slow Stochastic/Volume IndicatorThis script provides buy and sell signals based on overbought/oversold conditions and incorporates multiple indicators including RSI, slow stochastic crossover, and volume changes. The script is best suited for the 1-hour time frame and can be used for stocks, indexes, futures trading, and cryptocurrency trading.
Custom Multi-Timeframe IndicatorIt's a pretty simple example of a nice custom screener you can run for multiple timeframes. This is an RSI screener, but you can easily change the function for your own Indicator.
Screener displays:
Last value of the instrument
RSI value for up to 10 instruments / 4 timeframes.
In Parameters you can change:
4 timeframes
10 instruments
Parameters for RSI
Styling parameters for table
If the selected timeframe will be lower than the current one you will receive a warning message in a table.
Thanks to @MUQWISHI to help me code it.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Hayden's Advanced Relative Strength Index (RSI)Preface: I'm just the bartender serving today's freshly blended concoction; I'd like to send a massive THANK YOU to @iFuSiiOnzZ, @Koalafied_3, @LonesomeTheBlue, @LazyBear, @dgtrd and the rest of the PineWizards for the locally-sourced ingredients. I am simply a code editor, not a code author. The book that inspired this indicator is a free download, plus all of the pieces I used were free code from the PineWizards; my hope is that any additional useful development of The Complete RSI trading system also is offered open-source to the community for collaboration.
Features: Fixed & Custom price targeting. Triple trend state detection. Advanced data ticker. Candles, bars, or line RSI . Stochastic of over 20 indicators for adjustable entry/exit signals. Customizable trader watermark. Trend lines for spotting wedges , triangles, pennants , etc. Divergences for spotting potential reversals and Momentum Discrepancy Reversal Point opportunities. RSI percent change and price pivot labels. Gradient bar coloring on-chart.
‼ IMPORTANT: Hover over labels for additional information. Google & read John Hayden's "The Complete RSI" pdf book for comprehensive instructions before attempting to trade with this indicator. Always keep an eye on higher/stronger timeframes.
⚠ DISCLAIMER: DYOR. Not financial advice. Not a trading system. I am not affiliated with TradingView or John Hayden; this is my own personally PineScripted presentation of a suitable RSI to use when trading according to Hayden's rules.
About the Editor: I am a former-FINRA Registered Representative, inventor/patent-holder, and self-taught PineScripter. I mostly code on a v3 Pinescript level so expect heavy scripts that could use some shortening with modern conventions.
Hayden's RSI Rules:
📈 An Uptrend is indicated when:
1. RSI is in the 80 to 40 range
2. The chart shows simple bearish divergence
3. The chart shows Hidden bullish divergence
4. The chart shows Momentum Discrepancy Reversal Up
5. Upside targets being hit
6. 9-bar simple MA is greater than the 45-bar EMA on RSI
7. Counter-trend declines do not exceed 50% of the previous rally
🔮 An Uptrend is in danger when:
1. Longer timeframe fading rally
2. a) Multiple long-term bearish divergences. b) Upside targets not being hit.
3. 9-bar simple MA is less than the 45-bar EMA on RSI
4. Hidden bearish divergence, or simple bullish divergence
5. Deep counter-trend retracements greater than 50%
📉 A Downtrend is indicated when:
1. RSI is in the 60 to 20 range
2. The chart shows simple bullish divergences.
3. The chart shows Hidden bearish divergence
4. The chart shows Momentum Discrepancy Reversal Down
5. Downside targets being hit
6. 9-bar simple MA is less than the 45-bar EMA on RSI
7. Counter-trend rallies do not exceed 50% of the previous decline
🔮 A Downtrend is in danger when:
1. Longer timeframe fading decline
2. a) Multiple long-term bullish divergences. b) Downside targets not being hit.
3. 9-bar simple MA is greater than the 45-bar EMA on RSI
4. Hidden bullish divergence , or simple bearish divergence
5. Steep counter-trend retracements greater than 50%
Oversold RSI with tight SL Strategy (by Coinrule)This is one of the best strategies that can be used to get familiar with technical indicators and start to include them in your trading bot rules.
ENTRY
1. This trading system uses the RSI ( Relative Strength Index ) to anticipate good points to enter positions. RSI is a technical indicator frequently used in trading. It works by measuring the speed and change of price movements to determine whether a coin is oversold (indicating a good entry point) or overbought (indicating a point of exit/entry for a short position). The RSI oscillates between 0 and 100 and is traditionally considered overbought when over 70 and oversold when below 30.
2. To pick the right moment to buy, the strategy enters a trade when the RSI falls below 30 indicating the coin is oversold and primed for a trend reversal.
EXIT
The strategy then exits the position when the price appreciates 7% from the point of entry. The position also maintains a tight stop-loss and closes the position if the price depreciates 1% from the entry price. The idea behind this is to cut your losing trades fast and let your winners ride.
The best time frame for this strategy based on our backtesting data is the daily. Shorter time frames can also work well on certain coins, however in our experience, the daily works best. Feel free to experiment with this script and test it on a variety of your coins! With our backtesting data a trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange by volume. In the example shown, this strategy made a handsome net profit of 39.31% on Chainlink with 61.54% of trades being profitable.
Optimised RSI strategy for Reversals (by Coinrule)The most common way to use the RSI to spot a good buy opportunity is to check for values lower than 30. Unfortunately, the RSI can remain in oversold territory for long periods, and that could leave you trapped in a trade in loss. It would be appropriate to wait for a confirmation of the trend reversal.
In the example above I use a short-term Moving Average (in this case, the MA9) coupled with an RSI lower than 40. This combination of events is relatively rare as reversal confirmations usually come when RSI values are already higher. As unusual as this setup is, it provides buy-opportunities with much higher chances of success.
The parameters of this strategy would be:
ENTRY: RSI lower than 40 and MA9 lower than the price
TAKE PROFIT and STOP-LOSS with a ratio of at least 2. That means that if you set up a take profit of 3%, your stop-loss shouldn’t be larger than 1.5%.
The advantage of this approach is that it has a high rate of success and allows you the flexibility of setting up the percentages of the take profit and stop-loss according to your preferences and risk appetite.
Divergence Macd+RSI Fast[RSU] -- No RepaintThis indicator combines the divergence of rsi and macd and displays it on the candlestick chart.
RSI:
1. When rsi is at a high point, once it falls by 1 k line, it will detect the divergence from the previous high point. This can quickly find the divergence that has taken effect and help you quickly capture the trend before a sharp decline or rise.
The difference between other RSI divergence indicators: the official divergence indicator is to detect the 5 and the k line, which may lead to a large amount of decline.
2. This indicator detects the previous high and the previous low of 5, 10, 20 lengths at the same time, instead of only detecting a fixed length, so that more deviations can be found.
MACD:
1. When MACD-diff line(orange color) is at a high point, once it falls by 1 k line, it will detect the divergence from the previous high point. This can quickly find the divergence that has taken effect and help you quickly capture the trend before a sharp decline or rise.
2. This indicator detects the previous high and the previous low of 5, 10, 20, 40 , 60 lengths at the same time, instead of only detecting a fixed length, so that more divergences can be found.
Notice:
Because it is a quick divergence detection, it is recommended to confirm that the divergence takes effect after the current k is completely closed first. I have identified this state in the indicator as "k not end".
Disadvantages and Risks:
Since it is a quick discovery, there will be error identification. Error divergences will recolor to grey.
Suggestion:
Use Alert catching divergence occurrences.
Please do not:
Don't go short in the uptrend, don't go long in the downtrend.
Top divergences that occur because of a strong uptrend are usually only temporary pullbacks. Bottom divergences in persistent declines are also temporary rallies. Do not attempt to trade such low-return trades.
It is recommended to use the divergence indicator when the stock price has made a new high and retraced, and once again made a new high, because this often leads to the end of the trend.
Divergence how to use:
1. After the previous candlestick was completely closed, a bottom divergence was found.
2. Open an long order at the beginning of the second bar, or as close to the bottom as possible (because the stop loss will be smaller).
3. Break the stop loss price below the previous low where the divergence occurred, which already means that the divergence is wrong.
OPAL - Sense→ Hi everyone, very proud to publish my unique leading oscillator ! ←
Sense is a "leading indicator" : it shows what can happen in the future, meanwhile a lagging indicator like MAs shows past sentiment.
Sense diverging with Price ? Care at the reversal !
It can be a great tool to upgrade your timings, after a divergence for example, to snipe reversals or to find Trend entries.
This tool is used for sniping in our levels trading setup (in our trading community)
Sense is made of everything you know about common indicators :
RSI/STOCH/STOCHRSI/MFI/RVSI/PZO/VZO/MOMENTUM/VOLUMES/UO
>>> Basically shows situations where almost all the known indicators reach interesting points in Overbought and Oversold zones
Signals provided :
*Visible and Hidden Minor OB/OS Crosses (Small Arrows)
*Visible and Hidden Major OB/OS Crosses (Bigger Arrows)
*Visible and Hidden Major and Minor Confluence in OB/OS Zones (Rockets/Blood)
*Background Smart Coloring when price reaches OB/OS Zones :
- blue/purple = entering OB/OS Zones
- green/red = extrem multiple OB/OS situation
*Coloration of Middle Line based on std Price Deviation
*Smart Divergences spotting : applied level filter to get divergences that reached OB/OS Zones at least once.
Divergences are scanned twice for confirmation<
*Full alerting system on :
- Full signals = blood and rockets
- Half signals = bigger arrows
- Minor signals = small arrows
- Dual Divergences = on both oscillators (slow & fast)
1) What is the curve i see on Sense ? => It is my homemade oscillator, described above
2) What are thoses Zones around the curve ? => Overbought/Oversold Zones
3) What are those dots on the curve ? => When the oscillator crosses its Triggerline
4) What are those little arrows ? => Printing minor Overbought/Oversold situations
5) What are those bigger arrows ? => Printing major Overbought/Oversold situations
6) What are those Blood dots/ Rockets ? => Printing Confluence situations in Overbought/Oversold Zones
7) Why is background coloring ? => I applied smart coloration based on oscillators location (see above coloration meaning)
8) What are those lines between curve spikes ? => Situations when Price and oscillator are doing different moves, basically divergences, meaning a correction can happen sooner or later
Should be strong on almost every timeframe !
Always backtest, watch, then use or not in your trading strategy.
If you like my work, leave a like :)
Hoping you success !
RSI BGCOLOR indicatorHi
This is a standard RSI indicator.
It changes the background color to green if the RSI reading is greater than the RSI bullish value and it changes to red if the RSI is below the RSI bearish value.
It will turn black for values between RSI bullish value and RSI bearish value.
You can tweak it to your liking, for example if you'd like to detect long only trades that are above 30 then you set RSI bearish value to 0 and RSI bullish value to 30 and it will only get long signals.
P.S More confirmation indicators will be necessary
RSI5+RSI9+RSI14 EMA [MTF - Multi Time Frame] Zero54This indicator has a fast RSI (RSI 5). Slower RSI (RSI 9) and a smoothened RSI14 EMA. When both RSI5 and RSI9 are above the RSI14 EMA, then the trend is bullish. When both RSI5 and RSI9 are below the RSI14 EMA, then the trend is bearish. This indicator also shows you the trend in upto 6 time frames! This MTF analysis gives you the conviction to take or skip the trade. Inspired by the concept taught by @AsitPati
The numbers you see in the MTF grid is the RS14 EMA for the respective time frame.
Hope you find this useful. Comments and feedback welcome. Like this if you find this useful.
NSE:HINDUNILVR