ta.mfi
Money flow index, 0-100, from series (usually hlc3) and volume.
ta.mfi(series: float, length: simple int) -> series float
Parameters
seriesfloat: The typical price, usually hlc3. A rise since the previous bar counts the bar's money flow (series * volume) as positive, a fall as negative, no change as neither.lengthsimple int: Number of bars, a whole number from 1 to 5000 (a fraction is cut off). Known before the first bar: a literal or an input, never a series. Outside 1 to 5000 the script stops with a runtime error. The positive and negative flows are summed over this many bars.
Example
ta.mfi(hlc3, 14)