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 "Introduction to MQL5 (Part 43): Beginner Guide to File Handling in MQL5 (V)".

Introduction to MQL5 (Part 43): Beginner Guide to File Handling in MQL5 (V)

The article explains how to use MQL5 structures with binary files to persist Expert Advisor parameters. It covers defining structures, accessing members, and distinguishing simple from complex layouts, then writing and reading entire records using FileWriteStruct and FileReadStruct in FILE BIN mode. You will learn safe patterns for fixed-size data and how shared storage (FILE COMMON) enables reuse across sessions and terminals.

Published article "Building a Research-Grounded Grid EA in MQL5: Why Most Grid EAs Fail and What Taranto Proved".

Building a Research-Grounded Grid EA in MQL5: Why Most Grid EAs Fail and What Taranto Proved

This article implements a regime-adaptive grid trading EA based on the PhD research of Aldo Taranto. It presents a regime‑adaptive grid trading EA that constrains risk through restartable cycles and equity‑based safeguards. We explain why naive grids fail (variance growth and almost‑sure ruin), derive the loss formula for real‑time exposure, and implement regime‑aware gating, ATR‑dynamic spacing, and a live kill switch. Readers get the mathematical tools and production patterns needed to build, test, and operate a constrained grid safely.

There are more than 48,510 products available in Market

The most downloaded free products:

41 new signals now available for subscription:

MOMANTIC OLDPRO
634% 5943 trades
Growth:634.49%
Equity:72,016.02USD
Balance:73,448.98USD
XAUUSD Scalper
319% 181 trades
Growth:318.79%
Equity:677.09GBP
Balance:677.09GBP
MOMANTIC OLDSAFE
270% 5633 trades
Growth:269.59%
Equity:36,458.51USD
Balance:36,907.59USD
and 38 more...

Bestsellers in the Market:

The most popular forum topics:

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

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

We invite you to get acquainted with the DADA framework, which is an innovative method for detecting anomalies in time series. It helps distinguish random fluctuations from suspicious deviations. Unlike traditional methods, DADA is flexible and adapts to different data. Instead of a fixed compression level, it uses several options and chooses the most appropriate one for each case.

New publications in CodeBase

  • ICT True Open and Power of 3 (PO3) Lines A lightweight, essential utility for ICT and SMC traders. It automatically plots the True Daily, Weekly, and Monthly Open prices, serving as the foundation for the Power of 3 (Accumulation, Manipulation, Distribution) concept.
  • SMC Liquidity Sweep and Rejection Detector A high-precision indicator designed to detect institutional liquidity sweeps (stop hunts). It identifies price rejection beyond recent swing levels, marking potential high-probability reversal zones without lagging indicators.
  • Prop Firm Risk Monitor e Auto-Lot Calculator An essential on-chart dashboard for MT4 prop firm traders. It tracks real-time daily drawdown to protect your funded accounts and provides an instant risk-to-lot-size calculator based on your exact stop loss.

4 new topics on forum:

and 1 more...

Published article "MetaTrader 5 Machine Learning Blueprint (Part 9): Integrating Bayesian HPO into the Production Pipeline".

MetaTrader 5 Machine Learning Blueprint (Part 9): Integrating Bayesian HPO into the Production Pipeline

​This article integrates the Optuna hyperparameter optimization (HPO) backend into a unified ModelDevelopmentPipeline. It adds joint tuning of model hyperparameters and sample-weight schemes, early pruning with Hyperband, and crash-resistant SQLite study storage. The pipeline auto-detects primary vs. secondary models, prepends a fitted column-dropping preprocessor for safe inference, supports sequential bootstrapping, generates an Optuna report, and includes bid/ask and LearnedStrategy links. Readers get faster, resumable runs and deployable, self-contained models.

Published article "Battle Royale Optimizer (BRO)".

Battle Royale Optimizer (BRO)

The article explores the Battle Royale Optimizer algorithm — a metaheuristic in which solutions compete with their nearest neighbors, accumulate “damage,” are replaced when a threshold is exceeded, and periodically shrink the search space around the current best solution. It presents both pseudocode and an MQL5 implementation of the CAOBRO class, including neighbor search, movement toward the best solution, and an adaptive delta interval. Test results on the Hilly, Forest, and Megacity functions highlight the strengths and limitations of the approach. The reader is provided with a ready-to-use foundation for experimentation and tuning key parameters such as popSize and maxDamage.

Published article "Creating Custom Indicators in MQL5 (Part 9): Order Flow Footprint Chart with Price Level Volume Tracking".

Creating Custom Indicators in MQL5 (Part 9): Order Flow Footprint Chart with Price Level Volume Tracking

This article builds an order-flow footprint indicator in MQL5 that aggregates tick-by-tick volume into quantized price levels and supports Bid vs Ask and Delta display modes. A canvas overlay renders color-scaled volume text aligned with the candles and updates on every tick. You will learn sorting of price levels, max-value normalization for color mapping, and responsive redraws on zoom, scroll, and resize to read volume distribution and aggressor dominance inside each bar.

Published article "From Novice to Expert: Detecting Liquidity Zone Flips Using MQL5".

From Novice to Expert: Detecting Liquidity Zone Flips Using MQL5

This article presents an MQL5 indicator that detects and manages liquidity zone flips. It identifies supply and demand zones from higher timeframes using a base–impulse pattern, applies objective breakout and impulse thresholds, and flips zones automatically when structure changes. The result is a dynamic support‑resistance map that reduces manual redraws and gives you clear, actionable context for signals and retests.

Published article "MQL5 Trading Tools (Part 25): Expanding to Multiple Distributions with Interactive Switching".

MQL5 Trading Tools (Part 25): Expanding to Multiple Distributions with Interactive Switching

In this article, we expand the MQL5 graphing tool to support seventeen statistical distributions with interactive cycling via a header switch icon. We add type-specific data loading, discrete and continuous histogram computation, and theoretical density functions for each model, with dynamic titles, axis labels, and parameter panels that adapt automatically. The result lets you overlay distribution models on the same sample and compare fit across families without reloading the tool.

The most downloaded free products:

There are more than 48,430 products available in Market

Bestsellers in the Market:

24 new signals now available for subscription:

Consistent trader
600% 1224 trades
Growth:600.16%
Equity:17,166.34GBP
Balance:40,008.46GBP
Cryptowanlanid XAU5S
461% 533 trades
Growth:461.23%
Equity:1,978.59USD
Balance:1,978.59USD
VOGTRADE MT5
208% 1740 trades
Growth:207.70%
Equity:1,682.11USD
Balance:2,128.82USD
and 21 more...

5 new topics on forum:

and 2 more...
There are more than 11,980 codes published in Codebase

The most downloaded free products:

There are more than 48,350 products available in Market

Bestsellers in the Market:

35 new signals now available for subscription:

Sentinel AI
423% 1738 trades
Growth:422.67%
Equity:10,452.67USD
Balance:10,453.35USD
Bmfb05
168% 205 trades
Growth:167.73%
Equity:2,677.26USD
Balance:2,677.26USD
Chenzhiwen
137% 308 trades
Growth:136.95%
Equity:5,837.09USD
Balance:5,837.09USD
and 32 more...

Most downloaded source codes this month

  • Price Action Intraday Trading - Expert for MT5 Price Action Day Trader is a robust, trend-following MQL5 Expert Advisor designed for intraday trading. It focuses on high-probability price action patterns Pin Bars, Engulfing Candles, and Inside Bar Breakouts while filtering trades through a dual Moving Average trend filter.
  • ZigZag BOS CHoCH Detection ZigZag BOS CHoCH Detection indicator is based on the original MetaQuotes ZigZag algorithm and extends it by detecting and marking market structure events. It tracks recent ZigZag swing points and automatically identifies Break of Structure (BOS) and Change of Character (CHoCH) using pivot trend confirmation. BOS and CHoCH levels are drawn directly on the chart with labeled horizontal lines for clearer price action analysis.
  • Support and Resistance(SNR) Sentinel Indicator Adaptive Support & Resistance indicator that automatically detects, tracks, and updates the nearest valid S/R levels using configurable confirmation bars. Levels dynamically shift after confirmed breakouts and extend forward in real time.

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.

New publications in CodeBase

  • Institutional Currency Exposure Monitor An institutional-grade dashboard that breaks down your open positions and calculates your true net lot exposure per individual currency, preventing invisible systemic risks and over-leveraging.
  • To Close All Open Trades of Different Symbols Technical Details Uses MQL5's OrderSend with TRADE_ACTION_DEAL for instant market closure at current Bid/Ask prices. Includes slippage tolerance (10 points), proper volume matching, and magic number preservation. Loops backward through positions to prevent index shifting during execution.
  • ZigZag Support and Resistance Detection ZigZag SNR Detection identifies support and resistance levels using ZigZag pivot points.

More than 200 new charts published:

График XAUUSD, M5, 2026.03.23 18:24 UTC, Raw Trading Ltd, MetaTrader 5, Demo
XAUUSD, M5
Chart XAUUSDm, M5, 2026.03.23 09:42 UTC, Exness Technologies Ltd, MetaTrader 4, Demo
XAUUSDm, M5
График GOLD#, H1, 2026.03.24 07:35 UTC, XM Global Limited, MetaTrader 5, Real
GOLD#, H1

5 new topics on forum:

and 2 more...

The most downloaded free products:

There are more than 48,270 products available in Market

Bestsellers in the Market:

There are more than 153,070 topics available on forum

7 new topics on forum:

and 4 more...

38 new signals now available for subscription:

CFX Project
736% 242 trades
Growth:736.40%
Equity:443.29USD
Balance:443.29USD
HedGinG GUCJ B
360% 612 trades
Growth:359.50%
Equity:881.40USD
Balance:890.94USD
Breakout XAUUSD
278% 87 trades
Growth:278.32%
Equity:945.81USD
Balance:945.81USD
and 35 more...

The most popular forum topics:

New publications in CodeBase

  • 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.
  • CRT Indicator(MTF) : Explorer Multi-timeframe CRT Indicator(Explorer) that detects higher timeframe setups and projects CRH/CRL levels onto lower timeframe charts using Fibonacci objects for clear, real-time context.
  • Stealth Trade Manager (Hidden SL/TP and Spread Protector) A professional trade management utility that completely hides your Stop Loss and Take Profit levels from brokers. It features a Spread Protector to prevent virtual stop-outs during news events or daily rollovers.
  • PlayDOOM This Expert Allows You To Run and Play DOOM (The Game) on MetaTrader5! It's A Take On The Infamous "Can It Run Doom?" Challenge.

Published article "Neural Networks in Trading: Dual Clustering of Multivariate Time Series (Final Part)".

Neural Networks in Trading: Dual Clustering of Multivariate Time Series (Final Part)

We continue to implement approaches proposed vy the authors of the DUET framework, which offers an innovative approach to time series analysis, combining temporal and channel clustering to uncover hidden patterns in the analyzed data.

Published article "The MQL5 Standard Library Explorer (Part 10): Polynomial Regression Channel".

The MQL5 Standard Library Explorer (Part 10): Polynomial Regression Channel

Today, we explore another component of ALGLIB, leveraging its mathematical capabilities to develop a Polynomial Regression Channel indicator. By the end of this discussion, you will gain practical insights into indicator development using the MQL5 Standard Library, along with a fully functional, mathematically driven indicator source code.

Published article "Neuro-Structural Trading Engine — NSTE (Part I): How to Build a Prop-Firm-Safe Multi-Account System".

Neuro-Structural Trading Engine — NSTE (Part I): How to Build a Prop-Firm-Safe Multi-Account System

This article lays the system architecture for a multi‑account algorithmic trading setup that operates cryptocurrency CFDs on MetaTrader 5 while respecting prop‑firm constraints. It defines three core principles—fixed dollar risk, one script per account, and centralized configuration—then details the Python–MQL5 split, the 60‑second processing loop, and JSON-based signaling. Readers get practical lot‑size computation, safety checks, and position management patterns for reliable deployment.

The most downloaded free products:

Bestsellers in the Market:

6 new topics on forum:

and 3 more...
There are more than 48,190 products available in Market

Most downloaded source codes this week

  • SilviosEAbest26 SilviosEAbest26 is a high-precision Expert Advisor for MetaTrader 5, designed to trade market reversals using a sophisticated combination of dynamic price channels and momentum filters. The system is engineered for consistent returns while maintaining strict risk management protocols.
  • ExMachina SafeScalping ExMachina Safe Scalping is a professional-grade Expert Advisor built for conservative breakout scalping on Gold (XAUUSD), Silver (XAGUSD), and Forex majors.
  • RSI Price Action Breakout Indicator A high-precision trend reversal indicator combining RSI exhaustion zones with candlestick breakout patterns.

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.

MetaTrader 4 on Linux

MetaTrader 4 on Linux

In this article, we demonstrate an easy way to install MetaTrader 4 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.

14 new signals now available for subscription:

I am Pentagon
98% 1640 trades
Growth:97.77%
Equity:1,027.23USD
Balance:1,027.23USD
Lutfur
64% 88 trades
Growth:64.17%
Equity:2,888.41USD
Balance:2,888.41USD
LLG2104
50% 130 trades
Growth:50.05%
Equity:1,491.81USD
Balance:1,489.87USD
and 11 more...

The most downloaded free products:

More than 200 new charts published:

Chart BTCUSD, M5, 2026.03.21 22:56 UTC, Riston Capital Ltd., MetaTrader 5, Demo
BTCUSD, M5
График Crash 1000 Index, D1, 2026.03.21 02:02 UTC, Deriv.com Limited, MetaTrader 5, Demo
Crash 1000 Index, D1
График XAUUSD, M1, 2026.03.19 03:38 UTC, FBS Markets Inc., MetaTrader 4, Real
XAUUSD, M1
1...121314151617181920212223242526...666