History of MQL5.community development

The most popular trading robots and technical indicators, news signals, regular incoming ready-made MQL5 programs in CodeBase and the most discussed Forum topics.

15 new products are now available on the Market:

and 10 more...

Bestsellers in the Market:

8 new signals now available for subscription:

The Minute Man Big
266% 727 trades
Growth:265.59%
Equity:6,507.32EUR
Balance:6,507.32EUR
Xingli 0034
70% 2975 trades
Growth:69.52%
Equity:847,612.79USD
Balance:847,612.79USD
Xingli 0033
66% 2846 trades
Growth:66.24%
Equity:332,470.98USD
Balance:332,470.98USD
and 5 more...
There are more than 66,360 products available in Market

New publications in CodeBase

  • After-Exit Analyzer - what price did after you closed: stopped-out trades that later hit TP, profit left after exits Reads your closed positions and the M1 bars after each exit. Shows how many stopped-out trades later reached their take profit, how far take-profit trades kept running and how much move was left after manual or EA exits. Summary panel, per-position log table and CSV.
  • Algo: EMA Trend Cross on Closed Bars — XAUUSD M30 Free educational EA — a single-position trend-following EMA crossover system for XAUUSD M30, released as open source for beginners to study trade ownership guards, preflight order validation, risk-based lot sizing, and server-time session filtering. This code demonstrates how a strategy - identifies and manages only its own positions and orders through MagicNumber and comment tags, - wraps CTrade with an OrderCheck preflight that blocks invalid or margin-breaking requests, - sizes each trade from a fixed stop-loss and risk percentage, - and restricts entries to a configurable broker session window with a daily close-all — all evaluated on completed bars only, so signals never repaint.

22 new products are now available on the Market:

and 17 more...

4 new topics on forum:

and 1 more...

Published article "Building a Two-Pole Momentum Oscillator in MQL5".

Building a Two-Pole Momentum Oscillator in MQL5

We build a Two‑Pole Momentum Oscillator in MQL5 that measures deviation from a 25‑period SMA, normalizes it by its mean and standard deviation, and smooths the result with two EMA‑style passes. The code defines inputs, buffers, warm‑up and recalculation logic, signal rules, and colorized plots, and derives dynamic targets from the 100‑period average range. It helps detect momentum shifts around the zero line and display price levels tied to recent volatility.

Published article "Weibull Reliability Analysis for Strategy Lifespan: Estimating When an EA Is Likely to "Fail"".

Weibull Reliability Analysis for Strategy Lifespan: Estimating When an EA Is Likely to "Fail"

We implement a native Weibull maximum-likelihood fit in MQL5 and use it to model strategy wear-out from trade history. Failures are defined as the rolling profit factor dropping below a floor, producing lifetimes in trades. The article wires a survival-based governor into an EA and a companion indicator, so you can estimate conditional survival over the next N trades and apply explicit retirement thresholds with cooldown.

Published article "Building a FIFO-Compliant Position Management Layer for NFA-Regulated MQL5 Accounts".

Building a FIFO-Compliant Position Management Layer for NFA-Regulated MQL5 Accounts

This article shows how to make EA close operations comply with broker-enforced FIFO (ACCOUNT FIFO CLOSE) on hedging accounts, so naive exits stop failing. It introduces CFifoPositionQueue to order an EA's own tickets by time and CFifoComplianceGuard to execute closes in two modes: strict reject or auto-cascade, with optional per-direction scope. The guard re-verifies eligibility before each step, normalizes volumes, and inspects real server retcodes. You get reusable code, tests, and clear limits.

Published article "Uncertainty as a Model (Part 6): Multiple Regression and Diagnostics".

Uncertainty as a Model (Part 6): Multiple Regression and Diagnostics

A practical introduction to multiple regression with deterministic factors for financial time series. Topics covered include the formulation and matrix form of ordinary least squares (OLS), residual diagnostics, EDA/CDA, R-squared and adjusted R-squared, the F-test, RESET, the Breusch–Pagan test, VIF, and Cook’s distance. Techniques for working with regressors are demonstrated: dummy variables, nonlinear transformations, and interaction terms. Examples involving trends, days of the week, and news help select factors and build models suitable for forecasting.

The most downloaded free products:

Published article "How to Implement R/S Analysis and the Hurst Indicator in MQL5".

How to Implement R/S Analysis and the Hurst Indicator in MQL5

The Hurst exponent indicator for MQL5 is based on R/S analysis using OLS regression in log-log space. The theoretical basis is the findings of Gatheral–Jaisson–Rosenbaum (2014), according to which volatility follows fractional Brownian motion with H ≈ 0.10. The indicator estimates H within a moving window, identifies anti-persistent (H < 0.3), neutral, and trending (H > 0.5) market regimes, colors the line, and triggers an alert upon a regime change, helping you choose a strategy type and manage risk.

There are more than 66,300 products available in Market

11 new signals now available for subscription:

GodTier Phalanx AI
41% 30 trades
Growth:40.72%
Equity:1,408.14USD
Balance:1,408.14USD
Zone Buget
36% 11 trades
Growth:36.34%
Equity:545.36EUR
Balance:545.36EUR
ORB Revolution Gold Signal 1K
10% 49 trades
Growth:9.99%
Equity:1,116.73USD
Balance:1,082.24USD
and 8 more...

Bestsellers in the Market:

21 new products are now available on the Market:

and 16 more...

Published article "Per-Setup Trade Ledger in MQL5: Find Out Which of Your EA's Entries Is Losing Money".

Per-Setup Trade Ledger in MQL5: Find Out Which of Your EA's Entries Is Losing Money

Most EAs trade more than one setup, yet the Strategy Tester judges them all by a single equity curve. CSetupLedger is a small MQL5 class that stores each trade's setup in its magic number and rebuilds the per-setup record from the account's deal history, so a restart never wipes it. It compares a Wilson interval of each setup's win rate with the breakeven rate implied by that setup's own average win and loss, and gives no verdict before 30 closed trades. Each setup ends up trusted, rejected or still undecided. In two backtests the per-setup totals match the tester exactly. Full source and two working EAs are attached.

Published article "Property-Based Testing for Trading Rules in MQL5 (Part 1): Generate Market Scenarios, Test Invariants, Find Edge Cases".

Property-Based Testing for Trading Rules in MQL5 (Part 1): Generate Market Scenarios, Test Invariants, Find Edge Cases

Property-based tests exercise a sizing rule across thousands of generated scenarios instead of a few hand-picked cases. A deterministic MQL5 runner creates seeded symbol contracts, checks eight risk-volume properties, and writes text and CSV reports for reproducible evidence. A second script intentionally rounds volume the wrong way, replays the failing seed, and shrinks the counterexample to the half-step boundary, making the defect minimal and diagnosable.

Published article "Neural Networks in Practice: When to Use an Artificial Neuron and How It Works in MQL5".

Neural Networks in Practice: When to Use an Artificial Neuron and How It Works in MQL5

We implemented a neuron in MQL5 that was trained using stochastic gradient descent and compared its loss function to that of linear regression. Using code and graphs, we demonstrate how normalization, the choice of learning rate, and the structure of the problem affect convergence. This article provides guidance on debugging the training process, interpreting error behavior, and selecting the appropriate architecture or activation function.

New publications in CodeBase

  • Fair Value Gaps Non-repainting fair value gaps on closed bars, with zone states (active, touched, mitigated) and iCustom buffers for EAs.
  • Prop Firm Live Daily Breach Line (OrderCalcProfit and iCustom Ready) Real-time daily drawdown buffer monitor and exact breach price line indicator for prop firm accounts. Features 00:00 server-time deal history reconstruction (including entry commissions), 00:00 HWM snapshot locking, two-stage OrderCalcProfit cross-rate calibration, and iCustom() data buffers for Expert Advisors.

More than 700 new charts published:

차트 Volatility 10 Index, H4, 2026.11.01 20:42 UTC, Deriv.com Limited, MetaTrader 5, Demo
Volatility 10 Index, H4
Chart AUDCHF, H1, 11/1/2026 9:34 PM UTC, FxPro Markets Ltd., MetaTrader 5, Real
AUDCHF, H1
Chart GOLD, M5, 11/1/2026 5:11 PM UTC, XM Global Limited, MetaTrader 5, Real
GOLD, M5
There are more than 3,630 articles published on site

Published article "From Basic to Intermediate: Subwindows (I)".

From Basic to Intermediate: Subwindows (I)

In this article, we'll start exploring how to work with subwindows in MetaTrader 5 using MQL5. This is a broad topic with several practical aspects that may prove challenging, so we'll start with a brief introduction. And yet, dear reader, it’s important that you understand what we’re going to discuss here, because it could play an important role in your future.

Published article "Neural Networks in Practice: Stochastic Gradient Descent".

Neural Networks in Practice: Stochastic Gradient Descent

This article uses practical examples to explain how to calculate and apply gradients of the weights and bias (intercept) in a linear neuron implemented in MQL5, and also discusses a stochastic variant of gradient descent. We analyze stopping criteria, iteration limits, and the effects of training on data subsets. The results are displayed in the MetaTrader 5 terminal, where a simple chart is also plotted. Readers are invited to modify the training set and analyze the model's behavior.

Published article "Neural Networks in Trading: Temporal Motion Aggregation (Conclusion)".

Neural Networks in Trading: Temporal Motion Aggregation (Conclusion)

Introducing the TMA framework — an intelligent system capable of forecasting market dynamics with sufficient accuracy. In this article, we have integrated all the components into a single architecture and transformed it into a fully-fledged trading agent that analyzes the market and makes decisions in real time.

14 new products are now available on the Market:

and 9 more...

Bestsellers in the Market:

New publications in CodeBase

4 new topics on forum:

and 1 more...

6 new signals now available for subscription:

Xcella Ultra3
87% 386 trades
Growth:86.89%
Equity:147.08USD
Balance:147.08USD
SHENA 080
-41% 131 trades
Growth:-41.13%
Equity:54,814.76USD
Balance:53,640.25USD
Shena 382
-46% 201 trades
Growth:-46.20%
Equity:23,613.63USD
Balance:23,613.63USD
and 3 more...

New publications in CodeBase

There are more than 66,240 products available in Market

14 new products are now available on the Market:

and 9 more...

3 new topics on forum:

Most downloaded source codes this week

  • Supertrend Scalper with Breakeven Win Rate Panel A Supertrend scalping EA with 14 switchable filters and a self-measuring panel that shows the actual win rate next to the win rate needed to break even after real spread, so you can see whether a setting has an edge or only a high percentage.
  • Smart Money Concepts BOS CHoCH Market structure indicator for Gold (XAUUSD), EURUSD and any symbol: swing highs and lows with HH HL LH LL labels, BOS and CHoCH drawn on closed candles, alerts and 4 buffers for EAs. Open source code.
  • Gold Breakout EA for XAUUSD H4 +90 Percent in a 2020 to 2026 Backtest A Turtle-style breakout EA for gold. It buys when an H4 bar closes above the 20-bar high in an uptrend, with a 2 ATR stop and a 2R target. Backtested on XAUUSD from January 2020 to September 2026: +9,029.72 on 10,000 at 1% risk, profit factor 1.77, max drawdown 11.38%, 6 of 7 years profitable.

Most read articles this week

Why Virtual Hosting On The MetaTrader 4 And MetaTrader 5 Is Better Than Usual VPS

Why Virtual Hosting On The MetaTrader 4 And MetaTrader 5 Is Better Than Usual VPS

The Virtual Hosting Cloud network was developed specially for MetaTrader 4 and MetaTrader 5 and has all the advantages of a native solution. Get the benefit of our free 24 hours offer - test out a virtual server right now.

How to purchase a trading robot from the MetaTrader Market and to install it?

How to purchase a trading robot from the MetaTrader Market and to install it?

A product from the MetaTrader Market can be purchased on the MQL5.com website or straight from the MetaTrader 4 and MetaTrader 5 trading platforms. Choose a desired product that suits your trading style, pay for it using your preferred payment method, and activate the product.

How to Test a Trading Robot Before Buying

How to Test a Trading Robot Before Buying

Buying a trading robot on MQL5 Market has a distinct benefit over all other similar options - an automated system offered can be thoroughly tested directly in the MetaTrader 5 terminal. Before buying, an Expert Advisor can and should be carefully run in all unfavorable modes in the built-in Strategy Tester to get a complete grasp of the system.

Bestsellers in the Market:

14 new signals now available for subscription:

Alpha Fusion
13% 65 trades
Growth:13.47%
Equity:557.83USD
Balance:567.26USD
and 13 more...

The most downloaded free products:

11 new products are now available on the Market:

and 6 more...
There are more than 66,190 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • Trailing Stop Breakeven Manager Trailing stop and breakeven manager for Gold (XAUUSD), forex and any symbol: moves the stop to breakeven with an offset, then trails it in points or ATR multiples on manual trades and on any EA, filtered by magic and symbol. Open source code.
  • EA Auditor. What an Expert Advisor really does, from its deal history Script that reads the deal history of your account and writes a plain note on how an Expert Advisor really trades: entries, stops and trailing, lot changes, martingale, averaging, trades at once, hours and holding time, plus what to watch out for. It never trades and says nothing about profit
There are more than 155,820 topics available on forum
There are more than 12,700 codes published in Codebase

More than 700 new charts published:

Graphique SPX500, M1, 2026.10.31 13:14 UTC, FundedNext Ltd, MetaTrader 5, Demo
SPX500, M1
Chart XAUUSD, M5, 2026.10.31 12:26 UTC, Raw Trading Ltd, MetaTrader 5, Real
XAUUSD, M5
Chart FlipX 4, M6, 2026.10.31 11:29 UTC, Weltrade Ltd., MetaTrader 5, Real
FlipX 4, M6

58 new products are now available on the Market:

and 53 more...

6 new topics on forum:

and 3 more...

11 new products are now available on the Market:

and 6 more...
1...121314151617181920212223242526...717