Discussing the article: "Larry Williams Market Secrets (Part 18): Automating the Greatest Swing Value Breakout Strategy in MQL5"
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: Larry Williams Market Secrets (Part 18): Automating the Greatest Swing Value Breakout Strategy in MQL5.
This article converts the Greatest Swing Value breakout rules into a configurable MQL5 Expert Advisor. It implements measurable setup conditions, failure-swing calculations, one-bar setup validity, and M1 breakout confirmation. The EA also supports broker-compatible risk management, manual or percentage-risk sizing, position control, and trade-server validation, providing a reproducible framework for independent Strategy Tester research across different markets and historical periods.
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.
Author: Chacha Ian Maroa