Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

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.

Published article "Developing a Multi-Currency Advisor (Part 27): Component for Displaying Multi-Line Text".

Developing a Multi-Currency Advisor (Part 27): Component for Displaying Multi-Line Text

If there is a need to display text on a chart, we can use the Comment() function. But its capabilities are quite limited. Therefore, in this article, we will create our own component - a full-screen dialog window capable of displaying multi-line text with flexible font settings and scrolling support.

Published article "Price Action Analysis Toolkit Development (Part 67): Automating Support and Resistance Monitoring in MQL5".

Price Action Analysis Toolkit Development (Part 67): Automating Support and Resistance Monitoring in MQL5

This article implements a complete MQL5 Expert Advisor that monitors manually drawn support and resistance levels in real time. It synchronizes horizontal lines, detects approaches, touches, breakouts, reversals, and retests, and adds optional candlestick pattern checks. Alerts and on‑chart markers provide clear, repeatable feedback, allowing you to keep manual analysis while automating the surveillance of key price levels.

Published article "Building Volatility Models in MQL5 (Part II): Implementing GJR-GARCH and TARCH in MQL5".

Building Volatility Models in MQL5 (Part II): Implementing GJR-GARCH and TARCH in MQL5

The article implements GJR-GARCH and TARCH in an MQL5 volatility library and explains why asymmetry improves on standard ARCH/GARCH. It covers model formulation, parameterization, and usage through derived classes and scripts. Readers get code examples for calibration and one-step-ahead forecasting on real data to support risk and diagnostics.

Published article "MQL5 Trading Tools (Part 29): Step-by-Step Butterfly Animation on Canvas".

MQL5 Trading Tools (Part 29): Step-by-Step Butterfly Animation on Canvas

In this article, we expand our butterfly animation program with a four-stage animation pipeline: sequential curve drawing, smooth wing fill fading, detailed body rendering, and continuous flight. We implement a timer-driven state machine, four oscillators for wing flapping, vertical bobbing, horizontal sway, and tilt, as well as a neon glow around the wing outlines and a cyclical color change based on hue. You will learn how to structure these effects on the MetaTrader 5 canvas for clean and controlled playback.

Published article "How to connect AI agents to MetaTrader 5 via MCP".

How to connect AI agents to MetaTrader 5 via MCP

This article shows how to connect AI agents directly to MetaTrader 5 by building a complete MCP (Model Context Protocol) server in Python. It details the architecture, MetaTrader 5 client wrapper, market data and order handlers, and tool registration over stdio, with testing via MCP Inspector and connections to clients like Claude Desktop or OpenClaw. The result is a standardized bridge for natural-language queries, live data retrieval, and safe order execution in MetaTrader 5.

More than 1000 new charts published:

Gráfico GBPUSD, H1, 2026.04.29 11:07 UTC, Core Prime Ltd., MetaTrader 5, Demo
GBPUSD, H1
Gráfico Drift Switch Index 20, H1, 2026.04.29 13:02 UTC, Deriv.com Limited, MetaTrader 5, Demo
Drift Switch Index 20, H1
Chart XAUUSD, H1, 2026.04.29 10:19 UTC, Deriv.com Limited, MetaTrader 5, Demo
XAUUSD, H1

Bestsellers in the Market:

The most downloaded free products:

There are more than 51,230 products available in Market

The most popular forum topics:

There are more than 153,460 topics available on forum

4 new topics on forum:

and 1 more...

23 new signals now available for subscription:

HP Trade Pro PUPrime
148% 121 trades
Growth:147.97%
Equity:2,766.27USD
Balance:2,766.27USD
HP Trade Pro Vantage
66% 66 trades
Growth:65.76%
Equity:17,882.80USD
Balance:17,882.80USD
DCAbyAI
38% 1183 trades
Growth:38.20%
Equity:5,534.68USD
Balance:6,886.75USD
and 20 more...

Published article "CAPM Model Indicator for the Forex Market".

CAPM Model Indicator for the Forex Market

Adaptation of the classical CAPM model for the Forex currency market in MQL5. The indicator calculates expected return and risk premium based on historical volatility. The indicators rise at peaks and bottoms, reflecting the fundamental principles of pricing. Practical application for counter-trend and trend-following strategies, taking into account the dynamics of the risk-reward ratio in real time. The article includes mathematical apparatus and technical implementation.

Published article "Trading Options Without Options (Part 1): Basic Theory and Emulation Through Underlying Assets".

Trading Options Without Options (Part 1): Basic Theory and Emulation Through Underlying Assets

The article describes a variant of options emulation through an underlying asset implemented in the MQL5 programming language. The pros and cons of the chosen approach are compared with real exchange options using the example of the FORTS futures market of the MOEX Moscow exchange and the Bybit crypto exchange.

More than 1100 new charts published:

Gráfico EURCAD, H4, 2026.04.28 18:56 UTC, GBE brokers Ltd, MetaTrader 5, Demo
EURCAD, H4
Graphique XAUUSD, M5, 2026.04.28 18:35 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, M5
Grafik GER40, M1, 2026.04.28 08:12 UTC, First Prudential Markets Limited, MetaTrader 4, Real
GER40, M1

The most downloaded free products:

Bestsellers in the Market:

There are more than 51,140 products available in Market

Most downloaded source codes this month

  • Pro MA Crossover EA for MT5 - Free Source Code and Template This EA serves as a template for traders interested in automating strategies in MT5. It implements a Moving Average crossover system and can be used as-is or customized by adjusting its settings. The free source code is designed to be easily modified for adding new indicators, logic, and trading features.
  • Liquidity Sweep H4 - M15 (Swing Highs and Lows) / MQL5 This Expert Advisor (EA) is designed to detect swing highs and lows on the H4 timeframe, then wait for sweeps (liquidity grabs) on the M15 timeframe to trigger buy/sell trades with defined risk management.
  • ExMachina Smart Money Concepts Complete SMC toolkit: BOS/CHoCH detection, Order Blocks (internal + swing), Fair Value Gaps, Equal Highs/Lows, Premium/Discount zones, Strong/Weak H/L, trend candles, dashboard, 4-channel alerts. Free.

Most read articles this month

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.

36 new signals now available for subscription:

NeuroVector X AI EA
528% 65 trades
Growth:527.67%
Equity:31,383.64USD
Balance:31,383.64USD
ELDorado Neural Edge
198% 140 trades
Growth:198.39%
Equity:1,506.69USD
Balance:1,506.69USD
SP500 Roboforex
57% 113 trades
Growth:57.30%
Equity:83.58USD
Balance:102.12USD
and 33 more...

5 new topics on forum:

and 2 more...
There are more than 2,810 articles published on site

Published article "File-Based Versioning of EA Parameters in MQL5".

File-Based Versioning of EA Parameters in MQL5

This article explains how to implement parameter versioning in MQL5 using binary files and packed structures. It shows how to write and read fixed-size records with FileWriteStruct and FileReadStruct in FILE_BIN mode, including version numbers, timestamps, and a checksum. You will also see how to detect changes via checksums, append records safely, and load the latest configuration without overwriting prior settings.

Published article "Building a Trade Analytics System (Part 2): How to Capture Closed Trades and Send JSON in MQL5".

Building a Trade Analytics System (Part 2): How to Capture Closed Trades and Send JSON in MQL5

We build a lightweight bridge that captures closed trades in MetaTrader 5 and sends them to an external backend over HTTP as JSON. It uses OnTradeTransaction for event detection, reads details from deal history, assembles a JSON payload, and posts it via WebRequest. A local Flask API is used to test the flow, delivering a working path to move trade data outside the terminal.

Published article "Automating Trading Strategies in MQL5 (Part 48): Order Blocks, Inducement, Break of Structure".

Automating Trading Strategies in MQL5 (Part 48): Order Blocks, Inducement, Break of Structure

We implement an MQL5 expert advisor that detects order blocks formed after consolidation breakouts and confirms them with fair value gaps. Each zone is validated by a break of structure and a preceding inducement, then filtered by the higher-timeframe trend. The program adds mitigation tracking, risk-based lot sizing, and two trailing stop modes, providing clear on-chart visuals and backtest-ready trade execution logic.

Published article "Using the MQL5 Economic Calendar for News Filter (Part 4): Accurate Backtesting with Static Data".

Using the MQL5 Economic Calendar for News Filter (Part 4): Accurate Backtesting with Static Data

This article implements a static, CSV-based news source for the Strategy Tester, so historical economic news events can be preloaded and queried during backtesting. It replaces live calendar calls in tester mode with a fast in-memory search, preserves the live logic for trading, and delivers deterministic, repeatable results with explicit control over included events, enabling reliable validation of news-aware filters, stop suspension, and trade-blocking rules.

Published article "Neural Networks in Trading: Detecting Anomalies in the Frequency Domain (CATCH)".

Neural Networks in Trading: Detecting Anomalies in the Frequency Domain (CATCH)

The CATCH framework combines Fourier transform and frequency patching to accurately identify market anomalies beyond the reach of traditional methods. Let us examine how this approach reveals hidden patterns in financial data.

More than 1200 new charts published:

Gráfico XAUUSDb, M1, 2026.04.27 00:28 UTC, HF Markets (SV) Ltd., MetaTrader 5, Real
XAUUSDb, M1
Chart USOIL, M15, 2026.04.27 03:42 UTC, BenchMark Finance AD, MetaTrader 4, Real
USOIL, M15
Gráfico EURUSD., H1, 2026.04.27 00:09 UTC, Tradexfin Limited, MetaTrader 5, Demo
EURUSD., H1

The most downloaded free products:

7 new topics on forum:

and 4 more...
There are more than 51,050 products available in Market

The most popular forum topics:

Bestsellers in the Market:

25 new signals now available for subscription:

MYFX
170% 1197 trades
Growth:169.92%
Equity:56,624.72USD
Balance:56,624.72USD
Target chaser
101% 248 trades
Growth:100.87%
Equity:213.18USD
Balance:213.18USD
GOLD IS MY GYME
40% 80 trades
Growth:39.78%
Equity:2,104.75USD
Balance:2,194.26USD
and 22 more...

Published article "Neural Networks in Trading: Adaptive Detection of Market Anomalies (Final Part)".

Neural Networks in Trading: Adaptive Detection of Market Anomalies (Final Part)

We continue to build the algorithms that form the basis of the DADA framework, which is an advanced tool for detecting anomalies in time series. This approach enables effective distinguishing random fluctuations from significant deviations. Unlike classical methods, DADA dynamically adapts to different data types, choosing the optimal compression level in each specific case.

Published article "Deterministic Oscillatory Search (DOS)".

Deterministic Oscillatory Search (DOS)

Deterministic Oscillatory Search (DOS) algorithm is an innovative global optimization method that combines the advantages of gradient and swarm algorithms without the use of random numbers. The fitness oscillation and slope mechanism allows DOS to explore complex search spaces in a deterministic manner.

Published article "From Novice to Expert: Automating Base-Candle Geometry for Liquidity Zones in MQL5".

From Novice to Expert: Automating Base-Candle Geometry for Liquidity Zones in MQL5

This article implements an MQL5 module that analyzes the lower‑timeframe bars inside each liquidity‑zone base candle. It detects swing points and applies objective rules to classify the internal structure as an ascending, descending, or symmetrical triangle; a rectangle; M; W; or undefined. The indicator displays geometry labels on the chart and adds the pattern to alerts, reducing manual lower‑timeframe inspection.

Published article "Engineering Trading Discipline into Code (Part 4): Enforcing Trading Hours and News Disabling in MQL5".

Engineering Trading Discipline into Code (Part 4): Enforcing Trading Hours and News Disabling in MQL5

An MQL5 control system that blocks orders outside scheduled trading hours and during scheduled news releases, converting time rules into executable restrictions. It combines a permissions management mechanism, a transaction-level expert advisor, and a visual dashboard for real-time status and upcoming restrictions. Configuration is accomplished using editable files, with caching and a CSV audit log for traceability.

Published article "MQL5 Trading Tools (Part 28): Filling Sweep Polygons for Butterfly Curve in MQL5".

MQL5 Trading Tools (Part 28): Filling Sweep Polygons for Butterfly Curve in MQL5

We expand the capabilities of the MetaTrader 5 butterfly curve canvas by adding multi-layered wing fills, vein lines, scale dots, and a full body (abdomen, thorax, head, eyes, antennae). This article implements polygon fills with vertical and radial gradients, as well as filled circles and ellipses, all using supersampling antialiasing. You will also receive reusable MQL5 helper functions and a rendering order that transforms a simple curve into a customizable, detailed chart illustration.

Published article "MetaTrader 5 Machine Learning Blueprint (Part 13): Implementing Bet Sizing in MQL5".

MetaTrader 5 Machine Learning Blueprint (Part 13):  Implementing Bet Sizing in MQL5

We build a production MQL5 bet‑sizing toolkit: utilities, snippets, and user‑level functions that mirror the Python originals. The methods cover probability‑to‑size mapping with overlap correction, dynamic forecast‑price sizing (calibrated sigmoid/power with limit price), occupancy‑based budgeting, and mixture‑model reserve sizing (EF3M). The result is a signed [−1, ..., 1] position plus diagnostics you can plug directly into order logic.

The most downloaded free products:

More than 900 new charts published:

Chart XAUUSD, M3, 2026.04.25 06:26 UTC, RoboForex Ltd, MetaTrader 5, Real
XAUUSD, M3
Chart GOLD, M1, 2026.04.25 06:06 UTC, Ava Trade EU Ltd., MetaTrader 4, Real
GOLD, M1
Chart AUDCAD, H4, 2026.04.25 10:35 UTC, Capital Point Trading Ltd, MetaTrader 5, Demo
AUDCAD, H4

Bestsellers in the Market:

There are more than 50,960 products available in Market

16 new signals now available for subscription:

Qqert
121% 59 trades
Growth:121.12%
Equity:3,374.49USD
Balance:3,374.49USD
QiuQiu 2015343 TMGM
104% 3071 trades
Growth:104.49%
Equity:4,829.13USD
Balance:4,853.35USD
BTC HUNTER V8
88% 40 trades
Growth:87.88%
Equity:1,861.14USD
Balance:1,878.82USD
and 13 more...

Most downloaded source codes this week

  • Machine Learning Supertrend A machine-learning inspired approach towards trending regimes. Providing accurate signals and backtest confidence built-in
  • Precision Sniper Precision Sniper is a multi-confluence MT5 indicator inspired by TradingView's top signal tools, grading every buy/sell signal (A+, A, B, C) based on EMA structure, RSI, MACD, ADX, VWAP, and volume alignment, with 8 presets, HTF bias confirmation, auto TP/SL levels, trailing stop, and a built-in backtest dashboard.
  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown protection.

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.

6 new topics on forum:

and 3 more...
1...101112131415161718192021222324...670