OPEN-SOURCE SCRIPT
50 Week MA

This script plots the true 50-week simple moving average (SMA) derived directly from the weekly timeframe, ensuring accuracy across all chart intervals.
It allows you to visualise the long-term trend regardless of whether you’re viewing a 1-day, 4-hour, or 1-minute chart.
Commonly used by swing traders and long-term investors, the 50-week MA helps identify macro trend direction, dynamic support and resistance zones, and major cycle shifts in price behaviour.
It allows you to visualise the long-term trend regardless of whether you’re viewing a 1-day, 4-hour, or 1-minute chart.
Commonly used by swing traders and long-term investors, the 50-week MA helps identify macro trend direction, dynamic support and resistance zones, and major cycle shifts in price behaviour.
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.