xbj

Money Flow with moving average (MAMFI)

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
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out