Concept
Triangular MA
Triangular MA is a Trend concept. The Library holds 4 implementations, each one a working definition you can pull into Quant.
TMA
Top Triangular MA indicators
4 total
What is a Triangular MA?
A triangular moving average is a simple moving average smoothed a second time: an SMA of an SMA, with each pass covering roughly half the stated period (platforms differ on how odd lengths are split, so two implementations can disagree slightly at the same setting). Running two near-equal windows back to back makes the combined weights form a triangle across the lookback, heaviest at the middle of the window and tapering toward zero at both ends.
That center-weighting is the opposite of front-loaded schemes like the WMA or EMA, which concentrate weight on the newest bars. The TMA is therefore one of the smoothest fixed-window averages and one of the least responsive: recent bars carry as little weight as the oldest ones, so the line turns well after price does. It is best treated as a slow trend backbone rather than a signal line.
How traders use it
- As a smooth directional filter: the TMA's slope carries most of its information, and because the line rarely wiggles, slope flips are infrequent enough to gate faster entry logic, a use closely related to the MA slope filter.
- As the midline for bands and channels: some envelope-style tools are centered on a TMA precisely because the midline stays calm, so changes in band width reflect volatility rather than midline noise.
- As an internal smoothing stage: some oscillator and momentum designs pass their raw series through triangular smoothing to suppress bar-to-bar noise before signal rules are applied.
Related concepts · Moving-average lineage
Concept family
Trend
100 concepts mapped · 88 in the Library
Triangular MA FAQ
Is a triangular moving average just a double-smoothed SMA?
Yes. Taking an SMA of an SMA, with both passes near half the stated period, produces the same result as a single weighted average whose weights rise linearly to the window's midpoint and fall symmetrically after it. Conventions differ on splitting odd periods, which is why TMA values can vary slightly between platforms at identical settings.
Why do some triangular moving average tools repaint?
Centered variants shift the TMA back by half its window so the weight peak sits over the bars being averaged. Near the right edge those values depend on bars that have not printed yet, so they keep redrawing as new data arrives. The standard, non-centered TMA does not repaint; it simply lags.
Build Triangular MA your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.
.png&w=3840&q=75)

