Market breadth Percentage of stocks above MA of various indexes

Percentage of stock above moving average is a common market breadth indicator. This script can show multiple lines of percentage of stock above different moving average (5,20,50,100,150,200) of different US indexes.
發布通知: 1. Add Russell 1000
2. Add automatic switching function which will automicatically change the indicator's lines according to the relevant index symbols of the main chart. Users can turn off this function for other symbols or their own need.
發布通知: add explanation within script and minor refinement of the script.
發布通知: improvement/clarification of wordings on the setting interface.
發布通知: Update ticker name for NQ100 and convert to pine version 4 to comply with the Tradingview.

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。