Bill Williams Trading System
- Experts
- Mohamed Jalloh
- Versione: 1.6
- Attivazioni: 5
Overview of the Strategy
The above EA implements a fully automated trading strategy based on the Bill Williams Trading System, specifically leveraging the "Alligator" indicator, fractal breakouts, and several additional technical indicators for trade confirmation and risk management.
Core Components
Indicators Used
-
Alligator (Jaw, Teeth, Lips): Detects trending or ranging markets by the alignment and separation of three smoothed moving averages.
-
Fractals: Used for breakout confirmation.
-
Awesome Oscillator (AO), Accelerator Oscillator (AC), Money Flow Index (MFI), Average True Range (ATR): Used for additional trade filtering, confirmation, and volatility measurement.
Entry Logic
-
Long Setup: Triggered when:
-
The Alligator's mouth is "open" upwards (Jaw < Teeth < Lips).
-
Price is above the Lips line.
-
Optionally, a fractal breakout is required (if enabled).
-
-
Short Setup: Triggered when:
-
The Alligator's mouth is "open" downwards (Jaw > Teeth > Lips).
-
Price is below the Lips line.
-
Optionally, a fractal breakout is required (if enabled).
-
-
The system waits for a minimum number of bars after the last signal before considering a new trade.
Position Sizing and Risk Management
-
Risk per trade is set by percentage of account balance (default 2%).
-
Maximum daily risk cap (default 5%).
-
Dynamic lot sizing is used by default, calculated to match the risk percentage for each trade.
-
Maximum number of simultaneous trades is limited (default 3).
-
Option for fixed lot size if dynamic sizing is disabled.
Stop Loss and Take Profit
-
Stop loss is set relative to the Alligator's Jaw and a multiple of ATR to account for volatility.
-
Take profit is calculated using a risk-reward ratio (default 3:1).
-
Trailing stops can be enabled, moving the stop loss as the trade becomes profitable, based on ATR multiples.
Order Execution
-
Trades are executed with a specified slippage tolerance and filling type.
-
Each trade is tagged with a unique magic number for tracking.
Trade Management
-
Open positions are monitored and trailing stops are updated dynamically.
-
The system checks for the maximum allowed open positions before placing new trades.
Summary Table
| Feature | Description |
|---|---|
| Entry Indicator | Alligator (Jaw, Teeth, Lips), Fractals (optional) |
| Confirmation | AO, AC, MFI, ATR |
| Entry Signal (Long) | Jaw < Teeth < Lips, Price > Lips, (Fractal breakout if enabled) |
| Entry Signal (Short) | Jaw > Teeth > Lips, Price < Lips, (Fractal breakout if enabled) |
| Position Sizing | Dynamic (risk % of balance) or Fixed Lot Size |
| Stop Loss | Jaw ± ATR multiple |
| Take Profit | Risk-Reward ratio (default 3:1) |
| Trailing Stop | ATR-based, optional |
| Max Open Positions | Default 3 |
| Risk Controls | Risk per trade %, Max daily risk %, Max open trades |
| Order Execution | Slippage control, filling type, unique magic number |
Conclusion
This strategy is a systematic trend-following approach rooted in Bill Williams' methodology. It combines multiple indicators for trade entry and confirmation, strict risk controls, and automated trade management, aiming to capture strong price trends while limiting downside risk.
