Trend Regularity Adaptive Moving Average

Dec 1, 2020

Static chart image
Dynamic Overlays
Moving Averages
Works on the following platforms:
tradingviewSymbolTradingView
For free use on the TradingView platform
ninjatraderNinjaTrader
For free use on the NinjaTrader platform
metatrader4MetaTrader 4
For free use on the MetaTrader 4 platform
metatrader5MetaTrader 5
For free use on the MetaTrader 5 platform
thinkorswimThinkorswim
For free use on the Thinkorswim platform

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.

Trading is risky and many will lose money in connection with trading activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other markets involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools for charting platforms, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content or tool we provide.

Charts used on this site are by TradingView in which the majority of our tools are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com. TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2025 LuxAlgo Global, LLC.