TradingView
zhipengcfel
Jun 20, 2017 3:59 PM

Double RSI lines with stochastic Strategy (by Zhipengcfel) 

U.S. DOLLAR / WTI CRUDE OILICE

Description

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.

Thanks to @ChartArt.

Good luck to all!

Release Notes

Updated the script.
Comments
SimYuanAnShane
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.
SimYuanAnShane
@zhipengcfel, awesome, thanks!
AMBRISH
Thank You for publishing demo of double RSI.
zhipengcfel
@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.
zhipengcfel
@AMBRISH, Thanks.
More