Skip to content
All library documents

Using Fractal Levels for Breakout Confirmation and Trailing Stops

Article MQL5 articles

Summary

The article defines upper and lower fractals as local extrema formed by a five-bar structure, then describes plotting the latest fractal prices as horizontal levels. It treats a move beyond a fractal as a possible continuation signal and uses the opposite-side level as a guide for exiting or adjusting a stop. In a rising market, the lower fractal level can support a trailing stop for a long position; the reverse logic is proposed for shorts. The implementation carries forward the most recent detected levels and exposes them for an expert advisor to use.

The article reports a comparison on EURUSD at the hourly timeframe over a historical test period, contrasting a standard MACD sample with a version using fractal-based trailing stops. The latter had higher reported net profit and lower drawdown in that sample, but it also produced a different number and distribution of trades. This is a single historical test, and the document itself cautions that the approach is unsuitable for flat markets. The results do not establish out-of-sample performance or general applicability.

Key ideas

  • An upper or lower fractal marks a local extreme using neighboring bars on each side.
  • The indicator plots the latest upper and lower fractal prices as horizontal reference levels.
  • Fractal levels can guide trailing stops and position exits as price moves through successive levels.
  • A historical EURUSD MACD comparison reported improved profit and drawdown figures with the fractal trailing stop.
  • The evidence comes from one test sample, and the method may not suit flat conditions.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.