Result


Summary

The time series of EaseOfMovement Indicator

Syntax

public IndicatorDataSeries Result{ get; set; }

Example 1

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;
    //...
}