TMA
Indicator
The Triangular Moving Average is a simple moving average of a simple moving average. It weights the middle of its window most, so it is very smooth and slow.
A classic double-smoothed average. Reviewed by the ChartLabs team, updated Nov 2026.
Price is under a falling TMA 15. Short-term trend points down.
TMA 15 67,618.2 · Close 65,677.1
Price is under a falling TMA 15. Short-term trend points down.
TMA 15 67,618.2 · Close 65,677.1
Illustration on simulated data.
Triangular Moving Average (TMA)What is the TMA indicator?
TMA draws one grey line on the price chart. With the default length of 15 it takes an 8-bar SMA of the close, then an 8-bar SMA of that.
Averaging twice gives the bars in the middle of the window the most weight and the oldest and newest bars the least, in the shape of a triangle. The result ignores most small wiggles.
The price of that smoothness is lag. TMA turns well after price does, so traders mostly use it to read the broad direction rather than to time entries.
Odd and even lengths
An odd length n uses two SMAs of (n + 1) / 2 bars: 8 and 8 for 15. An even length uses n / 2 and n / 2 + 1.
From the first bar
While fewer bars exist, each SMA averages the bars so far, so the line starts on the first bar.
TMA signalsFour patterns to know.
Price above a rising TMA
Closes stay above a line that climbs steadily.
Price under a falling TMA
Closes stay under a line that falls steadily.
Close crosses below
After a long run above, price closes under the line and stays there.
Flat TMA
The line goes sideways and price crosses it in both directions.
TMA formulaHow it is calculated.
Split the length
For 15, both averages are (15 + 1) / 2 = 8 bars.
First average
Take an 8-bar SMA of the close.
Second average
Take an 8-bar SMA of the first. The middle bars of the 15 end up with the most weight.
TMA settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 15 | 1 to 2,000 | The total span of the two averages. Longer is smoother and slower. |
| Source | Close | Any price | Which values feed the calculation. |
| Line | Grey #787B86, 1 px | Any colour and width | Colour and width of the line. |
- Setting
- Length
- Default
- 15
- Range
- 1 to 2,000
- What it changes
- The total span of the two averages. Longer is smoother and slower.
- Setting
- Source
- Default
- Close
- Range
- Any price
- What it changes
- Which values feed the calculation.
- Setting
- Line
- Default
- Grey #787B86, 1 px
- Range
- Any colour and width
- What it changes
- Colour and width of the line.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
TMA strategiesUse it in 3 setups.
Trend filter
A smooth line makes a steady filter. Traders often time entries with a faster tool on the side it allows.
TMA crosses a slower TMA
A slower TMA, drawn here in orange for illustration, confirms that the broad direction has changed.
Exit on a close below
After a long advance, a close under a slow line is a common reason to step aside.
TMA mistakesCommon mistakes.
Expecting a fast signal
TMA is one of the slowest averages for its length. Here the cross came several bars after the low.
Trading every cross of a flat TMA
A flat line in a range still gets crossed again and again.
Trusting the first cross
Here price crossed the line and came straight back the next bar.
TMA combinationsPair it with these.
TMA + EMA 9
A fast EMA reacts where the TMA cannot. Many traders pair a slow and a fast line.
TMA + MACD
MACD adds a momentum read to a slow trend line.
TMA + ADX
ADX shows whether the trend the TMA describes has strength.
TMA + ATR
ATR helps size a stop around a line that sits far from price in fast moves.
TMA FAQQuestions traders ask.
What are the default TMA settings?
Length 15 on the close: an 8-bar SMA of an 8-bar SMA.
How is TMA calculated?
It is a simple moving average of a simple moving average, with the length split between the two.
Why is it called triangular?
Averaging twice gives the bars a triangle of weights: highest in the middle of the window, lowest at both ends.
TMA or SMA?
TMA is smoother and turns later. An SMA of the same length reacts sooner and wiggles more.
TMA or EMA?
An EMA favours the newest bars and turns sooner. TMA favours the middle and turns later.
Why does my TMA differ from another platform?
Platforms split the length differently and some start only after a full window. ChartLabs uses 8 and 8 for 15 and starts from the first bar.
Does TMA work on crypto?
Yes. It works on any market with prices.
Is TMA leading or lagging?
Lagging, and more than most averages of the same length.
Does TMA repaint?
No. Values on closed bars never change. The live bar moves until it closes.
Related indicatorsMore trend tools.
All trend indicatorsTry TMA on a live chart.
Free. No download.
Works in your browser and on iPhone too.