HermanBrummer

MarketLeaders

Someone asked me to script this for them and I was surprised at how well it worked

  • The idea is to check if the top 22 largest cap companies are above or below their MA
  • By default, the system uses a 20 MA, but you can set it how you want
  • It checks if the companies including, QQQ (NASDAQ) and SPY are above their MA's and updates the histogram
  • I've drawn in simple green price break lines to highlight areas of interest

I like this system because it's SO SIMPLE and it uses more data than just look at one stock, it reads the underlying market for the heavy movers.
If the big stocks are doing well, then the market should be doing well too, unless small caps are heavily stalling.

I've also created a strategy based around this and will be posting it soon
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?