OPEN-SOURCE SCRIPT

McClellan Oscillator [LazyBear ~ modified]

已更新
The McClellan Oscillator is a market breadth indicator developed by Sherman and Marian McClellan.

It is calculated from Net Advances, which is the number of advancing issues minus the number of declining issues. Subtracting the 39-day exponential moving average of Net Advances from the 19-day exponential moving average of Net Advances forms the oscillator.

The McClellan Oscillator can be traded with breadth thrusts, centerline crossovers and divergences.

The original code was written by LazyBear - I just modified it to add together all advancing and declining issues from all stock exchanges (NYSE + NASDAQ + others), to make it available on the hourly time frame and also add alerts.
發布通知
Added the possibility of using only a percentage of each stock exchange's advancing and declining issues. You can do this in settings - for example you can use 100% of the NASDAQ advancing/declining issues, and 50% of NYSE. This is good for experimenting.
breadthBreadth IndicatorsMcClellan OscillatorOscillators

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明