Indicators
Indicators
Detrended Price Oscillator (dpo)

Detrended Price Oscillator (dpo)

def dpo(real: NDArray[Shape["*", Float]], period: float | int) -> NDArray[Shape["*"], Float]:
    """
    Detrended Price Oscillator
    Inputs: real
    Options: period
    Outputs: dpo
    """
    pass

The Detrended Price Oscillator indicator requires 1 input and 1 option parameters.

This indicator returns 1 outputs

Inputs

  • real - a numpy.array of numpy.float64

Options

  • period - float | int

Outputs

  • dpo