Larry Williams Market Secrets (Part 18): Automating the Greatest Swing Value Breakout Strategy in MQL5
by
, 10-09-2026 at 03:43 AM (328 Views)
more...The Greatest Swing Value breakout strategy requires several conditions and calculations to be applied in a specific order. The system first identifies a bullish or bearish setup; It then finds the required number of qualifying failure bars and calculates their average swing. That value is multiplied by a breakout factor and projected from the current bar open to define the entry threshold.
Each setup remains valid for the current bar only. While it is active, the strategy monitors M1 closes for a confirmed cross above or below the projected level. When a breakout occurs, the Expert Advisor prepares a stop-loss, calculates the take-profit (based on the selected exit mode), determines the trade volume, and verifies that the order meets the symbol's trading requirements.
This article implements the rules in an MQL5 Expert Advisor. The EA validates market data, tracks one active setup, detects lower-timeframe breakouts, calculates broker-compatible trade parameters, and verifies trade-server results.












Email Blog Entry