★ Premium Guide
← All GuidesGet Started →
HomeBlogPremium GuidesTriangular Moving Average
📐 Complete Triangular Moving Average Guide 2026

Triangular Moving Average

The Triangular Moving Average double-smooths price for the cleanest trend line. Learn how the TMA works, why centred versions repaint, and how to trade it.

✍️ Quantum Algo📅 July 2026⏱️ 12 min read📈 3,184 words
Quick answer: The Triangular Moving Average (TMA) is a moving average that smooths price twice by averaging a simple moving average a second time. This produces a triangle-shaped weighting that emphasises the middle of the lookback window, giving the smoothest of the classic averages at the cost of extra lag.
◆ Indicator Lab Track 0 of 15 complete
🔑 Triangular Moving Average in one sentenceThe Triangular Moving Average (TMA) is a moving average that smooths price twice — it averages a simple moving average a second time — producing a triangle-shaped weighting that emphasises the middle of the lookback window and yields the smoothest, calmest trend line of the classic averages; the cost is lag, since double smoothing responds slowly to turns, and many popular versions solve this cosmetically by centring the line (shifting it back by half its length), which looks superb on historical charts but repaints at the right-hand edge and must never be used naively for live signals.

What is the Triangular Moving Average?

The Triangular Moving Average (TMA) is a moving average built for one purpose above all others: smoothness. Where the simple moving average (SMA) smooths price once, the TMA smooths it twice — it calculates an SMA and then averages that result a second time. The effect is a remarkably calm, flowing line that strips out noise more thoroughly than any of the other classic averages, revealing the underlying trend with unusual clarity.

Its name comes from the shape of its weighting. When you smooth an average a second time, the mathematical effect is that the bars in the middle of the lookback window end up weighted most heavily, with the weight tapering down toward both the oldest and the newest bars — a triangle. This is a fundamentally different philosophy from the averages most traders reach for.

An EMA or Hull MA weights the newest data most heavily in a race to reduce lag; the TMA deliberately does the opposite, treating the centre of the window as the most representative point. That choice tells you exactly what the TMA is for: it is not a fast signal generator, it is a noise filter and a trend-clarifier.

Traders reach for it when they want to see the shape of a trend without the distraction of every wiggle, and they accept that this clarity comes with real, unavoidable lag — a trade-off that sits at the heart of everything else about the indicator.

How double smoothing builds the triangular weighting

The TMA’s calculation is simple to describe and worth understanding, because it explains every one of the indicator’s behaviours. The process has two steps. First, calculate an ordinary simple moving average of price over a chosen period. Second, calculate a simple moving average of that SMA over (roughly) the same period. That is the entire TMA — an average of an average.

Double smoothing: how the triangle gets its name SMA WEIGHTS every bar counts equally TMA WEIGHTS (SMA of SMA) the middle of the window dominates triangle weighting = maximum smoothness, maximum lag — a trade, not a flaw
A TMA is an SMA of an SMA. Stack the two averaging passes and the effective weights form a triangle — heaviest in the middle of the window, tapering to nothing at the edges. Middle-weighted = silky smooth = late.
The consequence of that second pass is the triangular weighting. To see why, consider that each value of the first SMA already blends several bars. When you average several of those overlapping SMAs together, bars near the centre of the combined window appear in many of the individual SMAs, while bars at the very start and very end appear in only a few.

Bars in the middle therefore contribute far more to the final value than bars at either edge, and if you plot the effective weight of each bar you get a symmetric triangle peaking in the middle. This is precisely why the TMA is so smooth: no single recent bar can jerk the line around, because recent bars are among the least weighted.

It also explains the lag directly — if the most influential data point is effectively the middle of the window rather than the latest bar, the line naturally reflects where price was a while ago rather than where it is now. Smoothness and lag are not two separate properties here; they are the same property viewed from two sides, and no amount of parameter tuning can separate them.

⚡ Quick check
Why is the TMA smoother than an SMA of the same length?
Correct. Each new bar enters the TMA at the triangle’s thin edge with minimal weight, gaining influence only as it moves toward the centre. Noise gets averaged twice before it can wiggle the line.

Smoothness, lag and the centring trap

The TMA’s defining trade-off — and the single most important thing to understand before using it — is that its smoothness and its lag are inseparable, and that the popular fix for the lag introduces a serious problem of its own. Use the interactive tool below to see all three states.

Interactive — double smoothing and the centring trade-off
The TMA averages an average. That makes it the smoothest of the classic MAs — and the laggiest, unless it is centred.
raw price (noisy)
The double smoothing delivers exactly what it promises: a far calmer line than the SMA through the same noisy price. The lag cost is the direct consequence: because the middle of the window carries the most weight, the TMA responds to turns later than the SMA and much later than an EMA or Hull MA.

Many popular TMA implementations then apply centring — shifting the plotted line backward by half its length so it sits centred on the data it describes. Visually this is stunning: the line hugs the middle of price beautifully and the lag appears to vanish. But it is an illusion with a sharp edge.

A centred average can only be calculated correctly for bars where future data already exists; at the right-hand edge of a live chart, that future data has not happened yet, so those most recent values are provisional and repaint as new bars arrive. A centred TMA that looks like it called every turn perfectly on history will not do so live, because on history it could see forward.

This is the classic centring trap, and it is why the TMA demands more care than almost any other moving average.

Smoothness and lag are the same propertyThe TMA is the smoothest classic average precisely because it weights the middle of its window most and the newest bars least. Centring hides that lag visually — but only by repainting the right-hand edge.
⚡ Quick check
A "TMA channel" strategy shows flawless reversals at every band touch in backtest screenshots. First question to ask?
Correct. The centred TMA is the engine of half the "holy grail" channel strategies sold online. The screenshots are real — and unreproducible live, because the line you’d have traded against no longer exists.

Does the TMA repaint? The honest answer

‘Does the TMA repaint?’ is the most important question a trader can ask about this indicator, and the answer depends entirely on which version you are using — a distinction many traders miss until it costs them money.

The centred-TMA repaint trap CENTRED (repaints) this half keeps redrawing perfect turns — only in hindsight TRAILING (honest) lags honestly — what it shows is final
Plotted centred (shifted back half a window), the TMA looks prophetic — it turns exactly at every top and bottom. It can’t do that live: the last half-window keeps re-drawing as new bars arrive. Trailing TMA is honest; centred TMA is hindsight with good marketing.
A standard, non-centred TMA does not repaint. It is simply an average of an average calculated up to the current bar. Like every moving average, its value on the currently forming bar updates until that bar closes, but once a bar has closed its TMA value is fixed forever. This version is completely safe to build signals on — it is just a very smooth, very laggy average.

A centred TMA, by contrast, absolutely does repaint, and by design. Because it shifts the line back by half its length, the values near the right-hand edge are calculated from a window that extends into the future. Until enough new bars arrive to fill that window, those values are estimates that will be revised.

The practical consequence is severe: a backtest of a centred TMA is meaningless, because on historical data the indicator effectively had access to information that would not have existed in real time. Its apparent ability to call tops and bottoms is hindsight, not skill. The rule to internalise is simple. Use a centred TMA only as a historical analysis and structure-visualisation tool, understanding that its recent bars will change.

If you want signals, alerts, or a backtest you can trust, use the non-centred version and accept its lag honestly — or reach for a faster average designed for the job.

TMA bands and how traders use them

The most popular TradingView implementations do not plot the TMA alone — they wrap it in TMA bands, which is where much of the indicator’s practical appeal lives. The construction is straightforward: take the TMA as a central basis, then plot an upper and lower band a set distance away, typically based on the ATR or a percentage of price. The result is a smooth, flowing channel that contains most price action.

Traders use these bands much as they use Bollinger Bands or Keltner Channels, with one important difference: because the TMA basis is so smooth, the channel is unusually clean and its edges make visually compelling support and resistance. In a ranging market, price oscillating between the outer TMA bands invites mean-reversion trades — fade the outer band back toward the TMA basis.

In a trending market, price tends to ride the upper or lower band, so a band touch signals strength rather than exhaustion, exactly as with any envelope. The critical caveat is the one from the previous section: if the underlying TMA is centred, the bands repaint too.

A TMA band system that appears to have caught every reversal on historical data is very often a centred version showing you a future it already knew. Always check whether the implementation you are using centres the basis before you trust a single band signal — the difference between a genuinely useful channel and a beautiful mirage comes down to that one setting.

🎯 Train your eye

Which Line Is the TMA?

Three averages of the same length are plotted through choppy price. Tap the Triangular MA.

line A line B line C Line A — the wiggly oneLine C — the silkiest oneLine B — in between
Tap a zone on the chart.

How to trade the Triangular Moving Average

The TMA is best used for what it is genuinely good at — clarifying the trend — rather than pressed into a role it is unsuited for. Here is a sound process for a long; invert it for a short.

  1. Check the version first. Confirm whether your TMA is centred. If it is, use it only for historical context, never for live signals. For trading, use a non-centred TMA.
  2. Use it as a trend backdrop. Let the smooth TMA define the dominant direction: rising and price above it means look for longs only. Its clarity is the whole point.
  3. Time entries with a faster tool. Because the TMA lags, do not use it as your trigger. Enter on a structure shift, a level, or a faster average while the TMA confirms the direction.
  4. Use the bands for context. In a range, fade the outer band back toward the basis; in a trend, treat a band ride as strength and buy pullbacks toward the basis.
  5. Manage risk normally. Place stops beyond structure rather than at the TMA itself, and size every trade with your risk rules.
The single most valuable habit is to respect the division of labour. The TMA answers ‘what is the trend, really, underneath all this noise?’ with more clarity than almost any other tool. It is a poor answer to ‘when exactly do I enter?’ — by construction, it will always be late. Traders who pair a slow, honest TMA for direction with a fast, precise trigger for timing get the best of it.

Traders who try to make the TMA do both end up either chasing late entries or, worse, trusting a centred version whose historical brilliance evaporates the moment they trade it live.

TMA versus the SMA, EMA and Hull MA

Placing the TMA next to the other major moving averages clarifies exactly where it belongs in a toolkit. All four smooth price, but each sits at a different point on the smoothness-versus-speed spectrum.

AverageWeightsCharacterBest for
TMAMiddle of the window mostSmoothest, slowestClarifying the underlying trend
SMAAll bars equallySmooth, slowSimple, widely-watched levels
EMARecent bars moreModerate speedGeneral-purpose trend following
Hull MARecent bars heavily, de-laggedFastest, still smoothEarly turns and entry timing
The spectrum is clear: the TMA and the Hull MA sit at opposite ends, and comparing them is genuinely instructive. Both are ‘engineered’ averages that go beyond the SMA, but they optimise for opposite goals. The Hull MA does everything it can to eliminate lag, weighting the newest data aggressively so it turns first.

The TMA does everything it can to eliminate noise, weighting the middle of the window so no recent bar can disturb it. Neither is better in the abstract — they answer different questions. If you want to know the moment a trend changes, use a Hull MA. If you want to know the true shape of a trend without noise, use a TMA.

Some traders run both: a TMA to establish a calm, unambiguous directional bias, and a Hull MA to time entries within it. That pairing exploits each tool’s strength and neatly sidesteps each one’s weakness, which is a far better use of the TMA than expecting it to generate signals it was never designed to give.

Settings, timeframes and confluence

The TMA’s inputs are few. The period is the main one, and it behaves as you would expect — longer means smoother and slower, shorter means more responsive but noisier — though remember that a ‘short’ TMA is still slower than an equivalent SMA because of the double pass. If you are using TMA bands, the band width (usually an ATR multiple or a percentage) controls how often price reaches the edges.

And the critical setting, as covered above, is the centring toggle: check it before anything else, because it determines whether the tool is a live signal generator or a historical study aid.

On timeframes, the TMA’s heavy smoothing makes it a natural fit for higher timeframes and swing or position trading, where its lag matters less and its clarity matters more. Using a slow, laggy average for scalping is fighting the tool’s nature. For confluence, the TMA pairs best with things that supply what it lacks — speed and reason.

A Hull MA or a structure signal provides the timing; support and resistance provides the levels. The deepest edge, as always, comes from Smart Money Concepts: the TMA tells you the underlying trend is up, while a break of structure or a reversal off a demand zone after a liquidity sweep tells you exactly where and why to enter.

In that arrangement the TMA is the calm, reliable backdrop against which precise, structural decisions get made — the role it plays better than any other average.

Common Triangular Moving Average mistakes to avoid

As traded live

This isn't theory. These concepts are part of the exact playbook behind our public, timestamped trade calls — posted before the outcome, wins and losses alike, on TradingView and our live ledger.

Live ledger: 75% win rate Trades: 73 (55W / 18L) Net: +92R
Verify the full track record →

📝 Test Your Knowledge

Question 1 of 3

Triangular Moving Average with Quantum Algo

The TMA gives you the cleanest possible read of the underlying trend, but it is slow and says nothing about why price turns. Quantum Algo’s Smart Money Concepts tools supply the structure and liquidity behind those turns, so you can use the TMA as a calm directional backdrop and take entries at the levels where institutional order flow actually shifts.

Trade these setups with confidence

Join 2,400+ traders using the Quantum Algo indicator suite on TradingView.

Explore the Indicators →

Related guides

Let the TMA set the tone, structure set the trade

The TMA’s slow slope is a beautiful regime filter — and a poor entry timer. Zeno supplies the timing layer: zones, sweeps and structure shifts that say WHERE to act while the triangle says WHETHER the environment favours it.

Prefer it fully hands-free? Meet QuantumBot

Smooth signals, decisive fills — the combination that works. QuantumBot executes the same signals directly on your own Bybit, Bitget or Kraken account via API — entries, TP1/TP2, break-even moves and stop management, 24/7, with your risk settings in control.

❓ Frequently Asked Questions

What is the Triangular Moving Average?
The Triangular Moving Average (TMA) is a moving average that smooths price twice by averaging a simple moving average a second time. This produces a triangle-shaped weighting that emphasises the middle of the lookback window, giving the smoothest of the classic averages at the cost of extra lag.
How is the TMA calculated?
First calculate a simple moving average of price, then calculate a simple moving average of that SMA. Because bars near the centre of the combined window appear in more of the overlapping averages, they carry the most weight, producing the characteristic triangular weighting.
Does the Triangular Moving Average repaint?
It depends on the version. A standard, non-centred TMA does not repaint once a bar closes. A centred TMA, which shifts the line back by half its length, does repaint at the right-hand edge because its recent values are calculated from a window extending into the future.
Why do centred TMAs look so accurate on historical charts?
Because on history they can see forward. A centred average shifts back by half its length, so its historical values were calculated using data that came after them. That is hindsight, not predictive skill, which is why a centred TMA backtest is meaningless.
What are TMA bands?
TMA bands use the Triangular Moving Average as a central basis and plot an upper and lower band a set distance away, typically based on ATR or a percentage of price. Because the TMA basis is so smooth, the resulting channel is unusually clean, though it repaints if the basis is centred.
What is the difference between the TMA and the Hull Moving Average?
They optimise for opposite goals. The Hull MA aggressively removes lag by weighting the newest data so it turns first, while the TMA removes noise by weighting the middle of its window so no recent bar disturbs it. The Hull is for timing turns, the TMA for clarifying trend.
What are the best TMA settings?
The period is the main input, with longer meaning smoother and slower. Band width, usually an ATR multiple, controls how often price reaches the edges. The most important setting is the centring toggle, which determines whether the tool is safe for live signals or history only.
How do you trade the Triangular Moving Average?
Check whether your version is centred first. Use a non-centred TMA as a smooth trend backdrop to define direction, then time entries with a faster tool or a structure signal, since the TMA lags. Use the bands to fade extremes in ranges or buy pullbacks in trends.
Is the TMA good for day trading or scalping?
Not really. Double smoothing makes the TMA slow by construction, so using it as a signal generator on fast charts fights its nature. It suits higher timeframes and swing or position trading, where its lag matters less and its clarity matters more.
Why is it called a triangular moving average?
Because of its weighting shape. Smoothing an average a second time makes bars in the middle of the lookback window contribute most, with weight tapering toward both the oldest and the newest bars. Plotting those weights produces a symmetric triangle.