Result


Summary

The time series of AccumulativeSwingIndex.

Syntax

public IndicatorDataSeries Result{ get; }

Example 1

//...
private AccumulativeSwingIndex _accumulativeSwingIndex;
//...
[Parameter("Limit Move", DefaultValue = 12)]
public int LimitMove { get; set; }
        
//...
protected override void OnStart()
{
    _accumulativeSwingIndex = Indicators.AccumulativeSwingIndex(LimitMove);
}
protected override void OnBar()
{
    // Print to log
    Print("The Current Accumulative Swing Index is: {0}", _accumulativeSwingIndex.Result.LastValue);
}
//...