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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.