OPEN-SOURCE SCRIPT

EVWMA 6HR BF

2 588
Credit goes to QuantNomad for the idea behind this code. Here
is the original script.

This strategy simply goes long on a cross above zero of the calculated delta line and short on a cross down below zero.

The delta line is calculated using 2 volume based moving averages.

There is a fixed 9% stop loss but you can change this to an ATR Derived stop in the settings.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.