Skip to content

SwingIndex.Result

property · SwingIndex · cAlgo.API.Indicators

DesktopCLICloud

Gets the Result Series of the Swing Index indicator.

Definition

IndicatorDataSeries Result {get;}
swingIndex.Result: IndicatorDataSeries

Returns IndicatorDataSeries

Examples

var swingIndex = Indicators.SwingIndex(12);
Print("The value of SwingIndex for the last closed bar is {0}", swingIndex.Result.Last(1));
swingIndex = api.Indicators.SwingIndex(12)
api.Print(f"The value of SwingIndex for the last closed bar is {swingIndex.Result.Last(1)}")