← Back to Library
Volume

Money Flow Index (MFI)

MFI is a volume-weighted RSI. It uses both price and volume for identifying overbought or oversold conditions in an asset.

Pine Script V6
//@version=6
indicator('MFI', overlay=false)
len = input.int(14, 'Length')
plot(ta.mfi(hlc3, len), 'MFI', color=color.purple)