OPEN-SOURCE SCRIPT

D_DSP (Detrended Synthetic Price) Strategy 2 Backtest

By HPotter
Wizard
Detrended Synthetic Price is a function that is in phase with the
dominant cycle of real price data. This DSP is computed by subtracting
a half-cycle exponential moving average (EMA) from the quarter cycle
exponential moving average.
See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.

You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
algotradingbacktestingdspehlersmesastrategy
HPotter
Wizard

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