OPEN-SOURCE SCRIPT

RSI2 Scapling

Updated
Rule
1. Price is above its 200-period moving average
2. The 2-period RSI of price closes below 5
3. Buy price on the close
4. Exit when price closes above its 5-period moving average
Release Notes
replace short to close
Relative Strength Index (RSI)Simple Moving Average (SMA)

Open-source script

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.

Want to use this script on a chart?

Disclaimer