RicardoSantos

[RS](SP) MMFI Indicator V0

348 4 28
S&P             Percent of stocks above the 50 DMA Indicator
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study(title='[RS](SP) MMFI Indicator V0', shorttitle='MMFI', overlay=false)
o = security('INDEX:MMFI', period, open)
h = security('INDEX:MMFI', period, high)
l = security('INDEX:MMFI', period, low)
c = security('INDEX:MMFI', period, close)

candlecolor = c > o ? color(lime, 0) : c < o ? color(red, 0) : color(silver, 0)
plotcandle(o, h, l, c, title='MMFI', color=candlecolor)

length = input(title='Signal Length:', type=integer, defval=10)
signal = ema(c, length)

plot(series=signal, title='Signal', color=color(black, 0), linewidth=2)
hline(price=0, title='L', color=color(green, 0), linestyle=dashed, linewidth=1)
hline(price=10, title='L', color=color(green, 0), linestyle=dashed, linewidth=1)
hline(price=25, title='L', color=color(lime, 0), linestyle=dashed, linewidth=1)
hline(price=75, title='L', color=color(red, 0), linestyle=dashed, linewidth=1)
hline(price=90, title='L', color=color(maroon, 0), linestyle=dashed, linewidth=1)
hline(price=100, title='L', color=color(maroon, 0), linestyle=dashed, linewidth=1)
BobVanders
10 months ago
Nice, thank you
Reply
dave.seremek PRO
10 months ago
This looks interesting. What is it?
Reply
RicardoSantos PRO dave.seremek
10 months ago
its a index of the stocks above the 50DMA(MMFI), end of day only. i just made it pretty and as a overlay indicator :p
Reply
telepatico
9 months ago
What index is the MMFI? Thanks.
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener 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 Billing Sign Out