Triangular Moving Average (TMA)

Indicators - Trend
intermediate
14 min read
Updated Jan 13, 2025

What Is Triangular Moving Average (TMA)?

The Triangular Moving Average (TMA) is a double-smoothed technical indicator calculated by taking a Simple Moving Average (SMA) of another Simple Moving Average, creating a weighted average that emphasizes the middle portion of the data series and produces an extremely smooth trend-following line with significant lag.

The Triangular Moving Average represents one of the smoothest trend-following indicators available to technical traders, offering a unique approach to filtering market noise while maintaining trend direction. Developed as an evolution of traditional moving averages, the TMA addresses the fundamental challenge of balancing smoothness with responsiveness in trend identification. At its core, the TMA solves a critical problem in technical analysis: how to create a moving average that heavily weights recent data while maintaining extreme smoothness. Unlike Simple Moving Averages that give equal weight to all periods or Exponential Moving Averages that heavily weight recent data, the TMA creates a triangular weighting scheme where middle data points carry the most influence. This triangular weighting occurs naturally from the double-smoothing process. When you calculate an SMA of an SMA, the resulting distribution creates a triangular shape where the center of the data series receives the highest weight. For a 10-period TMA, the 5th data point receives maximum weight, with weights decreasing symmetrically toward both ends of the series. The result is an indicator that filters out short-term volatility exceptionally well, providing traders with a clear view of the underlying trend without the distraction of minor price fluctuations. This smoothness comes at the cost of significant lag - the TMA responds much more slowly to price changes than traditional moving averages, making it unsuitable for timing precise entries but excellent for identifying the primary market direction. Professional traders and analysts have adopted the TMA for various applications, from long-term trend identification to sophisticated band-based trading systems. Its ability to reduce noise while maintaining trend fidelity has made it a staple in both manual chart analysis and algorithmic trading strategies.

Key Takeaways

  • TMA is calculated as SMA(SMA(price)) - a double-smoothed moving average
  • Weights data points in a triangular pattern, with maximum weight on middle values
  • Produces extremely smooth trend lines but with significant lag
  • Best used for identifying primary trends, not for precise entry/exit timing
  • Popular for TMA bands and centered TMA trading strategies
  • Reduces noise more effectively than single SMAs or EMAs

How Triangular Moving Average (TMA) Works

The TMA calculation involves a two-step smoothing process that creates its unique triangular weighting structure. Understanding this methodology is crucial for appreciating both the indicator's strengths and limitations. The calculation begins with the first smoothing step: computing a Simple Moving Average of the price data over a specified period. This creates an initial smoothed line that gives equal weight to all data points within the period. The second step takes this already-smoothed data and calculates another Simple Moving Average of the same length. Mathematically, for a period of n, the TMA is calculated as: TMA = SMA(SMA(price, n), n) This double-smoothing creates the triangular weighting because each data point influences the final result through two averaging operations. A price point near the center of the series has maximum influence because it appears in more of the intermediate calculations. The weighting distribution follows a triangular pattern where the center data points receive approximately twice the weight of points at the edges. For a 10-period TMA, the weighting might look like: 1-2-3-4-5-4-3-2-1, with the middle value (5) receiving maximum weight. This weighting scheme explains the TMA's behavior: it responds slowly to new information but provides exceptional smoothness. When prices change direction, the TMA gradually adjusts as old data is replaced by new data in the calculation window, creating the significant lag that characterizes the indicator. The smoothness makes TMA particularly effective for filtering market noise and identifying sustained trends, but traders must account for the delayed response when using it for timing decisions.

Step-by-Step Guide to Using TMA

Implementing the Triangular Moving Average effectively requires understanding its lagged nature and appropriate application contexts: 1. Select Appropriate Period: Choose longer periods (20-50) for trend identification, shorter periods (10-20) for more responsive signals. 2. Identify Trend Direction: Use TMA slope to determine market direction - rising TMA indicates uptrend, falling TMA indicates downtrend. 3. Wait for Confirmation: Due to lag, wait for TMA to clearly establish direction before acting on signals. 4. Combine with Price Action: Use TMA as trend filter, enter trades only in direction of TMA slope. 5. Set Stop Losses: Place stops below recent swing lows in uptrends, above swing highs in downtrends. 6. Monitor for Reversals: Watch for TMA slope changes as early warning of trend shifts. 7. Adjust for Timeframe: Use longer periods on higher timeframes, shorter periods on lower timeframes. 8. Backtest Strategies: Test TMA-based strategies extensively before live implementation due to lag characteristics.

Key Elements of TMA Analysis

Several critical components determine the effectiveness of TMA in technical analysis: Smoothing Factor: The double-averaging process that creates the triangular weighting and smooths price action. Lag Characteristic: The delayed response to price changes that provides smoothness but reduces timing accuracy. Trend Identification: The primary use for identifying and following major market trends. Support/Resistance Levels: The TMA line often acts as dynamic support/resistance in trending markets. Slope Analysis: The angle of the TMA line indicates trend strength and momentum. Band Construction: TMA forms the basis for various band indicators and channel strategies. Multiple Timeframe Analysis: Combining short and long-term TMAs for trend confirmation. Signal Filtering: Used to filter out noise and confirm the validity of other technical signals.

Important Considerations for TMA Traders

Understanding the TMA's characteristics is crucial for effective application: Lag Management: The significant lag means TMA signals often occur after trend changes have begun, requiring patience and confirmation. Period Selection: Longer periods increase smoothness but also increase lag; shorter periods reduce lag but may increase noise. Market Conditions: TMA performs best in trending markets; in sideways/choppy markets, it may produce false signals. Timeframe Compatibility: Use appropriate periods for your trading timeframe - daily charts may use 20-50 period TMAs. False Signals: During market reversals, TMA may continue in the old trend direction while price has already reversed. Over-Reliance Risk: TMA should be used as part of a comprehensive trading system, not as a standalone indicator. Parameter Optimization: Backtest different periods to find optimal settings for specific markets or instruments. Risk Management: Always use stop losses, as the lag can result in larger adverse moves before signals trigger.

Advantages of Triangular Moving Average

The TMA offers several compelling benefits for technical traders: Superior Smoothing: Filters noise more effectively than single SMAs or EMAs while maintaining trend direction. Clear Trend Identification: Provides unambiguous signals about primary market direction. Reduced Whipsaws: Fewer false signals in ranging markets compared to more responsive indicators. Versatile Applications: Works well for trend following, band construction, and signal filtering. Mathematical Rigor: Based on sound statistical principles with predictable behavior. Multi-Timeframe Compatibility: Effective across different timeframes with appropriate period adjustments. Institutional Adoption: Used by professional traders and algorithmic systems for its reliability.

Disadvantages of Triangular Moving Average

Despite its benefits, TMA has notable limitations that traders must consider: Significant Lag: Delayed response to price changes can result in late entries and reduced profit potential. Poor Timing: Not suitable for precise entry/exit timing due to the smoothing effect. Whipsaw Risk: Can remain in losing positions during trend transitions. Parameter Sensitivity: Performance varies significantly with period selection. Limited in Sideways Markets: May produce conflicting signals when price moves horizontally. Over-Smoothing: Can obscure important short-term price movements and patterns. Learning Curve: Requires understanding of lag characteristics for effective use.

Real-World Example: TMA Trend Following on AAPL

A trader uses a 21-period Triangular Moving Average on the daily chart of Apple Inc. (AAPL) to identify the primary trend. The stock has been in an uptrend since breaking above $150 in January, with the TMA providing trend confirmation.

1Calculate 21-day SMA of closing prices for first smoothing
2Take 21-day SMA of the first SMA to create TMA
3Current AAPL price: $185, TMA value: $178.50
4TMA slope: Rising (previous TMA value was $177.20)
5Price position: Trading above TMA (bullish)
6Trend strength: TMA rising at 0.65 points per day
7Support level: TMA at $178.50 acts as dynamic support
8Entry signal: Buy when price pulls back to TMA support
9Stop loss: Place below recent swing low at $172.30
10Target: Next resistance level at $195.00
11Risk-reward ratio: ($195 - $178.50) ÷ ($178.50 - $172.30) = 2.95:1
Result: TMA provides trend confirmation and dynamic support at $178.50, enabling entry at pullback with 2.95:1 risk-reward ratio targeting $195 resistance, demonstrating smooth trend-following capabilities.

TMA vs. Other Moving Averages

Understanding how TMA compares to other popular moving averages helps traders select the right tool for their strategy.

CharacteristicSimple MAExponential MATriangular MA
Calculation MethodEqual weightingExponential decayDouble smoothing
Lag AmountModerateLowHigh
Noise FilteringLowModerateHigh
ResponsivenessSlowFastVery Slow
Best ForGeneral trendsRecent price actionLong-term trends
Signal FrequencyModerateHighLow
Primary UseTrend directionEntry timingTrend filtering
ComplexitySimpleModerateModerate

FAQs

TMA creates a triangular weighting pattern where middle data points receive maximum weight (approximately twice that of end points), unlike SMA (equal weights) or EMA (exponential decay favoring recent data). This creates superior smoothing but increases lag.

Common periods range from 10-50, depending on timeframe and market. Use 20-30 for daily charts, 50+ for weekly charts, and shorter periods (10-20) for more responsive signals. Longer periods increase smoothness but also lag.

The double-smoothing process requires new price data to work through two calculation layers before affecting the final value. A price change must replace old data in both the inner and outer averages, creating the characteristic lag.

TMA is generally unsuitable for scalping due to its significant lag. It works better for swing trading and position trading where trend identification is more important than precise timing. Day traders typically prefer faster indicators.

TMA bands plot standard deviation or ATR multiples around the TMA line. Centered TMA bands (using future data) repaint historical values and are unreliable for live trading. Standard TMA bands do not repaint but may have different calculation methods.

Avoid TMA in fast-moving markets requiring quick decisions, during news events, or when precise entry timing is critical. It's also less effective in choppy, sideways markets where it may produce conflicting signals.

The Bottom Line

The Triangular Moving Average offers technical traders a powerful tool for identifying and following primary market trends through its unique double-smoothing methodology that creates exceptional noise reduction. While its significant lag makes it unsuitable for precise timing or fast-moving markets, the TMA excels at filtering market noise to reveal the underlying trend direction. Traders seeking smooth trend confirmation rather than responsive entry signals will find TMA particularly valuable, especially when combined with other technical indicators and proper risk management. The indicator's mathematical rigor and predictable behavior have made it a staple in both discretionary and algorithmic trading systems focused on capturing major market moves.

At a Glance

Difficultyintermediate
Reading Time14 min

Key Takeaways

  • TMA is calculated as SMA(SMA(price)) - a double-smoothed moving average
  • Weights data points in a triangular pattern, with maximum weight on middle values
  • Produces extremely smooth trend lines but with significant lag
  • Best used for identifying primary trends, not for precise entry/exit timing