OPEN-SOURCE SCRIPT

Average of Average SP500 breadth

Average of % of stocks in S&P500 above 20/50/100/200 MA summed up and divided by 4. So average of average of SP500 breadth :) with directional color. Adjustable MA and Color smoothing.
Breadth Indicators

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