MoneyFlowIndex


Summary

The Money Flow Index measures the strength of the money flow.

Syntax

public MoneyFlowIndex MoneyFlowIndex(int periods)
public MoneyFlowIndex MoneyFlowIndex(MarketSeries marketSeries, int periods)

Parameters

NameDescription

Example 1

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