CustomIndicatorPO Method (Series, Boolean, MovingAverageType, numeric)

GF Charts Help
Price Oscillator

Namespace:  GF.Clients.Charts.Custom
Assembly:  GF.Clients.Charts (in GF.Clients.Charts.dll) Version: a2f537322cdaf87d2796303449681c087e96766d
Syntax

public Series PO(
	Series Input,
	bool Percentage,
	MovingAverageType MovingAverage,
	numeric SlowWindow
)

Parameters

Input
Type: GF.Clients.Charts.TimeSeriesSeries
Input data (historical series or another indicator) that will be processed by the indicator. Category: Data.
Percentage
Type: SystemBoolean
The Price Oscillator can display the difference between the two moving averages as either points or percentages. Category: Data.
MovingAverage
Type: GF.Clients.Charts.TimeSeries.IndicatorsMovingAverageType
Type of moving average. You can use Exponential Moving Average to calculate Smoothed Oscillator. Parameter: MA. Category: Data.
SlowWindow
Type: GF.Clients.Charts.Custom.EL.Runtimenumeric
Window size of slow moving average. Parameter: Slow. Category: Periods.

Return Value

Type: Series
Single series (PO)
Remarks

Price Oscillator

Default: Percentage=True, MovingAverage=Simple, SlowWindow=26, FastWindow=9

Examples

PO(InputData, True, MovingAverageType.Simple, 26, 9)
See Also

Reference