Direct Answer
A moving average (MA) on TradingView is a built-in technical indicator that smooths out price fluctuations to help traders identify trend direction and dynamic support or resistance levels. Found under the Technicals tab in the Indicators menu, TradingView’s unified "Moving Average" indicator allows you to switch between multiple calculation types—such as Simple (SMA), Exponential (EMA), Hull (HMA), and Volume-Weighted (VWMA)—directly from a single "Method" dropdown in the Inputs panel. This consolidated configuration makes it simple to customize length, source, and visual style without cluttering your charts or exceeding your plan's indicator limits.
Key Takeaways
- TradingView features a unified "Moving Average" indicator that lets you switch between SMA, EMA, WMA, HMA, and VWMA via the "Method" dropdown, saving valuable indicator slots.
- The choice between SMA and EMA comes down to responsiveness: EMAs react faster to recent price fluctuations, making them ideal for short-term entries, while SMAs are slower and represent major institutional support and resistance levels.
- TradingView's indicator limit on the free plan can be managed by using community scripts that bundle multiple moving averages (like ribbons) into a single indicator slot. Depending on your TradingView plan, you may have different limits on how many indicators can be active on one chart.
- Beginners frequently make the mistake of indicator redundancy—layering multiple moving averages of similar lengths (like a 20 SMA and a 20 EMA) which crowds the chart with noise rather than providing distinct analytical value.
SMA vs. EMA vs. HMA vs. VWMA: Choosing the Right Method on TradingView
When you apply the built-in "Moving Average" indicator on TradingView, the Method dropdown offers several calculation styles. Each type is tailored to a specific trading pace and market environment.
1. Simple Moving Average (SMA)
The SMA calculates the arithmetic mean of an asset's price over a specified number of bars. It treats every data point in the period with equal weight.
- Lag level: High.
- Best for: Long-term trend identification and major institutional key levels (e.g., the 50-day and 200-day SMAs).
2. Exponential Moving Average (EMA)
The EMA applies a multiplier that weights recent price data more heavily. It reacts significantly faster to sudden market reversals than an SMA of the same length.
- Lag level: Medium.
- Best for: Short-term swing trading, pullbacks, and day trading trends (e.g., the 9-period, 20-period, or 21-period EMAs).
3. Hull Moving Average (HMA)
The HMA uses weighted averages to eliminate lag almost entirely while maintaining a smooth line. However, because it is hyper-reactive, it is prone to false breakout signals ("whipsaws") in sideways markets.
- Lag level: Low.
- Best for: Identifying trend turning points and quick entries, rather than long-term support tracking.
4. Volume-Weighted Moving Average (VWMA)
The VWMA weights price points by the volume transacted during each bar. Prices with higher volume drag the moving average closer, helping you identify institutional buying or selling pressure.
- Lag level: Medium.
- Best for: Confirming breakout strength and tracking trends in high-volume assets.
Moving Average Methods Comparison Table
| Method | Pricing Weight | Reaction Speed | Primary Use Case | Recommended Settings |
|---|---|---|---|---|
| SMA | Equal weight across all periods | Slow (Smoothing) | Long-term trend filter, major support/resistance | 50, 100, 200 |
| EMA | Exponentially weights recent prices | Fast (Responsive) | Short-term momentum, pullback entries | 9, 20, 21, 50 |
| HMA | Optimized weight to remove lag | Ultra-Fast | Trend reversals, momentum scaling | 55 (Default) |
| VWMA | Weighted by transacted volume | Variable | Trend validation, institutional support | 20 |
How to Add and Customize Moving Averages on TradingView
TradingView’s design allows you to add and modify moving averages in just a few clicks. Follow this step-by-step tutorial to configure your first moving average.
Step 1: Open the Indicators Menu
With your chart open, click the Indicators button in the top toolbar (or press / on your keyboard).
Step 2: Search and Select "Moving Average"
In the search box, type Moving Average. Under the Technicals section, click on the official, built-in Moving Average. The indicator will load on your chart as a blue line.
Step 3: Access Settings and Change the Method
Hover over the indicator name in the top-left legend of your chart pane (labeled MA...). Click the Settings (gear icon). In the window that appears, make sure you are on the Inputs tab. Locate the Method dropdown menu. Click it to choose your preferred type, such as EMA or SMA.
Step 4: Configure Source and Length
In the same Inputs panel, adjust these two values:
- Length: The number of bars to calculate (e.g., set to
200for the long-term trend line). - Source: The price point used in the formula. While Close is the industry standard, you can change it to High, Low, or hl2 (average of High and Low) for advanced strategies.
Step 5: Format the Style and Thickness
Click the Style tab. Here, you can change the color (e.g., choosing bright red for a 200 SMA or yellow for a 50 EMA) and drag the thickness slider to make the line more visible on high-resolution displays. Click OK to save your setup.
The 3 Critical Settings TradingView Beginners Get Wrong
Even though moving averages are simple tools, improper configurations frequently lead to execution errors and muddy charts.
1. Stacking Redundant Moving Averages
Adding multiple moving averages of the same type and similar lengths (e.g., a 20 SMA, a 21 EMA, and a 25 WMA) creates indicator redundancy. Because they track the same price velocity, they overlap and crowd your screen with duplicate signals.
- The fix: Assign distinct, non-overlapping roles to each MA. For example, keep one fast EMA (e.g., 20) for entry timing, and one slow SMA (e.g., 200) for trend filtering.
2. Timeframe-Length Disconnect
A moving average calculates the price of the bars on your current chart. A "200 EMA" on a 5-minute chart calculates the average of the last 200 five-minute candles (less than 17 hours of trading). It does not represent the daily 200-period institutional moving average.
- The fix: Use the Timeframe dropdown under the Inputs tab to lock the indicator to a specific higher timeframe (e.g., Daily), regardless of what chart timeframe you are viewing.
3. Ignoring Transaction Drag and Spreads in Strategies
Beginners often backtest moving average crossovers manually (e.g., buying when the 9 EMA crosses above the 20 EMA) and assume that every crossing point represents a profitable trade. In real markets, sideways trends cause these lines to cross back and forth repeatedly, creating commissions drag and slippage losses.
- The fix: Combine crossover strategies with trend filters (like only taking long crosses when price is above the 200 SMA) to weed out low-probability setups in flat markets.
How to Combine Moving Averages for Trading Strategies
Traders rarely use a single moving average in isolation. Instead, they combine multiple lengths to identify crossovers and dynamic zones.
1. The Golden Cross and Death Cross (Macro Trend Filters)
This is the most famous moving average setup, used by retail and institutional investors alike to determine market phases.
- The setup: Apply a 50 SMA and a 200 SMA to the Daily chart.
- Golden Cross: When the 50 SMA crosses above the 200 SMA, it signals a transition to a major bull market.
- Death Cross: When the 50 SMA crosses below the 200 SMA, it warns of an impending bear market.
Bullish (Golden Cross): 50 SMA ➔ Crosses ABOVE ➔ 200 SMA
Bearish (Death Cross): 50 SMA ➔ Crosses BELOW ➔ 200 SMA
2. The EMA Pullback Strategy (Short-Term Momentum)
This strategy is popular among day and swing traders looking to enter trends on temporary price corrections.
- The setup: Apply a 9 EMA and a 20 EMA on a 15-minute or 1-hour chart.
- The trigger: In a strong uptrend, wait for the price to drop back into the space between the 9 and 20 EMAs (the "value zone") and look for a bullish rejection candle to enter long.
Next Steps to Enhance Your Charting Practice
To build true market pattern recognition with moving averages:
- Practice Saving Indicator Templates: On TradingView, once you find an EMA/SMA layout you like, right-click the chart, select Indicator Template, and save it to quickly apply it to any new ticker.
- Train Without Risk: A lightweight replay or chart-practice tool can help you test whether you can identify MA pullbacks and crossovers consistently before committing real capital. ChartMini is one browser-based option if you want to practice without broker registration.
- Keep Your Setup Simple: Start with a maximum of two moving averages. Adding more lines will only delay your decision-making.
Frequently Asked Questions (FAQ)
Can I view multiple moving average types in one indicator on TradingView?
Yes. If you are on TradingView's free plan and want to conserve your 2-indicator limit, you can open the Indicators menu and search for user-created community scripts such as "3x EMA" or "EMA Ribbon." These custom scripts combine multiple moving averages into a single indicator slot, letting you keep your other slots open.
What does "Source" mean in TradingView moving average settings?
The "Source" represents the specific price data from each bar that is inputted into the moving average calculation. The default is the Close price of the bar. Other options include Open, High, Low, or averages like hl2 (High + Low / 2) and hlc3 (High + Low + Close / 3).
What is the McGinley Dynamic, and is it built-in on TradingView?
Yes, the McGinley Dynamic is a built-in indicator on TradingView. It was designed to solve the inherent lag problems of traditional SMAs and EMAs by adjusting its smoothing formula based on the speed of the market, keeping the indicator line closer to price during fast-moving trends.
Which moving average is best for day trading?
Most day traders prefer the EMA (specifically the 9, 20, or 50 periods) because its calculation prioritizes recent price bars. This makes it highly responsive to the rapid intraday momentum shifts typical of day trading.
References and Resources
- Investopedia – Guide to Moving Averages and Technical Analysis.
- Financial Industry Regulatory Authority (FINRA) – Technical Indicators and Chart Basics overview.
- TradingView Help Center – How to Add and Manage Indicators on Charts.
- TradingView – Plan Pricing and Indicator Limits (refer to current plan details for per-chart indicator limits).
- Interactive Brokers – Spotlight on Exponential Moving Average (EMA) settings.
- OANDA – Technical Analysis and Moving Average Trading Strategies.
Further Reading
- Technical Analysis of the Financial Markets by John J. Murphy – The industry-standard textbook explaining the math and application of moving averages.