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.

29 new signals now available for subscription:

ActInvest IC MARKETS
483% 17192 trades
Growth:482.69%
Equity:123,829.35EUR
Balance:124,260.42EUR
XAURON EA 2 strategy low risk
358% 587 trades
Growth:357.52%
Equity:533.74EUR
Balance:533.74EUR
Hunting Xauusd
258% 85 trades
Growth:257.92%
Equity:71,518.74USD
Balance:71,518.74USD
and 26 more...

The most popular forum topics:

New publications in CodeBase

  • Relative Moving Average EA An MQL5 implementation of all four cross-strategies from Bloch's Relative Moving Average framework, with his Adaptive Crossover Exit switching rules by volatility regime. Entries and exits are taken in fractile space, so thresholds mean the same thing on every symbol.
  • Relative Moving Average Indicator A faithful MQL5 port of Daniel Bloch's Relative Moving Average framework. It ranks the current close inside its own window's distribution on a [0, 1] scale comparable across symbols, publishing the fractiles, regime classification, and directional consistency as readable buffers.
  • Trading Panel EA Pro Manager is an all-in-one MT5 trading assistant built for prop firm and professional traders. Execute trades faster, manage positions smarter, control risk efficiently, and automate daily trading tasks with powerful tools such as Break-even, Average TP, Magic Number management, and Auto Grid.
There are more than 12,200 codes published in Codebase
There are more than 3,160 articles published on site

Published article "Where should your stop-loss really sit? An MAE/MFE excursion analyzer in MQL5".

Where should your stop-loss really sit? An MAE/MFE excursion analyzer in MQL5

Stop-loss and take-profit placement is usually the least-measured decision in a trading system. This Expert Advisor reads your closed history, replays M1 price between each entry and exit to measure Maximum Adverse and Favorable Excursion per trade, and splits winners from losers. From the distributions and trade efficiency it derives data-driven stop and target levels - measured from your own account, not a rule of thumb. Analysis only; it does not trade.

Published article "Forecasting a Conditional Distribution Using MLP".

Forecasting a Conditional Distribution Using MLP

In this article, we will consider an MLP-based regression model that predicts not only the conditional expectation but also the conditional variance. In other words, we will train our network to predict the entire distribution of future prices based on the input feature vector. But for this purpose we will have to implement our own loss function.

Published article "Symbolic Aggregate Approximation (SAX) in MQL5: Historical Analog Search and Forecasting".

Symbolic Aggregate Approximation (SAX) in MQL5: Historical Analog Search and Forecasting

Symbolic Aggregate approXimation (SAX) encodes price windows as short words to enable fast, sound similarity search on history. We implement SAX in pure MQL5, including Gaussian breakpoints, PAA, and the lower-bounding MINDIST, and validate it with a test harness. An indicator applies a no-lookahead, two-stage search, summarizes forward paths in ATR units, and draws a forecast fan, explicitly indicating when the sample shows no edge.

Published article "Developing a Manual Backtesting Expert Advisor: Additional Features".

Developing a Manual Backtesting Expert Advisor: Additional Features

We enhance the manual backtesting EA with real-time lot adjustment, an order module for buy/sell stops and limits, and a Trade Manager to modify TP/SL and close positions individually. The article explains control setup with CButton/CBmpButton/CEdit, logic in OnTick, and workarounds for Strategy Tester input constraints. Readers can reuse these components to speed up testing workflows and implement robust trade management.

Published article "CSV Data Analysis (Part 7): Statistical Robustness Testing on MQL5 CSV Exports with Monte Carlo Simulation".

CSV Data Analysis (Part 7): Statistical Robustness Testing on MQL5 CSV Exports with Monte Carlo Simulation

A statistically significant backtest is not proof of a robust edge. This article presents a three-part validation battery in Python that consumes an MQL5 trade-level CSV export. A sign-randomization permutation test evaluates whether the Sortino reflects real directional skill, bootstrap BCa intervals assess metric stability, and Monte Carlo trade-order shuffling tests sequence dependence of drawdowns. The results feed a five-condition framework for deployment decisions.

More than 1300 new charts published:

Chart GER40, M1, 2026.07.29 08:13 UTC, First Prudential Markets Limited, MetaTrader 4, Real
GER40, M1
Chart EURUSD, H4, 2026.07.29 15:06 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
EURUSD, H4
Chart CL-OIL, M5, 2026.07.29 21:45 UTC, Ultima Markets Ltd, MetaTrader 5, Real
CL-OIL, M5

The most downloaded free products:

Bestsellers in the Market:

There are more than 57,150 products available in Market

27 new signals now available for subscription:

GX
247% 479 trades
Growth:246.66%
Equity:590.00UST
Balance:590.00UST
Gold Ideas
179% 66 trades
Growth:178.68%
Equity:1,256.12USD
Balance:1,256.12USD
QIUKUN
137% 4798 trades
Growth:137.33%
Equity:8,947.35USD
Balance:8,984.95USD
and 24 more...

New publications in CodeBase

  • SniperGold SMC ProPlus (Institutional Smart Money Concepts) SMC chart indicator: market structure (BOS/CHoCH), volume weighted order blocks, multi timeframe FVG, equal highs/lows, liquidity sweeps, premium/discount zones, a 3 time frame bias panel and an optional trade setup readout. Closed bar logic only (no repaint). It draws and alerts, it does not place trades.
  • Clock (Spread) What this indicator does Clock (Spread).mq5 is a MetaTrader 5 chart indicator that displays a small text label in the corner of the chart showing: Countdown timer until the current candle closes (in HH:MM:SS or MM:SS format, depending on timeframe) Current spread (Ask − Bid, in points), shown in parentheses next to the timer
  • Mediana Trendline Draws parallel trend channels (Median, High, Low) on the current chart based on the last two closed candles of up to 7 higher timeframes (MN1, W1, D1, H4, H1, M30, M15), with individually configurable colors and line styles for each timeframe.
There are more than 154,340 topics available on forum

5 new topics on forum:

and 2 more...

Published article "Bison Algorithm (BIA)".

Bison Algorithm (BIA)

A new optimization method, the Bison Algorithm (BIA), uses two strategies, inspired by the behavior of bison, for solving continuous problems with a single objective function. The key features of BIA are two fundamental principles borrowed from the behavior of bison: the ability to move dynamically and a defensive strategy.

Published article "Defining your Edge (Part 2): Using Divergence Mapping and a Temporal Fusion Transformer in a Trading Robot".

Defining your Edge (Part 2): Using Divergence Mapping and a Temporal Fusion Transformer in a Trading Robot

In this article we make the case for merging Divergence Mapping with a Temporal Fusion Proxy in a Trading Robot. Rather than depending on lagging price confirmations, the Divergence Mapping's thesis is that acting like a structural sensor can help identify hidden momentum shifts from price action and indicator anomalies. To establish how these anomalies are interpreted over time we use a Temporal Fusion Transformer proxy. This network incorporates historical context to weigh developing trends such that merging it with Divergence Mapping should set us up to spot shifts in accumulation and distribution before price breakouts.

Published article "Mapping the Shape of Price: The Mapper Lens and Cover in MQL5".

Mapping the Shape of Price: The Mapper Lens and Cover in MQL5

The article introduces the Mapper pipeline in MQL5 by implementing the two fundamental components: CTDAMapperFilter (lens) and CTDAMapperCover (overlapping intervals). It explains three lens options—eccentricity, density, and coordinate—plus cover parameters (resolution and gain), and demonstrates how a price point cloud is reduced to one value per point and interval memberships. Readers obtain ready inputs for subsequent clustering and graph construction.

Published article "Building a JSON Trade Report Exporter in Pure MQL5".

Building a JSON Trade Report Exporter in Pure MQL5

A refined MQL5 script exports trade history to a well‑formed JSON file in MQL5/Files/, reconstructing trades from deals by position ID and recovering stop loss and take profit via a two‑pass lookup that falls back closed to the originating order. It includes a dedicated JSON serializer and computes R‑multiple, pip profit, and duration. The result loads cleanly in Python, R, or Excel without custom parsing.

The most downloaded free products:

There are more than 57,050 products available in Market

More than 1200 new charts published:

Chart GBPUSD, M15, 2026.07.28 00:58 UTC, FMGP Trading Group Pty Ltd, MetaTrader 4, Demo
GBPUSD, M15
Chart EURUSD, H1, 2026.07.28 04:26 UTC, BenchMark Finance AD, MetaTrader 4, Real
EURUSD, H1
График XAUUSD.pro, M1, 2026.07.28 04:14 UTC, Blanex Ltd., MetaTrader 5, Demo
XAUUSD.pro, M1

Bestsellers in the Market:

New publications in CodeBase

  • Advanced Risk Manager: Auto Suffix Detection Multi Currency Lot Sizer Advanced MQL5 risk management class providing deterministic lot sizing, auto-suffix detection, and cross-currency triangular conversion.
  • Channel Sun Signals Overview Channel Sun Signals plots an adaptive, triangular-weighted moving-average channel (a center line plus an upper and lower band) around price, and marks potential reversal points where price pierces a band and then closes back inside it. It is built on the same "band-break-then-reversal" logic used by classic TMA/CG-style channel indicators, but rewritten natively for MT5 — including its own multi-timeframe engine that does not rely on iCustom() or an external .ex5 file, so the indicator works standalone once compiled.
  • SimpleTradeStats Statistics on closed trades. The indicator shows trading results, filtered by magic number.
  • SteepMA Steep Moving Average Trend EA SteepMA V0.7 is a trend-following EA that uses ‘moving average steepness’ as its core entry criterion. It screens for high-certainty market conditions by quantifying trend strength, and locks in profits through a dynamic stop-loss system that tightens progressively. It also features a built-in SQLite database to ensure full traceability of the entire trading process.(Some code has been omitted to facilitate approval.)

Most downloaded source codes this month

  • 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 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.

Building a Viewport SnR Volume Profile Indicator in MQL5

Building a Viewport SnR Volume Profile Indicator in MQL5

We build a Support and Resistance Volume Profile indicator that adapts to the current viewport in MetaTrader 5. You will learn viewport detection, dynamic SnR identification, zoom‑driven bin sizing, min‑max volume scaling, and fast on‑chart rendering controlled by OnChartEvent. This approach expresses the relative strength of SnR levels with volume, keeping the chart focused on actionable reaction zones.

3 new topics on forum:

19 new signals now available for subscription:

TTM
750% 3859 trades
Growth:750.42%
Equity:17,186.18EUR
Balance:17,322.26EUR
AJAJ
730% 278 trades
Growth:729.76%
Equity:388.47USD
Balance:388.47USD
Manual Trading Strategy V1
495% 328 trades
Growth:494.89%
Equity:759.84USD
Balance:759.84USD
and 16 more...

Published article "Symbolic Price Forecasting Equation Using SymPy".

Symbolic Price Forecasting Equation Using SymPy

The article describes an interesting approach to algorithmic trading based on symbolic mathematical equations instead of traditional machine learning "black boxes". The author demonstrates how to transform opaque neural networks into readable mathematical equations using the SymPy library and polynomial regression, allowing for a full understanding of the logic behind trading decisions. The approach combines the computational power of ML with the transparency of classical methods, giving traders the ability to analyze, adjust, and adapt models in real time.

Published article "Ordinal Pattern Transition Networks in MQL5".

Ordinal Pattern Transition Networks in MQL5

We implement ordinal pattern transition networks in MQL5: a Lehmer-code encoder, a directed network over ordinal price patterns, and three complexity metrics. Two indicators expose a trend-versus-range regime from time-irreversibility and an efficiency gauge from permutation entropy, with a transparent parameter sweep showing how to tune settings on FX data.

Published article "Adaptive Spread Monitoring and Order Gating in MQL5".

Adaptive Spread Monitoring and Order Gating in MQL5

This article presents a distribution-adaptive spread monitor for MQL5 that replaces fixed thresholds with a rolling histogram of each symbol's recent spread. It explains percentile estimation from bins, a four-state GREEN/YELLOW/RED/WARMING classification, and a CCanvas dashboard rendered from real histogram data. You will get a ready workflow for per-symbol order gating and controlled alerting via arm/disarm hysteresis plus cooldown, with a verification script and clear calibration and resolution limits.

More than 1100 new charts published:

Gráfico XAUUSD, M1, 2026.07.27 00:35 UTC, Spiceprop SL Ltd., MetaTrader 5, Real
XAUUSD, M1
График US100-SEP26, H1, 2026.07.27 20:35 UTC, Trading Point Of Financial Instruments Ltd, MetaTrader 4, Real
US100-SEP26, H1
Graphique GBPUSD, H4, 2026.07.27 01:04 UTC, Stratos Trading Pty. Limited, MetaTrader 4, Real
GBPUSD, H4

The most downloaded free products:

There are more than 56,920 products available in Market

Bestsellers in the Market:

The most popular forum topics:

8 new topics on forum:

and 5 more...

21 new signals now available for subscription:

Bill
106% 4081 trades
Growth:105.61%
Equity:30,278.02EUR
Balance:30,971.94EUR
Hitec
76% 903 trades
Growth:75.56%
Equity:9,041.45USD
Balance:9,092.92USD
Trading for Living 2
43% 45 trades
Growth:42.80%
Equity:2,911.29USD
Balance:3,001.39USD
and 18 more...

Published article "How to Test and Customize Built-in MQL5 Programs: Custom BullishBearish MeetingLines Stoch Expert Advisor".

How to Test and Customize Built-in MQL5 Programs:  Custom BullishBearish MeetingLines Stoch Expert Advisor

We demonstrate a practical customization path for a built-in MetaTrader 5 EA using BullishBearish MeetingLines Stoch. The workflow covers baseline testing in the Strategy Tester, parameter optimization, and code-level changes. Two modifications are implemented: exposing Stochastic thresholds as inputs and adding an optional Moving Average filter to limit counter‑trend signals. The article includes the full modified code for replication.

Published article "Comparing Trade Return Distributions with Mann-Whitney U in MQL5".

Comparing Trade Return Distributions with Mann-Whitney U in MQL5

A native, dependency-free MQL5 implementation of the Mann-Whitney U test for comparing trade returns across two market regimes. It details rank calculation, tie correction, and a normal-approximation p-value, and pairs the test with a CCanvas box-and-whisker chart and a trade-history extraction script. A verification script is included, and the limits of the normal approximation and independence assumptions are clearly stated for informed use.

More than 1000 new charts published:

チャート EURNZD, M5, 2026.07.26 20:53 UTC, WM Markets Ltd, MetaTrader 4, Real
EURNZD, M5
Chart GBPUSD, H1, 2026.07.25 20:21 UTC, FundedNext Ltd, MetaTrader 5, Demo
GBPUSD, H1
チャート USDJPY, H4, 2026.07.26 18:47 UTC, Axiory Global Ltd., MetaTrader 4, Demo
USDJPY, H4

The most downloaded free products:

Bestsellers in the Market:

There are more than 56,780 products available in Market

Most downloaded source codes this week

  • 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.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • ASQ Command Desk ASQ CommandDesk is a professional order management panel for manual traders on MetaTrader 5. You make the trading decisions — CommandDesk handles execution, risk control, and exit management automatically.

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.

20 new signals now available for subscription:

Williams trader3
278% 778 trades
Growth:278.34%
Equity:1,722.86USD
Balance:1,722.86USD
Trend X 005
121% 455 trades
Growth:121.49%
Equity:295,305.55USD
Balance:295,305.55USD
Shanks23
116% 1828 trades
Growth:116.00%
Equity:11,629.59USD
Balance:11,647.55USD
and 17 more...
123456789101112...681