OPEN-SOURCE SCRIPT
Local Watchlist Gauge v6

The Local Watchlist Gauge displays a compact monitoring table for a user-defined list of symbols, showing their current trend status and performance relative to their 52-week high.
The indicator presents a table that simultaneously tracks multiple symbols and displays:
• Trend direction for each symbol, determined by whether the closing price is above or below a user-defined moving average
• Percentage distance from the 52-week high, providing a clear measure of recent performance relative to the yearly peak
Each symbol is displayed with:
Trend indicator showing whether the symbol is in an uptrend (above moving average) or downtrend (below moving average)
Distance from 52-week high expressed as a percentage, with color coding to indicate proximity to recent highs
Green indicates symbols trading within 5% of their 52-week high, orange indicates symbols between 5% and 20% below their 52-week high, and red indicates symbols trading more than 20% below their 52-week high.
The table provides an at-a-glance summary of the trend status and relative performance of all symbols in the specified watchlist, allowing users to quickly identify which instruments are maintaining trend strength near their recent highs and which have experienced significant pullbacks from their yearly peaks.
The indicator presents a table that simultaneously tracks multiple symbols and displays:
• Trend direction for each symbol, determined by whether the closing price is above or below a user-defined moving average
• Percentage distance from the 52-week high, providing a clear measure of recent performance relative to the yearly peak
Each symbol is displayed with:
Trend indicator showing whether the symbol is in an uptrend (above moving average) or downtrend (below moving average)
Distance from 52-week high expressed as a percentage, with color coding to indicate proximity to recent highs
Green indicates symbols trading within 5% of their 52-week high, orange indicates symbols between 5% and 20% below their 52-week high, and red indicates symbols trading more than 20% below their 52-week high.
The table provides an at-a-glance summary of the trend status and relative performance of all symbols in the specified watchlist, allowing users to quickly identify which instruments are maintaining trend strength near their recent highs and which have experienced significant pullbacks from their yearly peaks.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.