Detrended Price Oscillator (Tradestation calculation)GoldenBrett90 wrote: Tue May 30, 2023 2:31 pm I just realized this indicator wasn't calculated correctly.
It's pretty much just taking a Simple Moving Average and averaging it or "smoothing" it with the Averages. The lines barely change at all.
There's almost no visual difference between the basic, default SMA DPO and any of the exotic MA's on the list using the same period.
It needs to be using the Averages themselves in the equation to be detrended individually and not pretty much using the average of an average.
This is using a Tradestation calculation version code shared by Mladen, the values are close to the same but mostly different with different averages.
PS: For the previously released version (uses different calculations), please see DPO indicator.