OPEN-SOURCE SCRIPT
SMA_20/50/100/200

SMA 20/50/100/200 is a simple overlay indicator that displays four commonly used simple moving averages on the main chart.
This setup helps traders monitor short-term and long-term trend conditions at the same time. The 20 and 50 SMAs are often used for near-term trend and momentum assessment, while the 100 and 200 SMAs provide a broader view of overall market direction and key dynamic support or resistance areas.
By observing price location relative to these moving averages, as well as the order and spacing between them, users can better understand trend strength, trend transitions, and possible pullback zones.
This indicator is intentionally kept simple and lightweight. It does not include alerts, strategy logic, or automatic trade signals. Its purpose is to provide a clear visual framework that can be combined with other analysis methods.
This setup helps traders monitor short-term and long-term trend conditions at the same time. The 20 and 50 SMAs are often used for near-term trend and momentum assessment, while the 100 and 200 SMAs provide a broader view of overall market direction and key dynamic support or resistance areas.
By observing price location relative to these moving averages, as well as the order and spacing between them, users can better understand trend strength, trend transitions, and possible pullback zones.
This indicator is intentionally kept simple and lightweight. It does not include alerts, strategy logic, or automatic trade signals. Its purpose is to provide a clear visual framework that can be combined with other analysis methods.
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.