Multiple Stock RSI CheckThis script will check how many stocks RSI is greater than 55 in the given list. This will give you overall idea whether stocks in sector is bullish or bearish .
Indeks Kekuatan Relatif / Relative Strength Index (RSI)
Multi IND Dashboard [Skiploss]Multi IND Dashboard is dashboard combine with price change, RSI, ATR, Alligator and Supertrend. With a maximum of 10 timeframes, I think it's going to make your life easier. In looking at the momentum of each chart.
How it work??
Change :
It is the distance from the close price of previous candlestick and shows the movement value of the candlestick in that timeframe.
RSI :
Default setting are 14 and source close
Value >= 75 : Fill text color maximum overbought
Value >= 65 : Fill text color medium overbought
Value >= 55 : Fill text color minimum overbought
Value >= 45 : Fill text color minimum overbought
Value >= 35 : Fill text color medium overbought
Value >= 25 : Fill text color maximum overbought
ATR :
Default setting are 14 length and RMA smoothing, It like the average swing of the candlesticks.
Alligator :
Default setting are 13, 8 and 5
Bullish status is value lips > teeth and teeth > jaw
Bearish status is value lips < teeth and teeth < jaw
Neutral status status is value lips > teeth and teeth < jaw or lips < teeth and teeth > jaw
Supertrend :
Default setting are 8 and 3.0
Bullish status is uptrend
Bearish status is downtrend
BitCoin RSI TrendWhat is it?
This indicator will plot the RSI of BTC with a red or green background based on the top and bottom values which you can set.
How to use it?
For example, you want to trade only if the RSI of BTC is between 50 and 70, so the top value is 70 and bottom is 50. If the RSI value between those values the background will be green, else it will be red.
Why to use it?
The buy and sell strength of the BTC controls the other coins, and it is noticeable when the BTC is over sold and the RSI exceeding the 70, the price will reverse its movement to down, thus it is advisable to not open long position if the RSI of BTC is above the 70-75. Also, if the RSI is under 50 there is a big possibility to move down further to the over bought areas. The best is to buy a altcoins when the BTC RSI is between 50 and 70.
For example, I could avoid a bad long trade on MATICUSDT when the RSI of BTC is going under 50
Or, get a good long trade on MATICUSDT when the RSI of BTC is between 50 and 70
RSI Dashboard Monitor [Skiploss]RSI Dashboard Monitor is indicator for scanner Relative Strength Index ( RSI ) for 4 symbols and 10 Timeframe, detached from the main chart.
You can choose to display all 4 symbols or just 1 symbol, also can choose resolution (TF). Still, these 10 timeframes should be enough to use. Default is set to 14 but you can modify it from settings.
How it work??
RSI >= 75 : Fill color maximum overbought
RSI >= 65 : Fill color medium overbought
RSI >= 55 : Fill color minimum overbought
RSI >= 45 : Fill color minimum overbought
RSI >= 35 : Fill color medium overbought
RSI >= 25 : Fill color maximum overbought
** Values level and color style can modify it from settings
Relative Strength Index ExEnhanced RSI with an additional SMA line plotted with default period of 12. The default period for RSI is set to 12 and the regular MA line period to 4.
ATR_RSI_Strategy v2 with no repaint [liwei666]🎲 Overview
🎯 this is a optimized version based on ATR_RSI_Strategy with no-repaint.
Sharpe ratio: 1.4, trade times: 116 ,
trade symbol: BINANCE:BTCUSDTPERP 15M
you can get same backtesting result with the correct settings.
🎲 Strategy Logic
🎯 the core logic is quite simple, use ATR and RSI and SMA
1. when price is in high volatility ( atr_value > atr_ma);
2. wait for a break signal (rsi_value > rsi_buy or rsi_value < rsi_sell);
3. entry Long or Short,use trailing stop-loss to max security and percent TP to keep profit.
🎲 Settings
🎯 there are 7 input properties in script, but I only finetune 4 of them ( bold field below ),
you may change other parameter to get better result by yourself.
atr_length: length to get atr value
atr_ma_length : length of smoothing atr value
atr_ma_norm_min : atr_ma normalized min value, filter high volatility ranges
atr_ma_norm_max : atr_ma normalized max value, filter high volatility ranges
rsi_length : length to get rsi value
rsi_entry: 50 +/- rsi_entry to get entry threshold
trailing_percent: trailing stop-loss percent
🎲 Usage
🎯 the commission set to 0.05% , part of exchange the commission is less than 0.05% in reality,
but I will still use 0.05% in my next script.
🎯 this script use 50% of equity to size positions follow general script position,
you can adjust the value to fix size or 100% of equity to compare result with other strategy,
but I still suggest you use 5-10% of equity for each strategy in reality.
🎯any questions please comment below. if there are any words violate House Rule, please tell me below and i will revise immediately
don't want be hiddened again 😂😂
Additionally, I plan to publish 20 profitable strategies in 2023;
let‘s witness it together!
Hope this strategy will be usefull for you :)
enjoy! 🚀🚀🚀
Double RSI + BBRSI stands for Relative Strength Index.
Bollinger Bands stands for a channel open by standard deviation values plotting upper, lower lines.
Double RSI with Bollinger bands adapted Bollinger bands to RSI not using overlay mode. It tries to filter fake signals while giving more good signals according to volatility even below overbought areas or above oversold areas. This way you can use greater values for RSI, like 25 and 100, increasing smoothness with less market noise.
We added an extra gap spacer to smooth Bollinger bands while widening the channel with a lower multiplier.
I found better results when Fast RSI crosses back into Bollinger bands channel.
You can play with the following settings:
• Source
Close is the most used
• Fast RSI length
Default to 25
• Slow RSI length
Default to 100
• RSI Smoothing
To filter out some graphic noise
• RSI Overbought, Oversold
Regular overbought, oversold lines handled by a single value. For 70/30, set it to 20 although with longer RSI something around 15 is enough.
• Bollinger Spacer
Ads thickness to the channel with lower multiplier
• Bollinger Length
Regular Bollinger length applied to slow RSI
• Bollinger Multiplier
Regular Bollinger multiplier applied to slow RSI
Disclaimer:
For study purposes only, trading without a good risk management can be regrettable, do your own research, always add confirmations, use it as is, at your own risk.
DRM StrategyOne of the ways I go when I develop strategies is by reducing the number of parameters and removing fixed parameters and levels.
In this strategy, I'm trying to create an RSI indicator with a dynamic length.
Length is computed based on the correlation between Price and its momentum.
You can set min and max values for the RSI, and if the correlation is close to 1, we'll be at a min RSI value. When it's -1, we'll be at the max level.
I got this idea from Sofien Kaabar's book.
The strategy is super simple, and there might be much room for improvement.
Performance on the deep backtesting is not excellent, so I think the strategy needs some filters for regimes, etc.
Thanks to @MUQWISHI for helping me code it.
Disclaimer
Please remember that past performance may not indicate 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.
RSI Candle Advanced V2RSI Advanced
As the period value is longer than 14, the RSI value sticks to the value of 50 and becomes useless.
Also, when the period value is less than 14, it moves excessively, so it is difficult for us to see the movement of the RSI .
So, using the period value and the RSI value as variables, I tried to make it easier to identify the RSI value through a new function expression.
This is how RSI Advanced was developed.
Period below 14 reduce the volatility of RSI , and period above 14 increase the volatility of RSI, allowing overbought and oversold zones to work properly and give you a better view of the trend.
By applying the custom algorithm so that the 'RSI Advanced' with period on a 5-minute timeframe has the same value as the 'original RSI' with period on a 60-minute timeframe.
As another example, an 'RSI Advanced' with a period in a 60-minute time frame has the same value as an 'original RSI' with a period in a 240-minute time frame.
Compare the difference in the RSI with a period value of 200 in the snapshot.
------------------------------------------------------------------------------------------
RSI Candlestick
RSI derives its value using only the closing price as a variable.
I solved the RSI equation in reverse and tried to include the high and low prices of candlesticks in the equation.
As a result, 'if the high or low was the closing price, the value of RSI would be like this' was implemented.
Just like when a candle comes down after setting a high price, an upper tail is formed when RSI Candle goes down after setting a high price!!
In divergence, we had to look only at the relationship between closing prices, but if we use RSI candles, we can find divergences in highs and highs, and lows and lows.
Existing indicators could not express "gap", but Version 2 made it possible to express "gap"!!!!!!
RSI can be displayed as candlesticks, bars and lines
Then enjoy my RSI!
----------------------------------------------------------------------------------------
RSI Advanced
기간값이 14보다 길어질수록 RSI값은 50값에 달라붙게 되어서 쓸모가 없어집니다.
또 기간값이 14보다 줄어들수록 과도하게 움직여서 우리는 RSI의 움직임을 보기가 힘듭니다.
그래서 기간 값과 RSI 값을 변수로 사용하여 새로운 함수 식을 통해 RSI 값을 식별하기 편하도록 해보았습니다.
이렇게 RSI Advanced가 개발되었습니다.
기간값이 14보다 낮으면 rsi의 변동폭이 줄어들고, 기간값이 14보다 크면 변동폭이 넓어져 과매수 및 과매도 영역이 제대로 작동하여 추세를 더 잘 볼 수 있습니다.
또한 저는 5분 타임프레임의 기간값이 168(=14*12)인 RSI가 주기 값이 14인 60분 타임프레임의 RSI와 동일한 값을 갖도록 적절한 함수 표현식을 적용하여 RSI를 변경했습니다.
다른 예로, 15분 시간 프레임에서 기간값이 56(=14*4)인 RSI는 60분 시간 프레임의 기간값이 14인 RSI와 동일한 값을 갖습니다.
기간값이 200인 RSI의 차이를 스냅샷에서 비교해보십시오.
-----------------------------
RSI Candlestick
RSI는 종가만을 변수로 사용하여 값을 도출해냅니다.
저는 RSI 식을 역으로 풀어내어서 캔들스틱의 고가와 저가, 시가를 식에 포함시켜보았습니다.
결과적으로, '만약 고가나 저가가 종가였다면 RSI의 값이 이럴것이다'를 구현해내었습니다.
캔들이 고가를 찍고 내려오면 윗꼬리가 생기듯 RSI Candle에서도 고가를 찍고 내려오면 윗꼬리가 생기는겁니다!!
다이버전스 또한 원래는 종가끼리의 관계만 봐야했지만 RSI 캔들을 이용한다면 고가와 고가, 저가와 저가에서도 다이버전스를 발견할 수 있습니다.
기존의 지표는 "갭"을 표현하지 못했지만 Version 2 에서는 "갭"을 표현할 수 있게 만들었습니다!!!!!!
그럼 잘 사용해주십시오!!!
Reverse Engineering RSI II - EMARSI and SMARSIThis is the Reverse Engineering EMARSI and SMARSI Indicator.
It’s based on the work of Giorgos Siligardos on Reverse Engineering RSI.
The Reverse Engineering EMARSI and SMARSI Indicator shows the Exponential Moving Average and the Simple Moving Average of the RSI line but plotted in the price chart.
This script is also a complement of "Reverse Engineering RSI, by Giorgos Siligardos" script by HPotter but can also be used alone.
By default the RevEngSMARSI is turned off.
The RevEngEMARSI is the white line.
I’ve also added to the indicator:
1) Simple Moving Average (MA) of the EMARSI (EMARSI SMA) - Orange Line
2) Standard Deviation Bands for the EMARSI SMA - turned off by default
Using the settings I left in default (Length's = 1), we can see that when the EMARSI SMA is horizontal the price rises and so does the EMARSI. Also when the EMARSI SMA rises that's a signal that there is a resistance/support at that price. We can observe such thing if we draw horizontal lines at those prices. We can use this to help us put stop-losses and take profits. Also, those resistance/suport prices are ALWAYS the closing price of the first red candle after a bullish trend (big or small trends). Interesting...
When the EMARSI SMA rises and touches the EMARSI 3 things can happen:
- Bullish Trend slows down
- Correction of price
- Trend reversal
So, when the EMARSI SMA rises that can be interpreted as a signal for taking profits.
We should always wait for the price to close in the timeframe we're using, because sometimes the EMARSI SMA rises before the closing price and flattens again when is about to close.
However we should never take decisions based on 1 indicator. Our trading decision should always take in consideration multiple sources of information.
Of course we can use other settings for the trading. And if we do that we will observe different behaviours. And we should also study those behaviours. We can then use the crosses between the lines.
If there is something wrong with the code or its calculations, please let me know.
If you want to modify or improve the code, feel free to do that, but please let me know the changes you made.
This Indicator works in all timeframes. I hope you enjoy it!
[Pt] TICK + Heikin Ashi RSI IndicatorThis indicator combines NYSE TICK and RSI to aim to provide a view of NYSE market trend strength.
What is TICK
NYSE TICK, also known as the TICK index, is a technical analysis indicator that shows the number of stocks on the New York Stock Exchange (NYSE) that are trading on an uptick or a downtick in a particular period of time. The TICK index is calculated by subtracting the number of stocks trading on a downtick from the number of stocks trading on an uptick. A reading of +1000 on the TICK index, for example, would indicate that there are 1000 more stocks trading on an uptick than on a downtick. The TICK index is often used as a measure of market sentiment, as it can provide insight into whether there is more buying or selling pressure in the market at a given time. A high TICK index reading may suggest that there is strong buying pressure, while a low TICK index reading may indicate that there is more selling pressure in the market.
By default, I am using -800 and 800 for oversold and overbought levels. These are configurable. Also, this indicator includes TICK divergence signals.
The TICK index is usually very volatile, so this indicator is best suited for lower timeframes, such as 1 to 5 min charts.
Idea of TICK neutral zone
As part of this indicator I've identified what I consider as "neutral" range for the TICK. Based on my own personal experience, the market tends to be in consolidation or choppy in this range. By default, I've defined this range to be -200 to 200. This range is configurable.
Signals
In combination with RSI and Heikin Ashi RSI (HARSI), which help smooths out the RSI values and make it easier to identify trends and potential reversal points, this indicator aims to generate Bullish vs Bearish signals based on the following conditions:
- bullish / bearish HARSI candle
- Inside bar on HARSI candle
- TICK trend (above or below Neutral zone)
- RSI trend (above or below 0, but not overbought or oversold)
- RSI / HARSI convergence and divergence
When all bullish conditions are met, the signal turns bright green. Bright red when all bearish conditions are met. These generated signals aims to provide users easy to read visual cues to help with their trades.
A table is also provided in attempt to identify the trend in real time:
TICK trend:
- Bullish, Extended
- Bullish
- Neutral w/ Bullish bias
- Neutral w/ Bearish bias
- Bearish
- Bearish, Extended
RSI:
- Bullish
- Bearish
Note on scale
This indicator is based on the scale for TICK, hence the RSI and HARSI are scaled. By default, standard overbought RSI value of 70 = 800 on this scale, whereas oversold value of 30 = -800.
Credits:
Heikin Ashi RSI code was borrowed from @JayRogers - Heikin Ashi RSI Oscillator
Slope Normalized (SN)Introduction:
The Normalized Slope script is a technical indicator that aims to measure the strength and direction of a trend in a financial market. It does this by calculating the slope of the source data series, which can be any type of data (such as price, volume, or an oscillator) over a specified length of time. The slope is then normalized, meaning it is transformed to a scale between -1 and 1, with 0 representing a flat trend.
Methodology:
The Normalized Slope script uses an exponential smoothing function to smooth the source data series. The smoothing factor, or alpha, can be adjusted by the user through the input parameter "Pre Smoothing".
Next, the script calculates the slope of the smoothed data series by finding the average difference between the current value and the values of the previous "Length" periods. This slope is then normalized using a function that scales the data to a range of -1 to 1, with 0 representing a flat trend. The normalization function takes the minimum and maximum values of the slope, calculates the difference between them, and then scales the data to the range of -1 to 1.
The normalized slope is then smoothed again using another exponential smoothing function with a user-adjustable smoothing factor (the "Post Smoothing" input parameter). A center line representing a flat trend can also be plotted on the chart by enabling the "Center Line" input parameter. Additionally, the user can choose to display bounds at the -1 and 1 levels by enabling the "Bounds" input parameter.
Conclusion:
The Normalized Slope script provides traders with a visual representation of the strength and direction of a trend in a financial market. It can be used as a standalone indicator or in combination with other technical analysis tools to help traders make informed trading decisions.
RSI and MA with Trailing Stop Loss and Take Profit (by Coinrule)The relative strength index is a momentum indicator used in technical analysis. It measures the speed and magnitude of a coin's recent price changes to evaluate overvalued or undervalued conditions in the price of that coin. The RSI is displayed as an oscillator (a line graph essentially) on a scale of zero to 100. When the RSI reaches oversold levels, it can provide a signal to go long. When the RSI reaches overbought levels, it can mark a good exit point or alternatively, an entry for a short position. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.
A moving average (MA) calculates the average of a selected range of prices, usually closing prices, by the number of periods in that range. Essentially it is used to help smooth out price data by creating a constantly updated average price.
The Strategy enters and closes trades when the following conditions are met:
Entry Conditions:
RSI is greater than 50
MA9 is greater than MA50
RSI increases by 5
Exit Conditions:
Price increases by 1% trailing
Price decreases by 2% trailing
This strategy is back-tested from 1 January 2022 to simulate how the strategy would work in a bear market. The strategy provides good returns.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
Oscillator ExtremesThe Oscillator Extremes indicator plots the normalized positioning of the selected oscillator versus the Bollinger Bands' upper and lower boundaries. Currently, this indicator has four different oscillators to choose from; RSI, CMO, CCI, and ROC.
When the oscillator pushes towards one extreme, it will bring the value of the prevailing line closer to zero. If the bullish or bearish line crosses the zero line, the oscillator is past the extreme of the Bollinger Band.
Example: If the RSI crosses over the upper boundary of the Bollinger, the bullish(green) line will cross under the zero line.
Crossovers of the bullish and bearish lines can indicate a shift in momentum and are a signal. Where the line crossing under, towards zero, is the prevailing trend. The plotted lines will highlight green(bullish) or red(bearish) to show the prevailing trend. This is similar to a DI+- crossover that is commonly associated with the ADX.
We have included an optional normalized ADX to help validate signals. The ADX will change color based on the slope of the ADX. Purple indicates a positive slope and white for a negative slope.
M0PB (Momentum Pullback)Long/short strategy that identifies extreme readings on the rsi as a *momentum signal*, unlike most RSI strategies the script will look to buy or sell the first pullback in the direction of the extreme RSI reading.
Enters positions on the first pullback to the 5ema(low)/ 5ema(high) and exits at rolling 12 bar high/ low. The rolling high/ low feature means that if the price enters into a prolonged consolidation the profit target will begin to reduce with each new bar. The best trades tend to work within 2-6 bars.
Built for use on 5 min intervals on FX, Indexes, and Crypto. Lower than 5 minute time frames tend to be noisier and mean more commissions and a higher risk of slippage so the suggested timeframe is 5 mins.
Hard stop is X ATR (users can experiment with this) from the position entry price. This can be adjusted in user inputs.
There is a lot of slack left in entries and exits but the overall strategy is fairly robust across timeframes and markets and has between 60%-70% win rate with larger winners.
Signals that occur from economic news volatility are best avoided.
Key Points of Adjoining Median (KPAM)This indicator shows more reliable overbought & oversold levels buy combing 3 different level-indicators (i.e., indicators showing overbought/oversold levels).
A median is created by adjoining two of them and then it is assisted by a third one.
This reduces noise in calculating entries when using level indicators.
Note: The extra indicator shown is "Bands Bands (BanB)"
----- HOW TO USE IT -----
Use with price-action trading and with indicators showing the overall trend.
See notes in chart for more explanation.
The high and low levels of the RSI are within a range of 2 & -2 respectively.
The high and low levels for the median range from 4 & -4 respectively.
The Discordance shows how certain the level of the median is.
For example, if a part of the Discordance touches a low level while the median is at a higher level, then it usually indicates that the median is about to reverse.
The more Discordance that is visible, the less certain the current trend of the median is.
----- HOW THIS INDICATOR IS ORIGINAL; WHAT IT DOES AND HOW IT DOES IT -----
This indicator has an original, unique ability to reduce noise when comparing overbought and oversold levels.
It does this by first adjoining the Stochastic and the Stochastic RSI. Second, it creates a median from the two.
Third, the median is compared to the RSI on the same scale to assist in deciding where the median is at in relation to itself.
It shows whether the median lows and highs are near overbought or oversold levels.
----- VERSION -----
This is not a variant of the Stochastic, Stochastic RSI, and/or the RSI.
The focus is on the median that is created by an adjoining of the Stochastic and Stochastic RSI.
The Stochastic and Stochastic RSI are needed in order to obtain and plot the Median and the Discordance.
The RSI is plotted on the same scale to serve as the comparison needed to evaluate the Median levels with more visual accuracy.
I11L - Meanreverter 4h---Overview---
The system buys fear and sells greed.
Its relies on a Relative Strength Index (RSI) and moving averages (MA) to find oversold and overbought states.
It seems to work best in market conditions where the Bond market has a negative Beta to Stocks.
Backtests in a longer Timeframe will clearly show this.
---Parameter---
Frequency: Smothens the RSI curve, helps to "remember" recent highs better.
RsiFrequency: A Frequency of 40 implies a RSI over the last 40 Bars.
BuyZoneDistance: Spacing between the different zones. A wider spacing reduces the amount of signals and icnreases the holding duration. Should be finetuned with tradingcosts in mind.
AvgDownATRSum: The multiple of the Average ATR over 20 Bars * amount of opentrades for your average down. I choose the ATR over a fixed percent loss to find more signals in low volatility environments and less in high volatility environments.
---Some of my thoughts---
Be very careful about the good backtesting performance in many US-Stocks because the System had a favourable environment since 1970.
Be careful about the survivorship bias as well.
52% of stocks from the S&P500 were removed since 2000.
I discount my Annual Results by 5% because of this fact.
You will find yourself quite often with very few signals because of the high market correlation.
My testing suggests that there is no expected total performance difference between a signal from a bad and a signal from a good market condition but a higher volatility.
I am sharing this strategy because i am currently not able to implement it as i want to and i think that meanreversion is starting to be taken more serious by traders.
The challange in implementing this strategy is that you need to be invested 100% of the time to retrieve the expected annual performance and to reduce the fat tail risk by market crashes.
RSI Divergence Strategywhat is "RSI Divergence Strategy"?
it is a RSI strategy based this indicator:
what it does?
it gives buy or sell signals according to RSI Divergences. it also has different variables such as "take profit", "stop loss" and trailing stop loss.
how it does it?
it uses the "RSI Divergence" indicator to give signal. For detailed information on how it works, you can visit the link above. The quantity of the inputs is proportional to the rsi values. Long trades are directly traded with "RSI" value, while short poses are traded with "100-RSI" value.
How to use it?
The default settings are for scalp strategy but can be used for any type of trading strategy. you can develop different strategies by changing the sections. It is quite simple to use.
RSI length is length of RSİ
source is source of RSİ
RSİ Divergence lenght is length of line on the RSI
The "take profit", "stop" and "trailing stop" parts used in the "buy" group only affect buys. The "sell" group is similarly independent of the variables in the "buy" group.
The "zoom" section is used to enlarge or reduce the indicator. it only changes the appearance, it does not affect the results of the strategy.
[7H] Trading HUD - MTF EMAs and RSIThis is a MTF HUD built around Chartguy Dan's trading style of 12/26 EMAs and RSI levels from multiple time frames. The HUD is configurable, allowing you to change the time frame of RSI levels and EMAs. The EMAs can be displayed at their current price or a percentage distance away. The HUD values will change color.
I11L - Reversal Trading Ideas by Larry ConnorsThis is my own Twist on Larry Connors Simple Tradingideas.
It Combines the RSI, Averaging In and the Lowest Bars in a Single System.
The current Configuration is designed for the Daily Timeframe.
Feel free to play with the Parameters and keep in mind that Larry Intended to buy fear and sell the greed!
The Rules are the following:
---Buy---
Buy, if the lowest Bar of your Configuration has been hit (default is set to 7).
---Average Down--
Buy, if the lowest Bar of your Configuration * Your open trades has been hit AND only if the buyin is atleast 1% cheaper.
---Close---
Close, if the RSI closes above a certain level (default is set to 70).
---TP---
There is no TP
---SL---
There is no SL, so be cautions of your tail Risk!
Divergence Finder (RSI/Price) with OptionsDivergence finder used to find BUY or SELL Signal based on a divergence between Price and RSI (Price goes UP when RSI goes down / opposite )
You can configure the script with several Options :
Source for Price Buy Div : you can use the close price of the candle (by default) or use the high price of the candle for exemple.
Source for Price Sell Div : you can use the close price of the candle (by default) or use the low price of the candle for exemple.
Source for RSI Div : you can use the close price of the candle (by default) to calculate the RSI .
Theses settings allow you to set a minimum RSI level to reach to activate the Divergence finder (p1 is the first point in time, and p2 is the second one):
Min RSI for Sell divergence(p1) : this is the minimum RSI level to reach for the first of the 2 points of divergence (Default 70) for the SELL Signal
Min RSI for Sell divergence (p2) : this is the minimum RSI level to reach for the second of the 2 points of divergence (Default 60) for the SELL Signal
Max RSI for Buy divergence (p1) : this is the minimum RSI level to reach for the first of the 2 points of divergence (Default 30) for the BUY Signal
Max RSI for Buy divergence (p2) : this is the minimum RSI level to reach for the second of the 2 points of divergence (Default 40 ) for the BUY Signal
Theses settings allow you to set a minimum margin difference between our two points (p1 and p2) to validate the Divergence
Min margin between price for displaying divergence (%) : Set a minimum margin (in % of the price) before the indicator validate this divergence
Min margin between RSI for displaying divergence (%) : Set a minimum margin (in % of the RSI ) before the indicator validate this divergence
Display Divergence label : Choose to display the price of the candle, and the RSI when a divergence is found
Display tops/bottoms : Display where the tops and bottoms are calculated directly on the chart
Relative Strength ComparatorBasically just plots the RSI and the RSI of another stock you pick. Then subtracts the two and makes a histogram showing who's winning.
RSI DivergenceWhat is "RSI Divergence"?
"RSI Divergence" is a indicator that find RSI divergence automatically.
What it does?
When it finds an RSI divergence, it draws a line on the indicator.
How it does it?
The lines are found using the least squares method. If the signs of the linear regression on the graph and the linear regression plotted on the RSI are different, this is considered divergence.
How to use it?
RSI lenght = RSI lenght
source = source of RSI
RSI Divergence Lenght = lenght of lines that draws on indicator
zoom = zoom
examples: