McClellan Summation Index [LazyBear]

McClellan Summation Index is a breadth indicator derived from McClellan Oscillator (

The Summation Index is simply a running total of the McClellan Oscillator values. Even though it is called a Summation Index, the indicator is really an oscillator that fluctuates above/below zero. As such, signals can be derived from bullish / bearish divergences, directional movement and centerline crossovers. A moving average can also be applied to identify upturns and downturns.

Indicator uses the advancing/declining stocks from NYSE by default, but you can change them to any market in the options dialog.

More info:

Complete list of my indicators:
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go dodać do ulubionych, żeby używać go na wykresie.

Chcesz użyć tego skryptu na wykresie?
// @author LazyBear 
// List of all my indicators: 
study("McClellan Summation Index [LazyBear]", shorttitle="MSI_LB")
advissues=input(defval="ADVN", title="Advancing Stocks Symbol", type=symbol)
decissues=input(defval="DECN", title="Declining Stocks Symbol", type=symbol)
isRA=input(true, title="Stockcharts version (Ratio Adjusted)?")
rm=input(defval=1000, title="RANA ratio multiplier")

useCTF=input(false, title="Use Custom Timeframe?"), 
tf=useCTF?input("D", type=resolution, title="Custom Timeframe"):period
ai=security(advissues, tf, close), di=security(decissues, tf, close)
rana=rm * (ai-di)/(ai+di)
e1=isRA?ema(rana, 19):ema(ai-di, 19),e2=isRA?ema(rana, 39):ema(ai-di, 39)

hline(0, title="ZeroLine")
plot(msi<0?msi:0, style=area, color=red, title="MSI_Negative")
plot(msi>=0?msi:0, style=area, color=green, title="MSI_Positive")
plot(msi, style=line, color=black, title="MSI", linewidth=2)
List of my free indicators:
List of my indicators at Appstore:


This indicator doesn't seem to be functioning anymore...any ideas why?
+5 Odpowiedz
Hi Lazy Bear,

I'm new to this site and I have a few support tickets out without reply.

I am looking for the McClellan OSC to run on NYSE and Nasdaq.

I don't know where to find the OSC or the legends for either market

Could you or anyone who sees this please help ?

Thanks much

+1 Odpowiedz
Do not agree. In the long run is not stable. Ii has to be optimized. Low Freqency Trading indicator. When not optimized the parameters basket (19,39) gives low profits and make the traders send margin calls quite often. But - give a try with walking signal line. In fact it helps in search of the Grail.
Thank you!!!!! I no longer have to go to their site to get their choppy chart!
LazyBear Justiceisfalse
yw :)
+1 Odpowiedz
GREAT Indicator to Post....I've gotten McClellans reports for probably 10 years now...Good Job...Great Value to the community...
LazyBear ChrisMoody
Thank you sir.