All indicators

Adaptive Trend Structure Engine v2

Jun 3, 2026

Static chart image
SignalsFibonacciVolatility

The Adaptive Trend Structure Engine v2 indicator provides a dynamic framework for visualizing and interpreting market structure shifts by reacting to volatility and price behavior in real time. It utilizes a synthetic price model to generate adaptive thresholds, helping traders identify trend transitions and potential areas of price interaction through Fibonacci-based structural zones.

Usage

The Usage section describes how the script can be used, examples should be provided in this section. This section also focuses on how main settings affect the indicator interpretation and output.

  • Trend Identification: The indicator marks structural shifts with "Bullish Structure Shift" (triangle up) and "Bearish Structure Shift" (triangle down) icons. A "TREND UP" or "TREND DOWN" label appears at the point of reversal to highlight the new directional bias.
  • Structural Zones: Upon a trend flip, the engine projects Fibonacci-based zones. These zones extend to the right and serve as a visual framework for understanding where price might interact within the current trend phase.
  • Momentum Context: The script calculates momentum based on the deviation from a dynamic center line. This can be used to assess the strength of a move following a structure break.
  • Sensitivity Tuning: By adjusting the Structure Sensitivity (brick size), users can filter out minor price fluctuations or capture micro-structural shifts, depending on their trading style (e.g., scalping vs. swing trading).

Details

The core of the script is the construction of a synthetic price model. Unlike standard trend indicators that use fixed lags, this engine calculates a "brick size" based on one of three methods: ATR, a fixed classic value, or a percentage of the price (Price Fraction).

The synthetic price only moves when the source price (Close, OHLC, or High/Low) exceeds the current upper or lower level (previous synthetic price +/- brick size). This behavior is similar to Renko charts but overlaid on standard candlesticks. When the synthetic price changes direction, a "Trend Flip" is triggered. The Fibonacci zones are then calculated by multiplying the brick size by the Fibonacci Spacing input, creating a proportional grid that expands or contracts based on market volatility.

Settings

  • Base Timeframe Factor: Adjusts the internal lookback period used for center line and momentum calculations relative to the current chart timeframe.
  • Structure Calculation Method: Selects the logic for the synthetic price steps (ATR-based volatility, Classic fixed values, or Price Fraction for percentage-based steps).
  • Structure Sensitivity: Determines the magnitude required for a structural shift. Higher values create a "slower" structure with fewer signals.
  • Price Source Mode: Selects which price data points (Close, Open/Close, or High/Low) are used to trigger structural updates.
  • Enable Oscillation Mode: Toggles how the internal momentum values are displayed relative to the trend direction.
  • Enable Normalization: When active, smooths the momentum calculation across extended trend phases to prevent extreme spikes.
  • Fib Spacing: Controls the vertical distance between the dynamic Fibonacci zones projected after a trend shift.

FAQ

How do I interpret the Fibonacci zones? The zones are not fixed price targets but rather adaptive structural boundaries. They represent areas where price behavior has historically interacted with the synthetic model's volatility.

What is the difference between the 'Price Fraction' and 'ATR' methods? The 'Price Fraction' method uses a percentage of the current price to determine sensitivity, making it useful for assets that have significantly changed in value over time. The 'ATR' method scales the structure based on recent realized volatility.

How can I access the Adaptive Trend Structure Engine v2? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

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.