Pseudorandom

McClellan Summation Index

Based on the description in Murphy, Tech. Analysis of Financial Markets. Wikipeadia also has a good description:
en.wikipedia.org/wik...McClellan_oscillator
Without warranty - please trade based on your own analysis and let me know if you find any errors in the script.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?
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)