OPEN-SOURCE SCRIPT

McClellan Oscillator Jack Corsellis [LazyBear Modified]

已更新
Developed by Sherman and Marian McClellan, the McClellan Oscillator is a breadth indicator derived from Net Advances, the number of advancing issues less 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.

As the formula reveals, the McClellan Oscillator is a momentum indicator that works similar to MACD .

McClellan Oscillator signals can be generated with breadth thrusts, centerline crossovers, overall levels and divergences.

The original code was written by LazyBear ( code here: tradingview.com/script/8YstxIAf-McClellan-Oscillator-LazyBear/)

We have modified this code:
1. Added the ability to display and configure the overbought and undersold lines which are key to properly using this indicator. These are set to default +40 and -75 respectively.
2. This version uses USI:ADV(advances- issues) and USI:DECL (declines - issues) as the default.
版本注释
Revision:

Updated default symbols:

USI: ADV -> ADVN
USI:DECL -> DECN
版本注释
Updated chart screenshot
mcclellanoscillatorOscillatorsoverboughtoversold

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明