All indicators

Fractal Breakout Trend Following Strategy

Jun 29, 2024

Static chart image
Support and ResistanceSignalsMoving AveragesTrailing-StopVolatility

The Fractal Breakout Trend Following Strategy indicator provides a systematic approach to identifying and trading bullish trend reversals using Williams Fractals and the Alligator indicator. It aims to capture new uptrend phases by executing long trades on valid fractal breakouts while filtering for market volatility.

Usage

The strategy is designed for long-only positions and is particularly effective on higher timeframes such as the 4h chart for BTC/USDT.

  • Long Entry: A trade is initiated when the price breaks above the most recent valid up fractal. A fractal is considered valid if it resides above the Williams Alligator's "teeth" line (an 8-period SMMA shifted 5 bars forward).
  • Volatility Filtering: To avoid entering trades after exhaustive moves, the script uses a normalized Average True Range (ATR). It only permits entries when the average normalized ATR over a user-defined period is below a specific threshold, signifying a consolidation phase.
  • Exit Logic: The strategy does not use a fixed take-profit. Instead, it utilizes a trailing exit based on "down fractals." If a down fractal is validated (breaking below the Alligator's teeth line), the trade is closed.
  • Risk Management: It employs a dual-layered stop loss. The script automatically selects the higher (safer) price between a fixed percentage stop-loss (default 3%) and the dynamic down-fractal validation level.

Details

The core logic relies on the synergy between fractals (identifying key resistance/support pivots) and the Alligator (identifying trend direction and momentum). By requiring the breakout to occur relative to the Alligator’s teeth line, the strategy filters out counter-trend signals. The inclusion of a normalized ATR filter is based on the concept that trend continuations are most profitable when they emerge from a low-volatility consolidation range rather than at the peak of a high-volatility expansion.

Settings

  • Stop loss: Sets the fixed percentage drop from the entry price used for the initial risk floor.
  • ATR Threshold value: A percentile-based threshold (0-100) that determines the maximum allowable volatility for an entry.
  • ATR Period: The number of bars used to calculate the average normalized ATR for filtering.
  • Trade Start/Stop Date/Time: Configurable windows to restrict backtesting or live execution to specific periods.
  • Trading Bot Settings: Includes fields for Source UUID and Secret Token for integration with external execution platforms.

FAQ

How do I access Fractal Breakout Trend Following Strategy?

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

What timeframes work best for this strategy?

While it can be applied to various charts, optimal performance is typically observed on the 4-hour (4h) timeframe and higher.

Does this strategy take short positions?

No, this specific strategy is designed exclusively for long trades to capture bullish trend breakouts.

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.