talib.mfi

Money Flow Index for source over length bars. There is no volume argument in the signature.

talib.mfi(series float source, series int length) → series float
ParameterTypeRequiredDescription
sourceseries floatyesThe series the index is calculated on.
lengthseries intyesHow many bars the calculation covers.

Returns series float — A series float index value.

indicator("Money Flow Index")
plot(talib.mfi(hlc3, 14))

See also talib.alma · talib.atr · talib.barssince

Part of the function index.

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade