Skip to content

Result Property

Summary

The time series of the Money Flow Index indicator.

Signature

1
public abstract IndicatorDataSeries Result {get; set;}

Return Value

IndicatorDataSeries

Declaring Type

cAlgo.API.Indicators.MoneyFlowIndex

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 private MoneyFlowIndex _moneyFlow;
 [Parameter("Period", DefaultValue = 21)]
 public int Period { get; set; }
 protected override void OnStart()
 {
     _moneyFlow = Indicators.MoneyFlowIndex(Period);
 }
 protected override void OnBar()
 {
     var currentValue = _moneyFlow.Result.LastValue;
     //...
 }

Last update: June 26, 2022

Comments