Table of Contents

Class AbsolutePriceOscillator

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

This indicator computes the Absolute Price Oscillator (APO) The Absolute Price Oscillator is calculated using the following formula: APO[i] = FastMA[i] - SlowMA[i]

public class AbsolutePriceOscillator : MovingAverageConvergenceDivergence, IIndicator, IUpdatable
Inheritance
AbsolutePriceOscillator
Implements
Derived
Inherited Members
Extension Methods

Remarks

The Absolute Price Oscillator is the same as a MACD with the signal period equal to the slow period.

Constructors

AbsolutePriceOscillator(int, int, MovingAverageType)

Initializes a new instance of the AbsolutePriceOscillator class using the specified parameters.

public AbsolutePriceOscillator(int fastPeriod, int slowPeriod, MovingAverageType movingAverageType = MovingAverageType.Simple)

Parameters

fastPeriod int

The fast moving average period

slowPeriod int

The slow moving average period

movingAverageType MovingAverageType

The type of moving average to use

AbsolutePriceOscillator(string, int, int, MovingAverageType)

Initializes a new instance of the AbsolutePriceOscillator class using the specified name and parameters.

public AbsolutePriceOscillator(string name, int fastPeriod, int slowPeriod, MovingAverageType movingAverageType = MovingAverageType.Simple)

Parameters

name string

The name of this indicator

fastPeriod int

The fast moving average period

slowPeriod int

The slow moving average period

movingAverageType MovingAverageType

The type of moving average to use