MoneyFlowIndex


Summary

The Money Flow Index is an oscillator that calculates buying and selling pressure using typical price and volume. It oscillates between zero and one hundred. It is typically used to identify trend reversals and price extremes.

Syntax

public interface MoneyFlowIndex

Members

NameTypeSummary
Result PropertyThe time series of MoneyFlowIndex Indicator

Example 1

private MoneyFlowIndex _moneyFlow;
[Parameter("Period", DefaultValue = 14)]
public int Period { get; set; }
[Output("Main")]
public IndicatorDataSeries Result { get; set; }
protected override void Initialize()
{
   _moneyFlow = Indicators.MoneyFlowIndex(Period);
}
public override void Calculate(int index)
{
   // Display Result of Indicator
   Result[index] = _moneyFlow.Result[index];
}