xbj

Money Flow with moving average (MAMFI)

69 1 8
Money Flow with moving average, use this like MACD to show by point and sell point
Remove from Favorite Scripts Add to Favorite Scripts
//
// @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")
good idea, but in my charts the indicator is only black
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out