OPEN-SOURCE SCRIPT

Zero Lag Detrended Price Oscillator (ZL DPO)

By mdenson
This indicator attempts to create a zero lag Detrended price oscillator using 2 different scripts. I actually really like the results so far. I hope you all find it useful too.

Green>Red = long
Red>Green = short

The lines on the example chart are some of the signals that the indicator gave on default settings.

The greens are wins, reds are outright losses, and blues are "scratch" trades(signal for other side before hitting stop loss).
All of the signals tested were using NNFX money management to see if they are wins or losses(1.5x atr for SL and 1 Atr for TP).
2lineDetrended Price Oscillator (DPO)dpolagMoving AveragesnolagpriceTrend Analysiszerolagzlma

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?

Disclaimer