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.

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...

2 new topics on forum:

There are more than 11,970 trading signals available for subscription in Signals service.

The most downloaded free products:

There are more than 66,060 products available in Market

Bestsellers in the Market:

9 new signals now available for subscription:

MyIG
175% 64 trades
Growth:174.53%
Equity:1,558.26GBP
Balance:2,424.85GBP
Adv Trend Following
114% 416 trades
Growth:113.79%
Equity:446.62USD
Balance:446.62USD
Ankit Tomar
-2% 12 trades
Growth:-2.13%
Equity:9,786.95USD
Balance:9,786.95USD
and 6 more...

New publications in CodeBase

  • Key Levels with Touch Counter - previous day/week/month highs and lows plus round numbers, with touch and sweep counts Draws the previous day, previous week and previous month high and low, plus automatic round-number levels around the current price. Every level carries a label with how many times price touched it and how many times a bar swept it (pierced the level and closed back on the original side). Counts use closed bars only, so they do not repaint. Optional alerts (popup, push, email, sound) for sweeps and new touches. Touch tolerance is a fraction of ATR or a fixed number of points. The 6 previous-period levels and their touch counts are exposed in 12 indicator buffers for use from an Expert Advisor with iCustom(). Works on any timeframe up to H4. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.
  • ORB Box + VWAP Stats - opening range box, 1R/2R targets, session VWAP and historical break statistics Draws the opening range of a configurable session (start time and length in minutes, with a server time zone adjustment), the 1R and 2R levels above and below the box, and the session VWAP (tick volume, or real volume when the broker provides it). A small panel counts, over the last N finished sessions, how many broke the range up only, down only, on both sides, or not at all, and how often price reached 1R and 2R after the first break. The statistics are historical counts: they describe the past and do not predict anything. Only closed bars are used, so nothing repaints; optional popup, push and sound alerts fire once per direction per session when a closed bar closes outside the box. Eight buffers (range, targets, VWAP, break state) can be read from an Expert Advisor with iCustom(). Works on M1 to M30, recalculates only new bars and deletes its chart objects when removed. Read-only: it never trades. No DLLs, no web requests.
  • Session High Low Alerts - Asia, London and New York session highs and lows with non-repainting break alerts Draws the high and low of the Asia, London and New York sessions as boxes or lines extended to the end of the day, with configurable session hours and a server time zone adjustment. Optional previous day and previous week high/low. When a CLOSED bar breaks the high or low of a session that has already finished, it can raise a popup alert, a push notification and/or a sound, once per level per day. Alerts are evaluated on closed bars only, so they do not repaint. The 10 levels are exposed in indicator buffers, so an Expert Advisor can read them with iCustom(). It recalculates only new bars, works on any timeframe up to H1, and deletes all its chart objects when removed. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.
  • Candle Pattern Stats - engulfing, pin bar and inside bar with a rolling historical hit rate Marks bullish and bearish engulfing, bullish and bearish pin bar and inside bar patterns with arrows, using closed bars only, so nothing repaints. The definitions (wick and body proportions, minimum bar size in ATR) are inputs, with an optional EMA trend filter. For each pattern a small panel shows a rolling historical statistic: the share of the last N resolved cases where price moved X ATR in the pattern direction before moving Y ATR against it, together with the number of cases. X, Y, N and the waiting time are inputs. The numbers describe what happened on your chart history; they do not predict the next trade. Optional alerts on closed bars (popup, push, sound). 20 buffers (signal, hit rate and sample size per pattern) can be read with iCustom(). Uses prev_calculated, deletes its chart objects when removed. Read-only: it never trades. No DLLs, no web requests.
  • Daily Loss Guard - daily loss and total drawdown limits for funded / prop-firm accounts Utility Expert Advisor that watches the account equity against two limits: a maximum daily loss and a maximum total drawdown. Each limit can be set as a percentage or as a money amount, and the daily loss can be measured from the balance or from the equity at the start of the day, as many prop firms do. When a limit is touched the EA closes all positions, deletes all pending orders and keeps the account locked until the next trading day: anything opened in the meantime, by another EA or by hand, is closed again. Optional early warning at a percentage of the limit (Alert and push), a small on-chart panel, a magic number / symbol filter, a configurable day-reset time and retries when a close fails. The state is stored in terminal global variables, so a restart does not unlock the account. Works on hedging and netting accounts. No DLLs, no web requests. It never opens trades (only the optional Strategy Tester demo mode does).
  • Trade Journal Exporter - closed trades to CSV, one row per position, with MFE/MAE, R multiple and session Exports your closed trade history to a CSV file with one row per position (not per deal), ready for Excel, Python or any journal. Each row has ticket, symbol, magic number, comment, side, volume, entry and exit time and price, duration, initial SL and TP when known, gross profit, commission, swap, net result and R multiple. It also calculates MFE and MAE (best and worst price reached while the trade was open, in points and in money) from the M1 bars between entry and exit, plus the entry session (Asia, London, New York) and weekday. Filter by magic number (lists and ranges) and symbol (wildcards), pick the period, the column separator (; or ,) and the decimal mark, and save to MQL5\Files or the common folder. Tested on hedging accounts and in the Strategy Tester (netting logic included; feedback welcome), where the file is written when the test ends. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.
  • Xander Grid RSI Gold XAUUSD grid EA that opens a basket when RSI leaves oversold or overbought on a closed candle, adds levels with a lot multiplier and closes the basket at a money or points target. Open source code.
  • Trade Manager Utility Manages positions that are already open: it adds a missing SL/TP, moves the stop to break even, trails it, caps the position count and applies daily equity limits. It never opens trades.
  • Session Range Breakout Draws the high and low of a chosen time window and alerts on the first break on each side. The levels are also available through iCustom.

The most popular forum topics:

Published article "Practical Modules from Other Languages in MQL5 (Part 09): MATPLOTLIB (II)".

Practical Modules from Other Languages in MQL5 (Part 09): MATPLOTLIB (II)

Learn how to create advanced visualizations in MetaTrader 5 using a Matplotlib-like API from MQL5 while Python handles rendering. We implement key chart types—scatter, bar, horizontal bar, histogram, pie, and hexbin—and show how to control axes, legends, colorbars, and styles. The result is a consistent workflow for exploring trading and financial datasets.

Published article "Confident Learning: Finding Mislabeled Trades Before They Poison Your Classifier".

Confident Learning: Finding Mislabeled Trades Before They Poison Your Classifier

The article focuses on label-auditing for meta-labeling, not on a new entry signal. It presents a native MQL5 implementation of confident learning with out-of-fold scoring and calibrated pruning, plus an EA switch that trains the meta-filter on raw or cleaned datasets. A controlled Strategy Tester comparison helps you quantify noise and choose a pruning level that preserves generalization.

5 new topics on forum:

and 2 more...

The most downloaded free products:

More than 900 new charts published:

Grafico BTCUSD.p, H4, 2026.10.30 06:41 UTC, Pepperstone EU Limited, MetaTrader 5, Real
BTCUSD.p, H4
차트 XAUUSD, M1, 2026.10.30 06:59 UTC, Startrader Financial Markets Limited, MetaTrader 5, Real
XAUUSD, M1
Chart ETHUSD, M15, 2026.10.30 07:17 UTC, Raw Trading Ltd, MetaTrader 5, Demo
ETHUSD, M15
There are more than 65,910 products available in Market

Bestsellers in the Market:

1...5678910111213141516171819...709