OPEN-SOURCE SCRIPT

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
Trend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明