Skip to content
All library documents

Automating Bill Williams Trading Patterns with Alligator, AO, and AC Signals

Article MQL5 articles

Summary

The document describes an MQL5 module and Expert Advisor for identifying and trading patterns from Bill Williams’ system. The Alligator’s moving-average arrangement acts as a trend filter; valid five-bar fractals and patterns from the Awesome Oscillator and Acceleration/Deceleration oscillator generate directional signals. The described patterns include saucers, zero-line crossings, twin peaks, and color-based zone entries. Entries are generally implemented as pending stop orders beyond the signal bar, while zone rules limit entries after consecutive bars.

The module offers a visual settings panel, options to disable selected patterns or their trading, and parameters suitable for optimization. The article also outlines integration with the MQL5 Wizard and notes that the Wizard-generated EA has limits, including market-order-only trading and no scaling of an open position. Testing examples cover EURUSD and EURJPY daily data over stated periods, but detailed results are referenced in attachments rather than presented in the text. The author reports better performance in trends and below-break-even behavior in flat markets, so the approach is regime-sensitive and the evidence is limited to those tests.

Key ideas

  • The Alligator moving averages filter trades toward periods when the market appears to be trending.
  • Fractals and Awesome Oscillator or Acceleration/Deceleration patterns provide entry signals.
  • Pending stop orders are placed beyond the relevant signal bar, with separate rules for zone trading.
  • The module allows users to configure, mark, disable, and optimize individual patterns.
  • The reported tests suggest sensitivity to market regime, with weaker results in flat conditions.

Tags

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