minorplanet2

NYSE MCCLELLAN OSCILLATOR

The McClellan Oscillator is a breadth indicator derived from Net Advances, the number of advancing issues less the number of declining issues. The McClellan Oscillator is similar to a MACD for the Advance/Decline Line for the NYSE. Signals can be generated with breadth thrusts, centerline crossovers, overall levels and divergences.
Remove from Favorite Scripts Add to Favorite Scripts
study("NYSE MCCLELLAN OSCILLATOR")
ADV=security("ADVN",period,close)
DEC=security("DECN", period,close)
RANA=1000*((ADV-DEC)/(ADV+DEC))
MA1=ema(RANA,19), MA2=ema(RANA,39)
MCC=MA1-MA2
plot(MCC, color=black, title="MCL Osc", linewidth=3)
hline(0,color=black, linestyle=dotted, title="0 line")
bergaler PRO
a year ago
thanks!
Reply
Alex_Savin
a year ago
Thank you. Is it possible to make it ratio adjusted?
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