Pseudorandom

McClellan Summation Index

1224 views
231
1224 0
Based on the description in Murphy, Tech. Analysis of Financial Markets. Wikipeadia also has a good description:
https://en.wikipedia.org/wiki/McClellan_...
Without warranty - please trade based on your own analysis and let me know if you find any errors in the script.
Remove from Favorite Scripts Add to Favorite Scripts
study(title = "McClellan Summation Index", shorttitle="MCSI")
sym(s) => security(s, period, close)
difference2 = sym("ADVN") - sym("DECN")
advnema19 = ema(difference2, 19)
advnema39 = ema(difference2, 39)
osci = advnema19-advnema39
maout = cum(osci)
plot(maout, title="MCSI", color=red)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out