Trend Regularity Adaptive Moving Average
By LuxAlgoDec 1, 2020
Trend Regularity Adaptive Moving Average (TRAMA) is the LuxAlgo original that re-times its own smoothing to match the regularity of the trend it is tracking. The TRAMA calculation squares the average number of highest highs and lowest lows recorded over the lookback and uses the result as its smoothing factor, so the line hugs price through persistent trends and settles into a stable shelf when the market goes quiet. That single property makes it useful twice over: as a crossover average and as trailing support and resistance.
How to Trade the Trend Regularity Adaptive Moving Average?
- Price crossing the line: works in any MA crossover system; because TRAMA tightens toward price as a trend extends, crossovers can arrive earlier than a fixed-speed average allows.
- Flat line: no new highs or lows are being recorded, a built-in regime filter telling you the market is ranging.
- Trailing support/resistance: trail stops behind the line in established moves; its stability in chop makes it a practical risk anchor in volatile markets.
One caveat comes straight from the math: after a prolonged uptrend the smoothing factor is still elevated, so TRAMA can be slow to adapt when the market flips abruptly into a downtrend, and the same applies in reverse. Like its siblings in the trend family, it rewards persistence, not sudden reversals.
Trend Regularity Adaptive Moving Average Settings
- Length: the indicator period; longer settings record fewer new extremes, producing a smoother, slower line.
- Src: the price source the average is computed on.
Frequently Asked Questions
Free indicator
Get free access to this indicator on the platforms below.
The Library is free. Quant makes it yours.
Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.
.png&w=1200&q=75)
