This Strategy was LIVE coded during a webinar conducted by the author on 16-Jan-21 titled Backtesting in Tradingview. The system is named "Double Decker RSI".
The rules of this strategy are:
LONG - RSI(5)>70 and RSI(14)>50 -- EXIT: RSI(5)<55
SHORT - RSI(5)<40 and RSI(14)<50 -- EXIT: RSI(5)>45
Instrument - BANKNIFTY - 1 HR Chart
The code is open source for you to edit and make changes as needed. For details on the strategy and webinar, you can refer to the website in signature of this strategy.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
Get access to the Tradingview Indicators and Strategies from db.capital
Also on:
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.