Skip to content
All library documents

Williams Alligator and Fractal Breakout Expert Advisor

Article MQL5 code base

Summary

This Expert Advisor uses Bill Williams’ trading concepts. It buys when price breaks above a fractal located above the Alligator’s teeth line and sells when price breaks below a fractal located beneath that line. The signal type varies with the arrangement of the Alligator lines. The description mentions error handling, lot adjustment, and two signal types, but does not explain their mechanics in detail.

The system trails stops along the Alligator’s red line and fractals, holds at most one position, and does not pyramid. The listed parameter estimates are for a four-hour chart, while hourly and longer timeframes are recommended; parameter optimization is said to be pair-specific. The description provides no backtest or live performance evidence and specifies compatibility with five-digit quotes only, so the trading rules and platform constraints should be checked for each instrument and setup.

Key ideas

  • The entry signal combines fractal breakouts with the Alligator teeth line.
  • The Expert Advisor uses the Alligator lines’ arrangement to distinguish signal types.
  • Stops trail using the Alligator red line and fractals.
  • The system holds one position and does not pyramid.
  • The stated parameters need pair-specific optimization, and the EA supports five-digit quotes only.

Tags

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