Sidd-Vortex strategy is using Vortex formula to generate 4 signals Bullish1 Bullish2 and Bearish1 Bearish2.
Bullish1 signal is getting generated when smooth ma of VIP is crossing over smooth ma of VIM and smooth VIM is falling from previous bar smooth VIM
Bullish2 signal is getting generated when smooth ma of VIP is crossing over smooth ma of VIM and smooth VIP is rising from previous bar smooth VIP
Bearish1 signal is getting generated when smooth ma of VIM is crossing over smooth ma of VIP and smooth VIP is falling from previous bar smooth VIP
Bearish2 signal is getting generated when smooth ma of VIM is crossing over smooth ma of VIP and smooth VIM is rising from previous bar smooth VIM
This strategy can be converted into study by un-commenting the plotshape and replace 15th line strategy with study and parameter overlay=false
and remove the if blocks.
I have seen trending market this strategy is working find but in choppy and consolidation zone strategy doesnt work and results are as expected.
This strategy can be used for stocks, commodity, Forex.
I have added commission and slippage with back test result.
Enjoy code is open.