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.

The most popular forum topics:

There are more than 2,860 articles published on site

Published article "MQL5 Wizard Techniques you should know (Part 89): Using Bitwise Vectorization with Perceptron Classifiers".

MQL5 Wizard Techniques you should know (Part 89): Using Bitwise Vectorization with Perceptron Classifiers

This article presents a custom MQL5 signal class, CSignalBitwisePerceptron, for ultra-lightweight entry logic. It packs 64 bars into a single uint64 via bitwise vectorization and evaluates them with a perceptron that sums weights only for active bits. A two-gate flow (algorithmic hash map plus neural threshold) minimizes array iteration and heavy math. Readers get a practical template to cut latency and refine entry validation.

Published article "Building AI-Powered Trading Systems in MQL5 (Part 9): Creating an AI Signal Dispatcher".

Building AI-Powered Trading Systems in MQL5 (Part 9): Creating an AI Signal Dispatcher

We turn the MQL5 AI trading assistant into a dispatch-driven system that routes seven trading actions through a single central dispatcher. A line-based key-value protocol constrains AI output, while each action maps to market or pending orders and instrument-aware stop levels. A canvas-based UI with a custom prompt editor and pixel-accurate text fitting makes signals consistent, auditable, and ready to render on the chart

Published article "Beyond GARCH (Part I): Mandelbrot's MMAR versus Engle's GARCH".

Beyond GARCH (Part I): Mandelbrot's MMAR versus Engle's GARCH

This article starts the MMAR pipeline on EURUSD M5 data. We load market data via the MetaTrader5 Python API and run partition-function analysis with non-overlapping intervals to test for multifractal scaling. The result is an evidence-based decision on fractality, a prerequisite for building MMAR and for choosing whether to proceed beyond GARCH.

Published article "Position Management: Safe Pyramiding with a Unified Stop in MQL5".

Position Management: Safe Pyramiding with a Unified Stop in MQL5

This article presents CPyramidEngine, a reusable MQL5 class that adds disciplined pyramiding to any Expert Advisor with about six lines of integration. The engine enforces three constraints: strictly decreasing lot sizes, a single unified stop that advances after each add-on, and broker-level validation of every modification. It explains common failure modes in naive implementations and shows how to keep total account risk quantifiable and controlled as positions are added.

Published article "Downloading International Monetary Fund Data Using Python".

Downloading International Monetary Fund Data Using Python

Downloading international monetary fund data in Python: Mining IMF data for use in macroeconomic currency strategies. How can macroeconomics help an ordinary and an algorithmic trader?

The most downloaded free products:

There are more than 51,060 products available in Market

Bestsellers in the Market:

21 new signals now available for subscription:

Dynamic Liquidity Intelligence PUP50
369% 50 trades
Growth:369.42%
Equity:234.71USD
Balance:234.71USD
Dynamic Liquidity Intelligence Van50
297% 51 trades
Growth:296.86%
Equity:198.43USD
Balance:198.43USD
Dynamic Liquidity Intelligence WET50
280% 50 trades
Growth:280.32%
Equity:190.16USD
Balance:190.16USD
and 18 more...

Most downloaded source codes this week

  • XANDER Grid XAUUSD Bidirectional grid EA for Gold (XAUUSD). Ideal for ProCent accounts. Includes Daily Profit Target and Max Drawdown protection.
  • Prime Quantum AI — TRADE WITH AI (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). Prime Quantum AI is an MT5 Expert Advisor combining a classical pre-filter (ADX + Alligator) with AI vision-based chart confirmation from major AI providers (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok). When the pre-filter detects a trend setup, the EA captures three adaptive- timeframe chart screenshots and sends them to the configured AI provider, which returns direction, confidence, stop-loss and take-profit. A trade is opened only when the AI confirms the pre-filter signal with sufficient confidence. Features: dual Standard Broker / Prop Firm risk modes, configurable lot sizing, optional martingale, multiple SL/TP modes, trailing stop, partial close, news/time/day/spread filters, draggable on-chart info panel, and fully exposed indicator parameters. Requires MetaTrader 5, WebRequest enabled for your provider's URL, and a valid API key. Provider auto-detected from key format.
  • 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.

Most read articles this week

Python + MetaTrader 5: Fast Research Framework for Data, Features, and Prototypes

Python + MetaTrader 5: Fast Research Framework for Data, Features, and Prototypes

The article demonstrates how Python and MetaTrader 5 integration combines research flexibility and trade execution into a single workflow. Python is used for data analysis, feature selection and model training, while MetaTrader 5 is used for testing and trading automation. This approach simplifies the transfer of solutions into practice, increases reproducibility, and makes the development of trading systems faster and more structured.

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.

3 new topics on forum:

More than 700 new charts published:

차트 Volatility 75 Index, M5, 2026.05.15 09:57 UTC, Deriv.com Limited, MetaTrader 5, Demo
Volatility 75 Index, M5
Chart Step Index 200, D1, 2026.05.15 10:00 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
Step Index 200, D1
График USDJPY, D1, 2026.05.15 02:31 UTC, XM Global Limited, MetaTrader 5, Demo
USDJPY, D1
There are more than 50,970 products available in Market

The most downloaded free products:

Bestsellers in the Market:

3 new topics on forum:

9 new signals now available for subscription:

VertexAlphaXM
173% 589 trades
Growth:173.11%
Equity:2,000.44USD
Balance:2,000.44USD
Steady Long term
105% 1807 trades
Growth:105.05%
Equity:921.31EUR
Balance:926.85EUR
Eleanor II
61% 29 trades
Growth:60.80%
Equity:9,638.96USD
Balance:9,638.96USD
and 6 more...

Published article "MQL5 Trading Tools (Part 31): Creating an Interactive Tools Palette in MQL5".

MQL5 Trading Tools (Part 31): Creating an Interactive Tools Palette in MQL5

We turn the Tools Palette sidebar from a static shell into an interactive MQL5 system. The article implements flyout menus per category, a chart event handler, a multi-click drawing engine (one-, two-, and three-click tools), and mouse interactions including drag, bottom-edge resize, scrolling, hover states, and live theme toggling. You will be able to select a tool and place chart objects directly from the palette for analysis

The most downloaded free products:

There are more than 50,900 products available in Market

Bestsellers in the Market:

4 new topics on forum:

and 1 more...

22 new signals now available for subscription:

DINOTRADER9K
243% 447 trades
Growth:243.27%
Equity:10,150.55EUR
Balance:10,249.71EUR
AdamCode Algo XAU Controlled Risk
160% 636 trades
Growth:159.67%
Equity:5,193.42USD
Balance:5,193.42USD
Invictus X V3
108% 327 trades
Growth:107.87%
Equity:733.17USD
Balance:733.17USD
and 19 more...

Published article "Adaptive Malaysian Engulfing Indicator (Part 2): Optimized Retest Bar Range".

Adaptive Malaysian Engulfing Indicator (Part 2): Optimized Retest Bar Range

The article adds a self-adaptive layer to the Malaysian Engulfing indicator by optimizing the retest bar range with a constrained brute-force search scored by MFE and MAE. It details the data model, helper routines, and an MQL5 implementation that gathers historical setups, computes excursions, and selects the best parameter. Readers learn how to remove manual tuning and run the indicator with context-appropriate settings across symbols and timeframes.

Published article "Building a Trade Analytics System (Part 3): Storing MetaTrader 5 Trades in SQLite".

Building a Trade Analytics System (Part 3): Storing MetaTrader 5 Trades in SQLite

This article extends a Flask backend to reliably receive, validate, and store closed trade data from MetaTrader 5 using SQLite and Flask‑SQLAlchemy. It implements required‑field checks, timestamp conversion, transaction‑safe persistence, and working retrieval endpoints for all trades and single records, plus a basic summary. The result is a complete data pipeline with local testing that records trades and exposes them through a structured API for further analysis.

Published article "Manual Backtesting with On-Chart Buttons in the MetaTrader 5 Strategy Tester".

Manual Backtesting with On-Chart Buttons in the MetaTrader 5 Strategy Tester

Learn how to build a manual backtesting EA for MetaTrader 5's visual tester by adding chart buttons with CButton, executing orders through CTrade, and filtering positions with a magic number. The article implements Buy/Sell and Close All controls, configurable lot size and initial SL, and a trailing stop via CPositionInfo. You will also see how to load indicators with tester.tpl to validate ideas faster before automation and narrow optimization ranges.

Published article "Biogeography-Based Optimization (BBO)".

Biogeography-Based Optimization (BBO)

Biogeography-Based Optimization (BBO) is an elegant global optimization method inspired by natural processes of species migration between islands within archipelagos. The algorithm is based on a simple yet powerful idea: high-quality solutions actively share their characteristics, while low-quality ones actively adopt new features, creating a natural flow of information from the best solutions to the worst. A unique adaptive mutation operator provides an excellent balance between exploration and exploitation. BBO demonstrates high efficiency on a variety of tasks.

Published article "Leak-Free Multi-Timeframe Engine with Closed-Bar Reads in MQL5".

Leak-Free Multi-Timeframe Engine with Closed-Bar Reads in MQL5

The article presents two systematic pitfalls in MQL5 multi‑timeframe work: indicator handle leaks that exhausted resources and repainting from reading the forming bar (index 0). It introduces MTFEngine.mqh, a unified include that creates and tracks handles in one place and defaults all reads to closed bars (index 1). A D1–H4–H1 example shows how this approach keeps signals technically correct and consistent with charts.

The most downloaded free products:

More than 800 new charts published:

Graphique XAUUSD, D1, 2026.05.13 14:17 UTC, HF Markets SA (Pty) Ltd, MetaTrader 5, Demo
XAUUSD, D1
График XAUUSD, M5, 2026.05.13 14:23 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
XAUUSD, M5
График XAG_USD, H1, 2026.05.13 04:01 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAG_USD, H1

16 new signals now available for subscription:

Huihai TrendBreakout
416% 128 trades
Growth:416.47%
Equity:808.08USD
Balance:808.08USD
Golden Chest
382% 2564 trades
Growth:382.33%
Equity:96,465.54USD
Balance:96,465.54USD
DREX CAPITAL from FXGP WMC
65% 254 trades
Growth:65.20%
Equity:2,478.05USD
Balance:2,478.05USD
and 13 more...

Bestsellers in the Market:

There are more than 50,810 products available in Market

12 new topics on forum:

and 9 more...

The most popular forum topics:

New publications in CodeBase

There are more than 2,850 articles published on site

Published article "From Matrices to Models: How to Build an ML Pipeline in MQL5 and Export It to ONNX".

From Matrices to Models: How to Build an ML Pipeline in MQL5 and Export It to ONNX

The article describes the arrangement of a coordinated ML pipeline in MetaTrader 5 with separation of roles: Python trains and exports the model to ONNX, MQL5 reproduces normalization and PCA via matrix/vector and performs inference. This approach makes the model's inputs stable and verifiable, and the MetaTrader 5 strategy tester provides metrics for analyzing the system behavior.

The most downloaded free products:

There are more than 50,730 products available in Market

6 new topics on forum:

and 3 more...

Bestsellers in the Market:

14 new signals now available for subscription:

TTT
309% 1585 trades
Growth:309.07%
Equity:9,690.27USD
Balance:9,916.53USD
BOM
278% 4196 trades
Growth:277.79%
Equity:755.61USD
Balance:755.61USD
InvestFondP2
121% 195 trades
Growth:120.74%
Equity:358.52USD
Balance:358.52USD
and 11 more...

Published article "Gaussian Processes in Machine Learning: Regression Model in MQL5".

Gaussian Processes in Machine Learning: Regression Model in MQL5

We will review the basics of Gaussian processes (GP) as a probabilistic machine learning model and demonstrate its application to regression problems using synthetic data.

New publications in CodeBase

  • Momentum and news impact candles A candlestick chart which colors OHLC candles based on directional price momentum and news impact
  • Inside Bar Automatically detect Inside Bar patterns, draw projection rectangles, and receive real‑time alerts – all in one powerful indicator. Swing And Full Margin trader

Published article "Feature Engineering for ML (Part 3): Session-Aware Time Features for Forex Machine Learning".

Feature Engineering for ML (Part 3): Session-Aware Time Features for Forex Machine Learning

The article addresses the loss of temporal information in ML pipelines by encoding periodic time variables with Fourier harmonics and adding forex session structure. It implements session and overlap flags, lagged session volatility, and calendar effects, then prunes features by timeframe. The get time features function returns an index‑aligned, ML‑ready set of time features suitable for integration with price‑based signals.

Published article "Creating an EMA Crossover Forward Simulation Indicator in MQL5".

Creating an EMA Crossover Forward Simulation Indicator in MQL5

A custom forward simulation engine detects fast/slow EMA crossovers and immediately projects synthetic candles ahead of the signal bar. It generates bodies and wicks using controlled logic, draws them with chart objects, and refreshes on every new signal or anchor change. You get a clear forward-looking view to test timing, visualize scenarios, and manage invalidation on the chart.

1...121314151617181920212223242526...677