Money Flow with moving average, use this like MACD to show by point and sell point
// // @author xbjconan // Money Flow with moving average // study(title="Money Flow with moving average", shorttitle="MFI & MAMFI") length = input(title="MFI Length", type=integer, defval=14, minval=1, maxval=2000) src = hlc3 upper = sum(volume * (change(src) <= 0 ? 0 : src), length) lower = sum(volume * (change(src) >= 0 ? 0 : src), length) mf = rsi(upper, lower) plot(mf, color=#459915) overbought=hline(80, title="Overbought", color=#c0c0c0) oversold=hline(20, title="Oversold", color=#c0c0c0) fill(overbought, oversold, color=#9915ff, transp=90) len = input(6, minval=1, title="MAMFI Length") out = sma(mf, len) plot(out, color=blue, title="MA")