OPEN-SOURCE SCRIPT
Moving Average Architect (MAA)

Moving Average Architect (MAA) is a highly customizable moving average framework designed to help traders build, visualize, and analyze moving averages their way.
Create simple moving average layouts, high/low moving average zones, dynamic support and resistance bands, long-term trend structures, or fully custom moving average stacks.
Whether you prefer a single EMA, layered moving average ribbons, or multi-timeframe-style moving average zones, MAA gives you the flexibility to design the chart structure that best fits your trading style.
The example image demonstrates one possible Moving Average Architect setup using:
The short-term moving averages automatically change color based on whether price is above or below them, while the 200 and 400 EMA bands create dynamic support and resistance zones that can help visualize longer-term trend structure and areas of market reaction.
How To Use
Turn on any combination of up to 10 moving averages. For each MA you can configure:
Create Moving Average Lines or Zones. Enable shading between adjacent moving averages. Examples:
Enable Price Relative Coloring. Optionally color moving averages based on price position. This can make trend alignment and market structure easier to identify at a glance.
Key Trading Concepts
Moving averages are among the most widely used technical analysis tools.
Features
Create simple moving average layouts, high/low moving average zones, dynamic support and resistance bands, long-term trend structures, or fully custom moving average stacks.
Whether you prefer a single EMA, layered moving average ribbons, or multi-timeframe-style moving average zones, MAA gives you the flexibility to design the chart structure that best fits your trading style.
The example image demonstrates one possible Moving Average Architect setup using:
- 20 EMA and 50 EMA with Price Relative Coloring enabled
- 200 EMA High / Low zone
- 400 EMA High / Low zone
The short-term moving averages automatically change color based on whether price is above or below them, while the 200 and 400 EMA bands create dynamic support and resistance zones that can help visualize longer-term trend structure and areas of market reaction.
How To Use
Turn on any combination of up to 10 moving averages. For each MA you can configure:
- Moving Average Type (SMA, EMA, SMMA/RMA, WMA, VWMA)
- Price Source (Open, High, Low, Close, etc.)
- Length
- Color
- Thickness
- Line Style (TradingView Style tab)
Create Moving Average Lines or Zones. Enable shading between adjacent moving averages. Examples:
- 200 EMA High and 200 EMA Low with shading enabled between the high/low MA. Creates a dynamic moving average zone often used as support or resistance.
- 20 EMA Close and 50 EMA Close. Creates a short-term trend structure.
Enable Price Relative Coloring. Optionally color moving averages based on price position. This can make trend alignment and market structure easier to identify at a glance.
- Above MA = Bullish Color
- Below MA = Bearish Color
Key Trading Concepts
Moving averages are among the most widely used technical analysis tools.
- Price above rising moving averages often suggests an uptrend.
- Price below falling moving averages often suggests a downtrend.
- Some traders find zones more useful than individual moving averages because markets often respect regions rather than exact prices.
Features
- Up to 10 fully configurable moving averages
- SMA, EMA, SMMA/RMA, WMA, and VWMA support
- Configurable source selection
- Dynamic moving average zones
- Custom zone shading
- Price-relative coloring
- Adjustable line thickness
- Adjustable line style
- Overlay chart support
- TradingView native alerts
- Designed for trend, structure, and confluence analysis
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.