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.

6 new topics on forum:

and 3 more...
There are more than 3,170 articles published on site

Published article "Building Your Personal Expert Advisor (Part 1): From Fragile Script to Working EA".

Building Your Personal Expert Advisor (Part 1): From Fragile Script to Working EA

This article focuses on EA architecture rather than signal design. Starting with a flawed Moving Average crossover EA, we add new‑bar detection to prevent duplicate entries, Magic Number and position awareness, ATR‑based risk levels, and data and trade result validation, along with basic safeguards. You obtain a practical base to build and test advanced systems.

Published article "Automated Trade Statement Exporter to Excel-Compatible XLSX in MQL5".

Automated Trade Statement Exporter to Excel-Compatible XLSX in MQL5

An MQL5 script reconstructs closed trades from deal history using a two-pass SL/TP lookup and exports them to an Excel-compatible XLSX file without third-party libraries. Four cooperating classes handle trade data, history reconstruction, SpreadsheetML XML generation, and ZIP assembly via .NET's ZipFile class through a direct ShellExecuteW call with marker-file polling. The output opens in Excel and Google Sheets with correct numeric types, formatted date columns, and a bold header row.

Published article "Bayesian Online Change-Point Detection (BOCPD) in MQL5: One Regime-Break Signal, Three Ways to Use It".

Bayesian Online Change-Point Detection (BOCPD) in MQL5: One Regime-Break Signal, Three Ways to Use It

This article delivers Bayesian Online Change-Point Detection as a single, dependency-free MQL5 class that maintains a per-bar, causal probability of a regime break. We use it three ways: a live monitor, a moving average that flushes on breaks, and a risk overlay with a matched-frequency random control. Readers get a reusable primitive to watch structural change, adapt indicators, and gate exposure after detected shifts.

Published article "Creating a Probabilistic Market-Neutral Trading Robot Based on a Return Distribution".

Creating a Probabilistic Market-Neutral Trading Robot Based on a Return Distribution

A market-neutral trading strategy based on the empirical return distribution offers an alternative to traditional technical analysis methods, replacing price direction forecasting with the statistical placement of orders at levels the price is likely to reach. This article provides a detailed analysis of the mathematical framework for calculating percentiles, algorithms for weighting position sizes based on the probability of an order being triggered, and mechanisms for adapting to changing market conditions through grid expiration. A complete implementation in MQL5 is provided.

Published article "Crow Search Algorithm (CSA)".

Crow Search Algorithm (CSA)

The Crow Search Algorithm (CSA) is an elegant metaheuristic inspired by crows’ ability to hide food and find other crows' caches, solving optimization problems by balancing following successful solutions with random exploration of the search space. Let's find out how well the algorithm performs.

The most downloaded free products:

More than 900 new charts published:

Chart USDCHF, H1, 2026.08.03 02:48 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
USDCHF, H1
Gráfico XAUUSD, MN1, 2026.08.03 02:54 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, MN1
Graphique DJIUSD., M5, 2026.08.03 22:10 UTC, Aron Markets Ltd, MetaTrader 5, Demo
DJIUSD., M5
There are more than 55,730 products available in Market

15 new signals now available for subscription:

Fx Swing
950% 10377 trades
Growth:950.15%
Equity:12,745.30USD
Balance:15,340.19USD
Revolution
225% 123 trades
Growth:224.98%
Equity:266.10USD
Balance:266.10USD
CWDT GRID HIGH RISK
114% 1571 trades
Growth:114.42%
Equity:1,875.67EUR
Balance:2,588.30EUR
and 12 more...

Bestsellers in the Market:

7 new topics on forum:

and 4 more...

Published article "Trading Options Without Options (Part 3): Complex Option Strategies".

Trading Options Without Options (Part 3): Complex Option Strategies

The article discusses flat (non-directional) and trend-following (directional) option strategies and their implementation in MQL5. The EA described in the previous article is updated. The display of option levels has been added. Now it is time to examine the strategies used by options traders in practice and put them into action.

Published article "Formulating Dynamic Multi-Pair EA (Part 10): Asymmetric Stop-Loss Logic Based on Pair-Specific Volatility Signatures".

Formulating Dynamic Multi-Pair EA (Part 10): Asymmetric Stop-Loss Logic Based on Pair-Specific Volatility Signatures

The EA learns each symbol's volatility profile before trading by processing 1000 bars and summarizing candle ranges, bodies and wicks, noise ratio, trend runs, pullback size, and true‑range dispersion. A classifier assigns regime and structure labels per pair. The stop‑loss optimizer maps those labels to a symbol‑specific ATR multiplier, and the risk module sizes lots to maintain constant percentage risk.

Published article "Price Action Analysis Toolkit Development (Part 76): One-Click Symbol Dashboard for Centralized Multi-Chart Management in MQL5".

Price Action Analysis Toolkit Development (Part 76): One-Click Symbol Dashboard for Centralized Multi-Chart Management in MQL5

Learn to assemble an MT5 Expert Advisor that hosts a chart management dashboard written in MQL5. The guide walks through shared definitions, symbol acquisition and filtering, chart lifecycle functions, and a UI panel with search, scrolling, and state indicators, all driven by events and a timer. The result is a reproducible tool that reduces clicks and accelerates multi-symbol analysis.

Published article "Automating Classic Market Methods in MQL5 (Part 5): The Original Turtle Trading Rules".

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

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 10/20-day exits. You will get compilable code, implementation details, and a backtesting procedure on EURUSD.

More than 800 new charts published:

Chart XAUUSD, M5, 2026.08.01 00:09 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
XAUUSD, M5
Chart GBPJPY, M15, 2026.08.02 21:40 UTC, Tradexfin Limited, MetaTrader 4, Demo
GBPJPY, M15
Gráfico XAUUSD, M1, 2026.08.01 02:43 UTC, RoboForex Ltd, MetaTrader 5, Demo
XAUUSD, M1

The most downloaded free products:

Bestsellers in the Market:

There are more than 55,640 products available in Market

New publications in CodeBase

  • Portfolio Correlation Analyzer Read-only analytics for accounts that run several Expert Advisors. It groups closed trades by magic number and measures what running those systems together actually saves you: standalone versus combined drawdown, the pairwise correlation matrix drawn as a heat map on the chart, and a Monte Carlo reshuffle of the portfolio's period returns.
  • SHK Heikin Ashi MACD Signal Arrows A MetaTrader 5 chart indicator that draws Heikin Ashi candles, confirmed buy and sell arrows, optional MACD histogram divergence filtering, and configurable alerts.
  • Institutional Ehlers Fisher Transform (PDF Normalizer) A DSP oscillator for MT4 that applies Ehlers' Fisher Transform to reshape price into a Gaussian normal distribution, eliminating boundary flattening to catch zero-lag structural reversals.

Most downloaded source codes this week

  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

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.

11 new signals now available for subscription:

OMO Momentum NAS100
197% 511 trades
Growth:197.20%
Equity:4,447.49EUR
Balance:4,500.20EUR
Dragon Titan
62% 65 trades
Growth:61.75%
Equity:1,750.65USD
Balance:1,750.65USD
CopyPasteFX
44% 28 trades
Growth:44.41%
Equity:722.07EUR
Balance:722.07EUR
and 8 more...

The most popular forum topics:

6 new topics on forum:

and 3 more...

The most downloaded free products:

5 new topics on forum:

and 2 more...

15 new signals now available for subscription:

Tradingcontob
599% 3392 trades
Growth:599.14%
Equity:692,160.55EUR
Balance:692,160.55EUR
XAUUSDabc EA
160% 253 trades
Growth:159.53%
Equity:908.82USD
Balance:908.82USD
GOLD123 EA
112% 249 trades
Growth:112.29%
Equity:2,145.46USD
Balance:2,145.46USD
and 12 more...
There are more than 55,550 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • GoldLondonBreakout Locks in the Asian session range on XAUUSD, then places an OCO breakout pair (BuyStop/SellStop) for the London open, with ATR-based stops and risk-percent position sizing. No indicators, no discretion — the range is measured, not guessed.
  • RSI Histogram This is an MQL5 custom indicator for MetaTrader 5 called RSI Histogram. It plots the standard RSI line in a separate window, plus a color-coded histogram version of the same RSI values that changes color based on momentum:
  • EVT Crash Gauge Extreme Value Theory (EVT) ported into MQL5 for gauging potential crashes and upsets in the market.

The most downloaded free products:

There are more than 55,470 products available in Market

More than 1400 new charts published:

Chart Crude, H4, 2026.07.31 01:38 UTC, FXTM, MetaTrader 4, Demo
Crude, H4
图表 GBPUSD, H4, 2026.07.31 01:42 UTC, Stratos Trading Pty. Limited, MetaTrader 4, Real
GBPUSD, H4
Grafico USDCHF.pro, M5, 2026.07.30 07:26 UTC, OANDA TMS Brokers S.A., MetaTrader 5, Real
USDCHF.pro, M5

Bestsellers in the Market:

New publications in CodeBase

  • Sessionvolatilityheatmap Shows average price range per hour of the trading day as an on-chart heatmap, plus Asian/London/New York session shading behind the candles — so you can see when a symbol actually moves, not just guess.
  • Trade Journal and Performance Analytics Dashboard A lightweight on-chart dashboard that reads your closed trade history and shows win rate, profit factor, streaks, and an equity curve — no strategy inputs, just your own numbers, refreshed automatically.
  • SAX Forecaster A forecaster made from Symbolic Aggregate approXimation (SAX)
  • Session Scalping Zones Session-Based Scalping Indicator for MetaTrader 5. It automatically marks the Asian session high and low, then generates scalping signals at the London open when price breaks or retests those levels. The indicator draws dynamic session ranges, sends alerts and push notifications, and includes optional trend, volume and time filters. Works on M1, M5 and M15 charts for any symbol.
There are more than 154,370 topics available on forum

8 new topics on forum:

and 5 more...

13 new signals now available for subscription:

Dynamic Liquidity Intelligence pep50
493% 86 trades
Growth:493.20%
Equity:296.60USD
Balance:296.60USD
Breakthrough one order at a time
364% 14695 trades
Growth:363.68%
Equity:4,562.88USD
Balance:4,562.88USD
Janus Zone Older version
94% 190 trades
Growth:93.92%
Equity:816.53USD
Balance:816.53USD
and 10 more...

Published article "Automating Classic Market Methods in MQL5 (Part 4): Mark Minervini's Trend Template".

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

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. The entry trigger is a 20-bar high breakout on expanding volume, with all rules coded and testable in MQL5.

Published article "Developing a Multi-Currency Expert Advisor (Part 29): Improving the Conveyor".

Developing a Multi-Currency Expert Advisor (Part 29): Improving the Conveyor

We are going to improve the usability of the automated optimization conveyor: we will explore the process from creating an optimization project to testing the final EA. For clarity, let us walk through the entire process step by step creating the final EA, while stopping to make any desired corrections.

Published article "How to Research a Trading Idea: A Range Breakout Strategy Case Study".

How to Research a Trading Idea: A Range Breakout Strategy Case Study

This article demonstrates a practical approach to researching trading ideas using a range breakout strategy as an example. We will go through the entire process, from formalizing trading rules and building a baseline model to parameter optimization, forward testing, and evaluating the robustness of the results. The main goal of the article is to develop an understanding of how statistics and testing can be used to identify, validate, and evaluate trading hypotheses.

Published article "Exporting MetaTrader 5 Open Positions to a Live-Refreshing HTML Dashboard".

Exporting MetaTrader 5 Open Positions to a Live-Refreshing HTML Dashboard

The article builds an MQL5 Expert Advisor that writes a self-refreshing HTML positions dashboard to MQL5/Files on every tick, so you can monitor open trades in any browser. It covers reading live position data, generating a complete page with inline CSS and a JavaScript reload timer, and writing the file atomically. The design escapes HTML in comments, shows an explicit empty state, and writes a clear offline page on EA shutdown.

The most downloaded free products:

Bestsellers in the Market:

9 new topics on forum:

and 6 more...
There are more than 55,380 products available in Market

20 new signals now available for subscription:

ActInvest IC MARKETS
490% 17540 trades
Growth:489.68%
Equity:103,682.42EUR
Balance:125,752.59EUR
Gold Reaper V4 small balance
226% 296 trades
Growth:225.68%
Equity:613.05EUR
Balance:613.05EUR
PsiqueTrader
150% 482 trades
Growth:149.83%
Equity:7,494.80BRL
Balance:7,494.80BRL
and 17 more...
1...121314151617181920212223242526...692