On the Detrended price oscillator on Kite, it shows blank for the recent N/2 minutes (N being DPO period) . Is this the correct behaviour?
Look at the right most part of the oscillator, where last 12/13 bars are missing, which is about half the period of 25.
I thought the formula is something like this-
DPO(n) at time t = Close(t-(n/2 + 1)) - MA(n)
But from the chart it feels like its more like the left hand side is
DPO(n) at time (t - n/2) = (Same RHS from above)
Am I wrong about this?
If the second thing is correct, then that means DPO needs to look ahead (for calculating the MA(n)) to calculate current values, meaning I cant get the DPO for the current time without waiting for next few minutes? Is there any similar indicator then which does detrending without needing to look ahead?