OPEN-SOURCE SCRIPT

McClellan Oscillator for nifty 50

Updated
This is a indicator which indicates breath of the market.
If found relevant do let me know!!
Only handpicked relevant 20 stocks (20 +ve indicator+ 20 -ve indicator) from different sector .
As there is the limit of 40 script allowed only.
Further modifications might be there if the limit is increased to 100 (50 +50 indicator) .
Release Notes
UPDATION
Primary script was laggy and cumbersome as it has to calculate more than 40script ,the newer version is based on divergence based on nifty50equal and nifty50 freefloat weighted.
Breadth IndicatorsbreathMcClellan Oscillator

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer