OPEN-SOURCE SCRIPT

Daily Open Strategy (DOS)

DOS is a mean-reversal strategy that trades against the previous candle direction as long as it has body greater than the PrevRange paremeter.

Best results are obtained in GBP and AUD pairs on daily charts , but of course you can experiment with other assets and timeframes.

Strategy parameters include starting and ending dates, the previous candle range (raw value), the Stop Loss (SL, in pips, 200 = 20 pips) and the Take Profit (TP, in pips too).
Average True Range (ATR)

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