DPO with modified formula for percentual values for scale ability trend line and histogram, rest i leave to you to explore..
Hi Let me introduce my Detrended Price Oscillator script. The Detrend Price Osc indicator is similar to a moving average, in that it filters out trends in prices to more easily identify cycles. The indicator is an attempt to define cycles in a trend by drawing a moving average as a horizontal straight line and placing prices along the line...