MoneyFlowIndex

StockSharp.Algo.Indicators

Money Flow Index.

Inherits: DecimalLengthIndicator

Constructors

MoneyFlowIndex
public MoneyFlowIndex()
moneyFlowIndex = MoneyFlowIndex()

Initializes a new instance of the MoneyFlowIndex.

MoneyFlowIndex
public MoneyFlowIndex(int length)
moneyFlowIndex = MoneyFlowIndex(length)

Initializes a new instance of the MoneyFlowIndex.

length
Period length.

Properties

Measure
public override IndicatorMeasures Measure { get; }
value = moneyFlowIndex.Measure

IndicatorMeasures.

Methods

CalcIsFormed
protected override bool CalcIsFormed()
result = moneyFlowIndex.CalcIsFormed()

Calc IsFormed.

Returns: IsFormed

OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = moneyFlowIndex.OnProcessDecimal(input)

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

Reset
public override void Reset()
moneyFlowIndex.Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).