Skip to content

PriceOscillator Method

PriceOscillator

Summary

The Price Oscillator calculates the difference between two moving averages.

Signature

1
public abstract PriceOscillator PriceOscillator(DataSeries source, int longCycle, int shortCycle, MovingAverageType maType)

Parameters

Name Type Description
source DataSeries The price source data used for calculation.
longCycle int The long period used for calculation.
shortCycle int The short period used for calculation.
maType MovingAverageType Type of the Moving Average.

Return Value

PriceOscillator

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor


Last update: July 1, 2022

Comments