All indicators

Trend Regularity Adaptive Moving Average

By LuxAlgoDec 1, 2020

Static chart image
Dynamic OverlaysMoving Averages

The Trend Regularity Adaptive Moving Average (TRAMA) is a dynamic trading indicator that fine-tunes itself based on the average number of highest highs and lowest lows over a defined period, making it highly responsive to trend alterations. As a versatile tool, it can be integrated into a moving average (MA) crossover strategy or function as a trailing support/resistance in trading systems.

Key Settings

  • Length: Defines the period of the indicator. Increasing the length results in smoother performance.
  • Src: The source input for the indicator.

How to Trade the Trend Regularity Adaptive Moving Average?

TRAMA can be employed like any other moving average but stands out with its ability to maintain smoothness even in range-bound markets.

indicator image

This moving average approaches the price more closely when trends are prolonged, offering potential early entry points in a MA crossover system. This is due to the growing number of average highest highs/lows noticed during extended trends. Be aware, however, that following a strong uptrend, TRAMA might delay in adapting to a subsequent downtrend, and the same applies inversively.

indicator image

Additionally, the moving average serves as an effective trailing support/resistance, which can be crucial for setting stop losses and managing risks in volatile markets.

indicator image

indicator image

Technical Details

The moving average is determined through exponential averaging. The key smoothing factor is the square of the simple moving average of the number of highest highs/lows previously recorded, calculated using rolling maximums/minimums.

Increasing the length results in a reduction of the highest highs/lows calculated, thereby producing a smoother moving average when longer periods are utilized. Squaring helps the moving average minimize lower values, maintaining a more stable appearance during sideways markets. This also adds consistency to the length setting.

FAQ

How can I use the Trend Regularity Adaptive Moving Average in different trading platforms?

You can get access to the Trend Regularity Adaptive Moving Average on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

What makes TRAMA different from a typical moving average?

TRAMA adapts to the regularity of trends by averaging the highest high/lowest low over a specific period, making it particularly effective in maintaining smoothness in sideways markets while closely following price during trending periods.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.