Skip to content

WeightedClose.Result

property · WeightedClose · cAlgo.API.Indicators

DesktopCLICloud

Gets the resulting time series of the Weighted Close indicator calculation.

Definition

IndicatorDataSeries Result {get;}
weightedClose.Result: IndicatorDataSeries

Returns IndicatorDataSeries

Examples

var weightedClose = Indicators.WeightedClose();
Print("Weighted Close of the last closed bar: {0}", weightedClose.Result.Last(1));
weightedClose = api.Indicators.WeightedClose()
api.Print(f"Weighted Close of the last closed bar: {weightedClose.Result.Last(1)}")