OPEN-SOURCE SCRIPT
5 SMA - Customizable Multi-SMA Indicator

5 SMA — Customizable Multi-SMA Indicator
A clean, all-in-one Simple Moving Average indicator that plots up to 5 SMAs on a single chart, so you don't need to load five separate instances cluttering your indicator list.
Features:
Use cases:
Just open the settings, toggle the SMAs you want, set your lengths, and style them however you like. Defaults can be reused across instruments without reconfiguring each time.
A clean, all-in-one Simple Moving Average indicator that plots up to 5 SMAs on a single chart, so you don't need to load five separate instances cluttering your indicator list.
Features:
- 5 independent SMAs, each with its own show/hide toggle
- Fully customizable length, color, line thickness, and line style (solid/dashed/dotted) per SMA
- Shared source and offset inputs
- Sensible defaults out of the box: 20, 50, 100, 150, 200
Use cases:
- Trend-following setups using classic MA combinations (e.g. 50/200 golden cross, 20/50 short-term trend)
- Multi-timeframe confluence by stacking key MAs
- Dynamic support and resistance reference
Just open the settings, toggle the SMAs you want, set your lengths, and style them however you like. Defaults can be reused across instruments without reconfiguring each time.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。