OPEN-SOURCE SCRIPT

SIDD-Vortex

Updated
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.
Release Notes
Changed the overlay to get the plot of vortex on chart and enabled band to see the strength of buyers and sellers.
Release Notes
Signal ON OFF facility added in the indicator
Oscillatorssidd-vortex

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?


Also on:

Disclaimer