Detrended price oscillator - FXB.ta.DPO

The FXB.ta.DPO class calculates the Detrended Price Oscillator. It is a value-based calculation, and can be applied to any series of values including the output of another FXB.ta calculation. Parameters are as follows:

Parameter

Description

period

Rolling period for the calculation

maType

Type of moving average. Defaults to an exponential moving average (ema / 1).