Double RSI lines to find the current trend. The Stochastic was used to buy (if double RSI line shows bull trend) or sell (if double RSI line shows bearish trend).
This is just a demo vision and can not be used for real auto trading, so i will not publish the full script.
Hi there, thanks for sharing. Just a quick question related to backtesting - how do you restrict the backtesting period to 2015? For mine it always goes back to 1975. Much appreciated!
zhipengcfel
⋅
@SimYuanAnShane, Add when = year > 2014 to strategy.entry function.
@AMBRISH, You are welcome. The strategy is very simple. I use two RSI lines. One line with a short parameter and another line with long parameter and these two lines will be similar with MACD and cross over and under. It is just for fun to test the results with script.
AMBRISH
⋅
@zhipengcfel, Great, I will be waiting for your update.