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.

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:

There are more than 50,290 products available in Market

The most downloaded free products:

Bestsellers in the Market:

3 new topics on forum:

11 new signals now available for subscription:

VertexAlphaXM
250% 683 trades
Growth:249.67%
Equity:496.31USD
Balance:500.00USD
Steady Long term
108% 1850 trades
Growth:108.37%
Equity:912.13EUR
Balance:941.86EUR
CJ
108% 41 trades
Growth:108.00%
Equity:1,767.48NZD
Balance:1,767.48NZD
and 8 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

More than 800 new charts published:

チャート Step Index 200, D1, 2026.05.15 10:00 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
Step Index 200, D1
Grafico EURAUD, M5, 2026.05.15 09:47 UTC, Axiory Global Ltd., MetaTrader 5, Real
EURAUD, M5
차트 US30.r, M1, 2026.05.15 09:55 UTC, Pepperstone Limited, MetaTrader 4, Real
US30.r, M1

The most downloaded free products:

There are more than 50,220 products available in Market

Bestsellers in the Market:

4 new topics on forum:

and 1 more...

21 new signals now available for subscription:

GOLD MINER
276% 185 trades
Growth:275.83%
Equity:142.83USD
Balance:142.83USD
DINOTRADER9K
236% 504 trades
Growth:236.11%
Equity:10,037.50EUR
Balance:10,037.50EUR
AdamCode Algo XAU Controlled Risk
198% 781 trades
Growth:197.60%
Equity:5,952.03USD
Balance:5,952.03USD
and 18 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 600 new charts published:

Grafico US_500, H1, 2026.05.14 15:42 UTC, Ava Trade Ltd., MetaTrader 5, Demo
US_500, H1
Graphique XAUUSD, M5, 2026.05.14 04:10 UTC, RoboForex Ltd, MetaTrader 5, Real
XAUUSD, M5
Chart XAUUSD, M2, 2026.05.14 08:15 UTC, Alpari, MetaTrader 5, Demo
XAUUSD, M2

Bestsellers in the Market:

There are more than 50,130 products available in Market

12 new topics on forum:

and 9 more...

The most popular forum topics:

16 new signals now available for subscription:

Golden Chest
428% 2588 trades
Growth:427.84%
Equity:105,567.54USD
Balance:105,567.54USD
LUDAO
147% 819 trades
Growth:147.23%
Equity:3,348.79USD
Balance:3,348.79USD
Huihai TrendBreakout
84% 145 trades
Growth:83.99%
Equity:287.88USD
Balance:287.88USD
and 13 more...

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:

More than 700 new charts published:

Gráfico XAUUSD, D1, 2026.05.13 14:17 UTC, HF Markets SA (Pty) Ltd, MetaTrader 5, Demo
XAUUSD, D1
Gráfico XAUUSD, M5, 2026.05.13 14:23 UTC, Deriv (SVG) LLC, MetaTrader 5, Real
XAUUSD, M5
Chart XAG_USD, H1, 2026.05.13 04:01 UTC, BenchMark Finance AD, MetaTrader 4, Real
XAG_USD, H1
There are more than 50,060 products available in Market

6 new topics on forum:

and 3 more...

Bestsellers in the Market:

9 new signals now available for subscription:

TTT
378% 1715 trades
Growth:378.39%
Equity:8,941.32USD
Balance:9,906.17USD
ForexGlodLife
43% 981 trades
Growth:42.58%
Equity:4,165.32USD
Balance:4,225.11USD
Luckyluke
32% 916 trades
Growth:31.79%
Equity:4,508.88EUR
Balance:4,487.48EUR
and 6 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.

More than 1400 new charts published:

Gráfico NZDUSD., H1, 2026.05.12 01:35 UTC, Tradehall Limited, MetaTrader 5, Real
NZDUSD., H1
图表 XAUUSD, H1, 2026.05.12 13:47 UTC, FTMO Global Markets Ltd, MetaTrader 5, Demo
XAUUSD, H1
Grafik XAUUSD.mic, H4, 2026.05.12 01:28 UTC, VaultMarkets (Pty) Ltd, MetaTrader 5, Real
XAUUSD.mic, H4

The most downloaded free products:

There are more than 49,970 products available in Market

Bestsellers in the Market:

14 new signals now available for subscription:

CARRO CAPITAL TRADER GRID 1
397% 3510 trades
Growth:396.74%
Equity:2,051.43EUR
Balance:2,481.87EUR
Stable Sky
178% 507 trades
Growth:177.92%
Equity:24,776.35USD
Balance:27,792.15USD
EA Follow Trend Ajaib
173% 20928 trades
Growth:173.31%
Equity:856,940.33USD
Balance:856,558.43USD
and 11 more...

Most downloaded source codes this month

  • 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.
  • Smart Money Concepts An indicator which features full Smart Money Concept (SMC) + Break Of Structure (BOS) + Change Of Character (COC) + Fair Value Gap (FVG) Detection and Buy/Sell signals.

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.

There are more than 153,550 topics available on forum

6 new topics on forum:

and 3 more...

Published article "Encoding Candlestick Patterns (Part 1): An Alphabetical System for Signal Detection".

Encoding Candlestick Patterns (Part 1): An Alphabetical System for Signal Detection

We present a rule‑based alphabet for candlestick price action that maps measurable shape and direction to letter codes (A/a, H/h, E/e, G/g, D). The article shows an MQL5 implementation: classifying candles, building two‑bar sequences via permutations, and scanning charts with an indicator and alerts. Readers gain a practical template for objective pattern detection and systematic testing.

1...131415161718192021222324252627...679