PROTECTED SOURCE SCRIPT
Updated Historical % Change Tracker

This indicator tracks percentage performance relative to key time-based anchors, allowing quick comparison of short-, medium-, and long-term price behavior in a single pane.
🔍 What it shows
WTD % Change – performance from the start of the current week
MTD % Change – performance from the start of the current month
QTD % Change – performance from the start of the current quarter
YTD % Change – performance from the first trading day of the year
All values are calculated using the opening price of each period and update in real time.
🧠 Key features
Automatic period detection (no manual resets)
Robust YTD handling (works even when Jan 1 is not a trading day)
Quarter-based background shading for visual regime context
Zero reference line for quick positive/negative comparison
Works across all symbols and timeframes
🎯 Use cases
Monitor relative strength across time horizons
Compare trend consistency (short-term vs long-term)
Identify regime shifts at weekly, monthly, or quarterly boundaries
Contextualize intraday moves within higher-timeframe performance
⚙️ Notes
This script is informational only and does not provide trade signals.
It is designed to complement price action, trend, or statistical analysis workflows.
🔍 What it shows
WTD % Change – performance from the start of the current week
MTD % Change – performance from the start of the current month
QTD % Change – performance from the start of the current quarter
YTD % Change – performance from the first trading day of the year
All values are calculated using the opening price of each period and update in real time.
🧠 Key features
Automatic period detection (no manual resets)
Robust YTD handling (works even when Jan 1 is not a trading day)
Quarter-based background shading for visual regime context
Zero reference line for quick positive/negative comparison
Works across all symbols and timeframes
🎯 Use cases
Monitor relative strength across time horizons
Compare trend consistency (short-term vs long-term)
Identify regime shifts at weekly, monthly, or quarterly boundaries
Contextualize intraday moves within higher-timeframe performance
⚙️ Notes
This script is informational only and does not provide trade signals.
It is designed to complement price action, trend, or statistical analysis workflows.
Release Notes
updateProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.