Skip to content

Result Property

Summary

The time series of the Ease Of Movement Indicator.

Signature

1
public abstract IndicatorDataSeries Result {get; set;}

Return Value

IndicatorDataSeries

Declaring Type

cAlgo.API.Indicators.EaseOfMovement

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 private EaseOfMovement _easeOfMovement;
 [Parameter("Period", DefaultValue = 21)]
 public int Period { get; set; }
 [Parameter("MA Type", DefaultValue = MovingAverageType.Simple)]
 public MovingAverageType MAType { get; set; }
 protected override void OnStart()
 {
     _easeOfMovement = Indicators.EaseOfMovement(Period, MAType);
 }
 protected override void OnBar()
 {
     var currentValue = _easeOfMovement.Result.LastValue;
     //...
 }

Last update: July 1, 2022

Comments