Articles

Automating Chart Patterns in MQL5 (Part 3): The Head and Shoulders and Inverse Head and Shoulders for MetaTrader 5

The article implements a deterministic MQL5 detector for head and shoulders and its inverse, validating structure from swing labels (HH, LH, HL, LL) rather than raw peak geometry. Seven ATR-aware checks enforce time order, pattern span, head clearance, shoulder symmetry, and height. A three-state

Automating Classic Market Methods in MQL5 (Part 9): Linda Bradford Raschke's 3/10 Oscillator System for MetaTrader 5

The article implements two swing setups in MQL5: Anti, which enters on the first 3/10 oscillator pullback after a signal line zero confirmation with price confirmation, and Holy Grail, which enters on the first pullback to the 20 EMA in a strong rising ADX trend. A single EA runs two independent

Position Management: Deriving a Self-Calibrating Exit Ladder From Historical MFE in MQL5 for MetaTrader 5

We implement three MQL5 classes that replace fixed 1R/2R/3R targets with data-driven scale-out levels. CExcursionTracker records each closed trade's maximum favorable excursion in R, CExitLadderCalibrator derives runs from distribution percentiles with lookback and minimum-sample controls, and

Automating Classic Market Methods in MQL5 (Part 8): Ed Seykota's Trend Following System for MetaTrader 5

The article presents a full MQL5 implementation of a multi-symbol trend system: dual EMA crossovers for entries, ADX to avoid ranges, ATR to normalize position size, and a heat monitor to cap total portfolio risk. We explain the architecture, calculation details, and entry/exit logic on daily bars

Automating Classic Market Methods in MQL5 (Part 7): The Nicolas Darvas Box System for MetaTrader 5

This article implements the Darvas Box method as a complete MQL5 Expert Advisor. We code box detection with a three-session hold, volume contraction during consolidation, and volume-confirmed breakouts, plus a staircase pyramid with a shared, rolling stop at the latest box floor. The EA uses a state

Automating Classic Market Methods in MQL5 (Part 6): Jesse Livermore's Pivotal Point System for MetaTrader 5

This article presents a complete MQL5 Expert Advisor that implements Jesse Livermore's market key as a deterministic state machine. It detects pivotal levels from consolidations using ATR and volume expansion, scales in across four tranches, and exits on abnormal behavior defined by range and

Automating Chart Patterns in MQL5 (Part 2): The Double Top and Double Bottom for MetaTrader 5

We build a robust MQL5 detector for double tops and double bottoms that first confirms the H4 trend, then validates six conditions (point equality, neckline placement, ordering, width, height, and ATR‑based tolerances). The neckline break is timed on the chart's timeframe, and a three-state machine

Automating Chart Patterns in MQL5 (Part 1): The Multi-Timeframe Swing Structure Engine for MetaTrader 5

This article presents CSwingEngine, a reusable MQL5 class that detects H4 swing highs and lows, labels them HH, LH, HL, or LL, and classifies market structure as trend or range. Swings are always computed on H4, regardless of the attached chart, and each point draws correctly on lower timeframes via

Automating Classic Market Methods in MQL5 (Part 5): The Original Turtle Trading Rules for MetaTrader 5

This article builds a complete MQL5 Expert Advisor that implements the original Turtle Trading rules from Curtis Faith. It covers both systems: 20/55-day breakouts, the System 1 skip rule, N (Wilder ATR) for volatility-adjusted sizing, a four‑unit pyramid with N/2 adds, a unified 2N stop, and

Automating Classic Market Methods in MQL5 (Part 4): Mark Minervini's Trend Template for MetaTrader 5

This article presents TrendTemplateEA, an Expert Advisor implementing Mark Minervini's eight-condition trend template for daily forex charts. It evaluates all conditions on every bar and enters only when they are simultaneously satisfied, using RSI above 50 in place of the stock market RS rating

Forum

When evaluating a new EA on the MQL5 Market, which factor is most important to you?

Real account results (long history) Low drawdown potential Author reputation Clear entry/exit patterns Community reviews

What is your preferred method for managing multiple trades within a single Expert Advisor (EA)?

Using specific deal/order tickets Looping through all orders Custom frameworks Other (specify in comments)

Which standard indicator do you find most reliable for building MQL5 strategies?

Moving Averages (MA) Relative Strength Index (RSI) MACD ATR (Average True Range) Other (specify)

What's your greatest trading challenge when using automated systems?

Risk/money management Handling market irregularities Emotional control (trusting the EA) Finding a consistently profitable strategy Backtesting accuracy

Which MQL5 feature would you like to see improved or added most?

Better debugger/testing environment Multi-core support for backtesting Easier object creation/altering Built-in bulk trade operations