All indicators

Optimized Trend Tracker Bands

Mar 21, 2021

Static chart image
Price Action BasedSupport and ResistanceSignalsChannelsFibonacciMoving AveragesVolatility

The Optimized Trend Tracker Bands indicator provides a dynamic envelope system designed to identify accurate support and resistance levels through optimized trend tracking. By utilizing adjustable coefficients, it creates a structured band around price action to help traders visualize trend boundaries and potential reversal zones.

Usage

The Usage section describes how the script can be used to identify market structure and trend strength. Traders can utilize the bands to establish upper and lower boundaries for price movement.

  • Support and Resistance Identification: The primary application involves manually adjusting the optimization coefficients (x3 and x5) so that the highest and lowest price levels of a specific range stay within the OTT Bands. Once calibrated, these bands act as dynamic support and resistance.
  • Fibonacci Levels: By enabling the Fibonacci toggle, the indicator adds internal levels based on the golden ratio (0.382 and 0.618) relative to the band width. These provide additional sub-levels for scaling in/out of positions or placing stop losses.
  • Trend Following: The central OTT line serves as the core trend tracker. When the Support Line (Moving Average) crosses above the OTT line, it signals a bullish trend; a cross below indicates a bearish trend.

Details

The Optimized Trend Tracker (OTT) Bands are derived from the original OTT indicator developed by Anıl Özekşi. Unlike standard fixed-width bands, this script uses a trailing stop-loss mechanism (MT) to calculate the core OTT value.

The script offers eight different moving average types for the internal calculation, including:

  • VAR (Variable Index Dynamic Average): Adapts to market volatility using a CMO-based calculation.
  • TSF (Time Series Forecast): Uses linear regression to project price movement.
  • ZLEMA (Zero Lag EMA): Aims to reduce the inherent lag found in traditional exponential moving averages.

The bands are calculated as a percentage offset from the core OTT line. The upper bands use the "x3" coefficient, while the lower bands use the "x5" coefficient, allowing for asymmetrical channel adjustments to account for different volatility profiles in bullish versus bearish regimes.

Settings

  • Source: Determines the price data used for calculations (default is Close).
  • OTT Moving Average Length: Sets the lookback period for the internal moving average.
  • OTT Optimization Coeff: Controls the sensitivity and "distance" of the tracking stop mechanism.
  • OTT UPPER BAND Optimization Coeff (x3): Adjusts the distance of the upper bands from the center.
  • OTT LOWER BAND Optimization Coeff (x5): Adjusts the distance of the lower bands from the center.
  • Show OTT Bands Fibonacci Levels?: Toggles the visibility of 0.382 and 0.618 Fibonacci retracement levels within the bands.
  • Show Support Line?: Displays the internal moving average used to calculate the OTT.
  • Show OTT Support Line Color Changes?: When enabled, the support line changes color based on its slope (green for rising, red for falling).
  • Moving Average Type: Selects the mathematical method for the support line (SMA, EMA, WMA, TMA, VAR, WWMA, ZLEMA, TSF).

FAQ

How do I adjust the bands for a specific asset? You should modify the "x3" and "x5" coefficients until the upper and lower bands encompass the recent swing highs and lows of the price action.

What is the difference between the OTT and the Support Line? The Support Line is a smoothed moving average of price, while the OTT is a trailing calculation based on that average. Signals are typically generated when these two lines cross.

How can I access this indicator? 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.