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.

23 new signals now available for subscription:

Gold EA Stop Loss No Martingale
161% 804 trades
Growth:161.27%
Equity:1,280.81USD
Balance:1,280.81USD
Sistem plus plus
69% 85 trades
Growth:68.54%
Equity:789.77USD
Balance:861.13USD
Titan Gravity Nina
47% 155 trades
Growth:46.90%
Equity:734.68EUR
Balance:734.51EUR
and 20 more...

Most downloaded source codes this week

  • ASQ Command Desk ASQ CommandDesk is a professional order management panel for manual traders on MetaTrader 5. You make the trading decisions — CommandDesk handles execution, risk control, and exit management automatically.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • KSQ CommandCenter Remote Google Sheets Trade Manager KSQ Command Centre is a production-ready, two-way bridge between MetaTrader 5 and Google Sheets. It was originally designed to help fund managers and quantitative traders remotely monitor and manage large, funded accounts (e.g., Darwinex Zero, Prop Firms, PAM, MAM) directly from a mobile browser, without needing to log in to a VPS. This Expert Advisor not only exports data—it actively listens for commands typed into your Google Sheet and executes them in MT5 in near real-time.

Most read articles this week

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.

How to Order a Trading Robot in MQL5 and MQL4

How to Order a Trading Robot in MQL5 and MQL4

"Freelance" is the largest freelance service for ordering MQL4/MQL5 trading robots and technical indicators. Hundreds of professional developers are ready to develop a custom trading application for the MetaTrader 4/5 terminal.

The most popular forum topics:

New publications in CodeBase

  • ATS Prop Rules Monitor - prop firm challenge scoreboard with the room left on every rule One panel for the rules of a prop firm challenge: daily loss, maximum loss (static or trailing), profit target, minimum trading days and the best-day (consistency) rule. For each one it shows how much is used and how much room is left, in money. "One more trade" tells you the largest lot size that still keeps a stop-out inside the room left today and in the max-loss room. Read-only: it never opens, changes or closes a trade. The presets hold typical values; firms change their rules, so check yours and use the Custom preset. Built on the ATS Risk Library (ATS_RiskLib.mqh, included).
  • ATS Risk Library - lot size from the stop, daily loss, drawdown and exposure guards A small include file for Expert Advisors and trade managers. It turns your risk rules into yes/no answers: how many lots does this stop allow, is the daily loss limit reached, is the maximum drawdown (static or trailing) reached, how much is at risk across all open positions, and are spread and session acceptable. The lot is never rounded up: if the broker minimum lot would risk more than allowed, the trade is skipped and the reason is returned. Limits survive a terminal restart. The library only measures: it sends no order. Includes a demo account guard (no trading by default) and a self-test with 78 checks.
  • Trend BOSS The Trend BOSS Indicator identifies regimes such as trending, ranging or volatile using a Bag-of-SFA-Symbols (BOSS) classifier. Gate your strategies behind specific regimes or use the indicator to identify various market conditions.
  • Market Activity from Quote Waits Measures market activity from the waits between quotes. An ACD model with the daily rhythm removed gives one ratio per tick: 1 is normal, 2 twice as busy.
  • Extrapolator Extrapolator fits a sum of sinusoidal harmonics to the recent price history and extends the fitted curve to the right of the last bar as a forecast.The forecast is a mathematical extrapolation of past cyclical behaviour, not a guarantee of future price movement. The last part of the line is redrawn while the current model bar is forming, and the fitted curve changes with each refit.
  • 87.8 Percent from 2021 to YTD at 8.5 Percent MaxDD. The Nikkei EA That Only Buys When Volume Is Quiet A free, fully open JPN225 (Nikkei 225) EA for M15. Buys when price leans up, momentum isn't stretched and volume is quiet. Backtest 2022 to 2026: profit factor 1.68, +18.5% a year, passed 15 stress tests. Flat by 17:00.
  • Tick Integrity Auditor Audits the tick history that 'Every tick based on real ticks' backtests replay. Five checks per symbol over the last N days: impossible and crossed quotes, timestamps that run backwards or repeat, one-tick price reversals sized in multiples of the symbol's own median spread, silences inside the broker's declared quote sessions, and minutes where the ticks and the M1 bars disagree. Every finding goes to CSV with its millisecond timestamp, and the tool prints its own arithmetic so the report can be recounted. Read only: no trade function, no DLL, no network.
  • Memory Sequence A specified moment in time can be analyzed through multiple synced timeframes from 1 host chart for a symbol.

The most downloaded free products:

There are more than 61,670 products available in Market

11 new signals now available for subscription:

EA Miracolo et Amazing Brain
806% 784 trades
Growth:806.43%
Equity:421.06USD
Balance:421.06USD
Stop Loss Forex Trader No Martingale
149% 292 trades
Growth:149.30%
Equity:94.05USD
Balance:94.05USD
Be Rich
98% 284 trades
Growth:97.74%
Equity:4,713.22USD
Balance:3,973.22USD
and 8 more...

Bestsellers in the Market:

There are more than 155,260 topics available on forum

4 new topics on forum:

and 1 more...

New publications in CodeBase

  • ORB Risk Managed - Opening Range Breakout with Account Protection Opening Range Breakout EA template with built-in account protection. Marks the high and low of the first N minutes after the session open and places OCO stop orders above and below the range. Includes risk-based position sizing, daily loss limit, maximum drawdown limit, ATR range filter, trade direction filter, and protection against positions carried overnight. All session times are configurable inputs. Educational template, not a profit-guaranteed system. Test on demo before any live use.
  • Broker Profiler Displays the symbol properties that cause the same EA to behave differently on a different broker: trading hours, contract size, tick value, spread statistics, swap cost and real-session coverage. Read-only; does not execute trades.
  • Closed Trades Exporter MAE MFE Exports closed trades to CSV with Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE) in points and money, calculated from M1 history, plus the percentage of the available move each trade captured.
  • Watchlist Chart Opener Opens charts for all Market Watch symbols or a custom symbol list in one click, on any timeframe, with an optional template applied to each chart. Skips charts that are already open and limits how many are opened at once.
  • ATR Candle Strength Shades the chart background by volatility regime (Compression, Normal, Expansion) based on the percentile rank of the current ATR. Shows the current regime on the chart, alerts on regime changes and exposes buffers for Expert Advisors.
  • Volatility Regime Shader Shades the chart background by volatility regime (Compression, Normal, Expansion) based on the percentile rank of the current ATR. Shows the current regime on the chart, alerts on regime changes and exposes buffers for Expert Advisors.
  • Session Sweep Boxes Draws Asian, London and New York session range boxes and marks liquidity sweeps: a closed bar that wicks beyond a completed session's high or low and closes back inside. Non-repainting arrows, extended session levels, alerts and iCustom-ready buffers.
  • AN Guard Lite - Trade Journal and Report for any EA Writes a CSV journal of every trade with the exit reason, and a report that shows how far each trade ran, in R. It never trades.
  • ICT Killzones and Session Pivots ICT killzones for MetaTrader 5: Asia, London and New York sessions drawn in New York time with automatic daylight-saving conversion, session highs and lows carried forward until price takes them, previous day, week and month levels, opening prices and time markers. One file, no DLL.
  • Closed Trades Exporter MAE MFE MT4 Exports closed trades to CSV with Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE) in points and money, calculated from M1 history, plus the percentage of the available move each trade captured.
  • Watchlist Chart Opener MT4 Opens charts for all Market Watch symbols or a custom symbol list in one click, on any timeframe, with an optional template applied to each chart. Skips charts that are already open and limits how many are opened at once.
  • ATR Candle Strength MT4 Shades the chart background by volatility regime (Compression, Normal, Expansion) based on the percentile rank of the current ATR. Shows the current regime on the chart, alerts on regime changes and exposes buffers for Expert Advisors.
  • Volatility Regime Shader MT4 Shades the chart background by volatility regime (Compression, Normal, Expansion) based on the percentile rank of the current ATR. Shows the current regime on the chart, alerts on regime changes and exposes buffers for Expert Advisors.
  • Session Sweep Boxes MT4 Draws Asian, London and New York session range boxes and marks liquidity sweeps: a closed bar that wicks beyond a completed session's high or low and closes back inside. Non-repainting arrows, extended session levels, alerts and iCustom-ready buffers.
There are more than 12,500 codes published in Codebase

More than 800 new charts published:

チャート EURUSD, H1, 2026.10.02 20:56 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, H1
Chart EURCAD.x, M15, 2026.10.02 07:25 UTC, Sarmaye Gozare Bartar Ltd., MetaTrader 5, Demo
EURCAD.x, M15
Grafik MAX GainX 2000, M1, 2026.10.02 23:44 UTC, Weltrade Ltd., MetaTrader 5, Demo
MAX GainX 2000, M1

The most downloaded free products:

There are more than 61,560 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • Arixis Market Regime Map - Trend, Range and Volatility Classifier Arixis Market Regime Map is a non-repainting MT5 indicator that classifies market conditions as Trend Up, Trend Down, Range or Transition using price efficiency, normalized slope, volatility, market structure and multi-horizon agreement.
  • Edge or Luck: bootstrap test of your average trade Resamples your closed trades 10,000 times to show whether your average trade is an edge or could still be luck: the 95% range of the average and the chance it is below zero.
  • Prop Firm Daily Loss Tracker - Daily Loss Limit Monitor Shows the day's result against the daily and max loss limits of a prop firm account, with a warning alert, in a panel on the chart.
  • Market Behavior Analyzer: Swing Structure and Market Context The Market Behavior Analyzer is a practical indicator designed to make market structure easier to read directly from the chart. It identifies significant swing points, classifies them as Higher Highs, Higher Lows, Lower Highs, and Lower Lows, and tracks the movement between them in pips. It also provides a Market Story panel and an interactive Swing Inspector for examining impulses, pullbacks, retracements, swing duration, and the developing market structure.
  • History Integrity Auditor Audits the bar history your terminal actually holds, which is the history every backtest and every indicator reads. Six checks per symbol: impossible OHLC values, broken bar times, bars missing while the broker's own session table says it was quoting, empty and flat bars, bars that disagree with the broker's own M1 series, and spread sanity. The headline figure is session coverage, not a grid percentage that mostly measures how many weekends you audited. Every finding goes to CSV with its bar time, and the audited bars plus the session table can be dumped so the whole report can be recounted by something other than this tool.
  • WaveMaster Pro EA Signal-Driven Automation for WaveMaster Oscilloscope. Automated execution engine for WaveMaster Oscilloscope. Reads signal buffers in real time. Full risk management, trailing, and break-even built in.
  • MD Scalper HFT – Trend / Reversal pending-stop scalper with trailing stop Scalping Expert Advisor that reads a 3-period smoothed MA channel (High/Low), places pending stop orders either with the move (Trend) or behind it (Reversal), and trails the stop loss tick by tick. It includes broker-safe order handling for stop level, freeze level, retries and latency.(Inspired by Waygrow Ea)

7 new topics on forum:

and 4 more...

18 new signals now available for subscription:

Youhave
629% 4358 trades
Growth:628.51%
Equity:45,910.59USD
Balance:55,644.47USD
Newstrader28
68% 127 trades
Growth:67.54%
Equity:93.46USD
Balance:94.48USD
GOLD SCALPING 07
38% 66 trades
Growth:37.80%
Equity:739.91USD
Balance:739.91USD
and 15 more...

Published article "Symbolic Fourier Approximation in MQL5: Benchmarking SFA Against SAX".

Symbolic Fourier Approximation in MQL5: Benchmarking SFA Against SAX

We implement Symbolic Fourier Approximation in MQL5 and compare it to SAX under a shared harness on identical price windows. SFA keeps low‑frequency Fourier coefficients and learns per‑position bins (MCB), with a proven, sound lower bound. The measurements show how the same bit budget behaves under different splits of word length and alphabet, and give a practical rule for choosing settings for your symbol.

Published article "Uncertainty as a Model (Part 2): Dependence Among Random Variables — From Correlation to Copulas".

Uncertainty as a Model (Part 2): Dependence Among Random Variables — From Correlation to Copulas

The second part of the series examines the mathematical framework for multivariate random variables, which is necessary for analyzing the dependence and joint behavior of market assets. This section describes joint distribution functions, the concepts of marginal and conditional distributions, and the conditions for dependence and independence of variables. The theoretical material is based on extending the analogy between probability and mass to multidimensional space. Particular attention is given to measures of association: from classical linear covariance and correlation to modern tools such as copulas and Shannon mutual information.

Published article "Building Volatility Models in MQL5: Implementing the APARCH Volatility Process".

Building Volatility Models in MQL5: Implementing the APARCH Volatility Process

The article introduces the APARCH volatility process to the MQL5 library via the CAparchProcess class, estimating the power exponent (delta) jointly with other parameters. It details the recursion, parameter bounds, stationarity constraints, and starting values and reports SLSQP solver updates that streamline optimization. Implementation correctness is partially validated by reproducing approximations of GARCH and GJR-GARCH conditional volatility under parameter restrictions. A companion APARCH indicator visualizes conditional volatility, standardized residuals, and delta to track volatility dynamics and parameter drift.

Published article "Trade Duration vs Profitability Scatter Plot Indicator in MQL5".

Trade Duration vs Profitability Scatter Plot Indicator in MQL5

The article presents a compact dashboard that relates trade duration to net profit using MQL5 and CCanvas. It pulls closed deals, derives duration in minutes, and renders a log‑scaled scatter by symbol, with an overlaid least‑squares line and R². A bucketed duration view identifies which hold‑time range produced the highest average result, helping assess exit timing.

Published article "Neural Networks in Trading: Robust Trading Signals in Any Market Regime (ST-Expert)".

Neural Networks in Trading: Robust Trading Signals in Any Market Regime (ST-Expert)

In this article, we will explore the ST-Expert framework, which ensures the robustness of forecasts under market uncertainty by taking local and global dependencies in time series into account. Its flexible architecture promotes model adaptability and improves the accuracy of predictions.

The most downloaded free products:

More than 700 new charts published:

Chart Volatility 25 (1s) Index, H4, 2026.10.01 12:32 UTC, Deriv.com Limited, MetaTrader 5, Demo
Volatility 25 (1s) Index, H4
차트 XAUUSD, M5, 2026.10.01 02:16 UTC, Five Percent Online Ltd, MetaTrader 5, Demo
XAUUSD, M5
チャート EURUSD, D1, 2026.10.01 00:27 UTC, Raw Trading Ltd, MetaTrader 5, Demo
EURUSD, D1
There are more than 61,450 products available in Market

Bestsellers in the Market:

5 new topics on forum:

and 2 more...

21 new signals now available for subscription:

VSA
1,159% 159 trades
Growth:1,158.60%
Equity:577.93USD
Balance:568.79USD
Legend Gold
43% 54 trades
Growth:42.94%
Equity:836.02USD
Balance:836.02USD
Action Trader
37% 62 trades
Growth:36.78%
Equity:4,137.59USD
Balance:4,137.59USD
and 18 more...

New publications in CodeBase

There are more than 3,470 articles published on site

Published article "Building a Market Behavior Analyzer in MQL5".

Building a Market Behavior Analyzer in MQL5

We outline a modular analyzer for MetaTrader 5 that separates detection, interpretation, and visualization. The engine identifies swing highs and lows, assigns structural labels, evaluates impulses and pullbacks, and stores results in a market state object. An on‑chart dashboard and interactive inspection tools make the latest structure and measurements immediately accessible.

Published article "From Novice to Expert: Trading Multi-Symbol Basket".

From Novice to Expert: Trading Multi-Symbol Basket

The article develops a multi-symbol basket EA that standardizes prices, derives PCA weights with native MQL5 matrices, forms a synthetic spread, and trades z-score deviations from a rolling mean. It validates symbols and synchronized history, stabilizes component orientation, maps signed weights to leg directions, and applies broker-aware volumes, stops, and netting rules. Basket entries run with rollback protection and chart status, with a reproducible testing procedure.

Published article "Market Microstructure in MQL5 (Part 9): Pullback Quality".

Market Microstructure in MQL5 (Part 9): Pullback Quality

Part 9 adds a second measurement layer to Part 8's micro‑trend signal: pullback quality. It maps Fibonacci retracement depth to a six‑level PULLBACK QUALITY label, adds an H1 range position from a 60‑bar rolling proxy, and uses lag‑1 momentum autocorrelation. These inputs form a single composite entry‑quality score in [0,1] for filtering setups and sizing trades within MicroStructure_Foundation.mqh.

Published article "Intrinsic Time: From the Directional-Change Scaling Laws to the Alpha Engine".

Intrinsic Time: From the Directional-Change Scaling Laws to the Alpha Engine

The article implements intrinsic-time analysis in MQL5: an event-based directional-change operator that splits ticks into directional-change and overshoot sections. We reproduce the core scaling laws on 17.8 million live EUR/USD ticks and compare them to a random-walk baseline. Finally, we build a hedging-account Expert Advisor that trades the Alpha Engine with limit orders, detailing thresholds, inventory skew, and liquidity control for practical reuse.

Published article "Implementing and Comparing Five Historical Volatility Estimators in MQL5".

Implementing and Comparing Five Historical Volatility Estimators in MQL5

The study implements five historical-variance estimators in MQL5 and evaluates their one-session-ahead persistence forecasts for EURUSD D1 sessions using an M1 realized-variance proxy. Deterministic tests cover formulas, chronological order, and target construction. A configurable indicator, comparison scripts, and CSV outputs provide reproducible losses, calibration diagnostics, a common‑target mask, and sensitivity to the estimation window.

Published article "Money Management in MQL5 (Part 1): Kelly Position Sizing from the Strategy's Own Edge".

Money Management in MQL5 (Part 1): Kelly Position Sizing from the Strategy's Own Edge

This article applies the Kelly criterion to position sizing in native MQL5. It presents a reusable CKelly class that estimates win rate and payoff from closed deals, derives the Kelly fraction, and sizes lots from a stop distance. A Monte Carlo sweep of the Kelly multiplier shows growth peaking at full Kelly while drawdown and ruin increase, motivating fractional Kelly such as half Kelly that preserves most growth with materially lower drawdown.

Published article "Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 5): Fill Rules, Holes and Borders".

Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 5): Fill Rules, Holes and Borders

Part 5 adds a fill rule to the rasterizer and a stroke helper to the path. The engine now supports both non-zero and even-odd fills via a single enum parameter, enabling rings, true borders that do not repaint interiors, and glyph counters. AddThickLine() builds strokes from fills in one path and one pass, preserving uniform opacity at joints and showing why strokes require the non-zero rule.

More than 1000 new charts published:

Gráfico EURUSD, H4, 2026.09.30 14:14 UTC, FundedNext Ltd, MetaTrader 5, Real
EURUSD, H4
チャート XAUUSD, M15, 2026.09.30 13:54 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, M15
차트 USDJPY, H1, 2026.09.30 11:16 UTC, Black Bull Group Limited, MetaTrader 4, Demo
USDJPY, H1
There are more than 61,330 products available in Market

The most downloaded free products:

Bestsellers in the Market:

The most popular forum topics:

24 new signals now available for subscription:

Vanvan
2,660% 528 trades
Growth:2,659.76%
Equity:1,000.57USD
Balance:1,000.57USD
QImpulse_FPT
389% 810 trades
Growth:389.10%
Equity:410.66USD
Balance:410.66USD
KAFUMAN
161% 412 trades
Growth:161.18%
Equity:52,236.52USD
Balance:52,236.52USD
and 21 more...

5 new topics on forum:

and 2 more...

Published article "How to Implement Competition Among LLM Agents in MetaTrader 5".

How to Implement Competition Among LLM Agents in MetaTrader 5

The article describes a competitive architecture for MetaTrader 5 in which ten LLM agents, each with different trading rules, manage their own capital and open independent positions using unique magic numbers. The system prompt and the agent's trading aggressiveness are adjusted based on PnL results and the trade streak. A reproducible framework with operating modes and monitored metrics is presented, suitable for testing and further optimization.

New publications in CodeBase

  • Mirror Hedge EA (Same terminal and account only) Mirrors trades opened, modified, and closed by another EA on the same hedging account, selected by magic number. By default it inverts direction (Buy↔Sell, SL↔TP), so you can forward-test the reverse of a strategy with real spreads, slippage, and execution.
  • Arixis Backtest Robustness Analyzer A free open-source MT5 utility for analyzing historical trading performance beyond Profit Factor.
  • ATS Liquidity City - liquidity pools and sweeps, drawn as a neon city Shows where stops are likely resting and which ones were just taken. Liquidity pools = confirmed swing highs and lows that price has not traded through yet, equal highs/lows (a bigger pool) and yesterday's high and low. When a bar trades beyond a pool it is marked as swept, and as "grabbed & rejected" if the same bar closes back inside. Non-repainting: a swing is used only after N closed bars on each side. The panel is a neon city drawn on a CCanvas: the price is a flying car, sell stops are towers below it, buy stops floating platforms above it, yesterday's levels golden billboards, a searchlight sweeps the sky and a ticker runs today's catch. Two buffers give the nearest active pool above and below for use in an Expert Advisor. Indicator only: it never trades.
  • Repaint Inspector Measures whether an indicator repaints instead of trusting the claim. It re-reads the buffers of any custom indicator on bars that have already closed and counts every value that changes, appears or disappears, with the furthest shift back at which that still happens. Verdict per buffer on a chart panel, every event written to CSV.
  • Edge Drift Detector Tests whether live closing deals still match the backtest of an Expert Advisor. A bootstrap-calibrated CUSUM detector raises an alarm and estimates when the drift began, a two-window check separates a short dip from a lasting decline, and an expectancy decomposition shows whether the win rate or the trade sizes changed. The script generates demonstration data on the first run and is written in pure MQL5.

Published article "Neural Networks in Trading: A Unified View of Space and Time (Conclusion)".

Neural Networks in Trading: A Unified View of Space and Time (Conclusion)

The Extralonger framework demonstrates a unique ability to integrate spatial and temporal factors into a single model, ensuring high forecast accuracy. Its architecture allows it to adapt to different planning horizons and financial instruments while maintaining the system's transparency and manageability.

1...121314151617181920212223242526...708