OPEN-SOURCE SCRIPT
Relative Strength Index with Highlights and Success Test

This script does two things:
1- Highlights extreme levels on RSI
2- Calculates what % of the time, price closed higher (lower) with some minimum threshold when RSI was below oversold (overbought) level in a predefined number of bars.
I use this to understand if buying the dip/selling the rip works for a security and on what time frame and if it could be a profitable strategy that can generate large enough moves.
No guarantees on the accuracy of the code. Let me know if you see anything wrong
1- Highlights extreme levels on RSI
2- Calculates what % of the time, price closed higher (lower) with some minimum threshold when RSI was below oversold (overbought) level in a predefined number of bars.
I use this to understand if buying the dip/selling the rip works for a security and on what time frame and if it could be a profitable strategy that can generate large enough moves.
No guarantees on the accuracy of the code. Let me know if you see anything wrong
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。