Skip to content

Result Property

Summary

Gets the resulting time series of the Price Oscillator indicator calculation.

Signature

1
public abstract IndicatorDataSeries Result {get;}

Return Value

IndicatorDataSeries

Declaring Type

cAlgo.API.Indicators.PriceOscillator

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 private PriceOscillator priceOscillator;
 protected override void Initialize()
 {
     priceOscillator = Indicators.PriceOscillator
         (MarketSeries.Close, 14, 5, MovingAverageType.Simple);
 }
 public override void Calculate(int index)
 {
     double result = priceOscillator.Result[index];
 }

Last update: July 1, 2022

Comments