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 "Building Your Personal Expert Advisor (Part 1): From Fragile Script to Working EA".

Building Your Personal Expert Advisor (Part 1): From Fragile Script to Working EA

This article focuses on EA architecture rather than signal design. Starting with a flawed Moving Average crossover EA, we add new‑bar detection to prevent duplicate entries, Magic Number and position awareness, ATR‑based risk levels, and data and trade result validation, along with basic safeguards. You obtain a practical base to build and test advanced systems.

Published article "Automated Trade Statement Exporter to Excel-Compatible XLSX in MQL5".

Automated Trade Statement Exporter to Excel-Compatible XLSX in MQL5

An MQL5 script reconstructs closed trades from deal history using a two-pass SL/TP lookup and exports them to an Excel-compatible XLSX file without third-party libraries. Four cooperating classes handle trade data, history reconstruction, SpreadsheetML XML generation, and ZIP assembly via .NET's ZipFile class through a direct ShellExecuteW call with marker-file polling. The output opens in Excel and Google Sheets with correct numeric types, formatted date columns, and a bold header row.

Published article "Bayesian Online Change-Point Detection (BOCPD) in MQL5: One Regime-Break Signal, Three Ways to Use It".

Bayesian Online Change-Point Detection (BOCPD) in MQL5: One Regime-Break Signal, Three Ways to Use It

This article delivers Bayesian Online Change-Point Detection as a single, dependency-free MQL5 class that maintains a per-bar, causal probability of a regime break. We use it three ways: a live monitor, a moving average that flushes on breaks, and a risk overlay with a matched-frequency random control. Readers get a reusable primitive to watch structural change, adapt indicators, and gate exposure after detected shifts.

Published article "Creating a Probabilistic Market-Neutral Trading Robot Based on a Return Distribution".

Creating a Probabilistic Market-Neutral Trading Robot Based on a Return Distribution

A market-neutral trading strategy based on the empirical return distribution offers an alternative to traditional technical analysis methods, replacing price direction forecasting with the statistical placement of orders at levels the price is likely to reach. This article provides a detailed analysis of the mathematical framework for calculating percentiles, algorithms for weighting position sizes based on the probability of an order being triggered, and mechanisms for adapting to changing market conditions through grid expiration. A complete implementation in MQL5 is provided.

Published article "Crow Search Algorithm (CSA)".

Crow Search Algorithm (CSA)

The Crow Search Algorithm (CSA) is an elegant metaheuristic inspired by crows’ ability to hide food and find other crows' caches, solving optimization problems by balancing following successful solutions with random exploration of the search space. Let's find out how well the algorithm performs.

The most downloaded free products:

More than 400 new charts published:

Chart USDCHF, H1, 2026.08.03 02:48 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
USDCHF, H1
Chart XAUUSD, M5, 2026.08.01 00:09 UTC, AT Global Markets Intl Ltd, MetaTrader 4, Demo
XAUUSD, M5
График XAUUSD, MN1, 2026.08.03 02:54 UTC, MetaQuotes Ltd., MetaTrader 5, Demo
XAUUSD, MN1
There are more than 56,370 products available in Market
There are more than 154,400 topics available on forum

21 new signals now available for subscription:

Fx Swing
938% 10249 trades
Growth:937.61%
Equity:15,147.81USD
Balance:15,156.95USD
Y77049692
280% 9527 trades
Growth:279.65%
Equity:4,545.44USD
Balance:5,914.72USD
CWDT GRID STRAT 2 HIGH RISK
129% 1080 trades
Growth:128.97%
Equity:1,182.95EUR
Balance:1,593.13EUR
and 18 more...

Bestsellers in the Market:

7 new topics on forum:

and 4 more...

Published article "Trading Options Without Options (Part 3): Complex Option Strategies".

Trading Options Without Options (Part 3): Complex Option Strategies

The article discusses flat (non-directional) and trend-following (directional) option strategies and their implementation in MQL5. The EA described in the previous article is updated. The display of option levels has been added. Now it is time to examine the strategies used by options traders in practice and put them into action.

Published article "Formulating Dynamic Multi-Pair EA (Part 10): Asymmetric Stop-Loss Logic Based on Pair-Specific Volatility Signatures".

Formulating Dynamic Multi-Pair EA (Part 10): Asymmetric Stop-Loss Logic Based on Pair-Specific Volatility Signatures

The EA learns each symbol's volatility profile before trading by processing 1000 bars and summarizing candle ranges, bodies and wicks, noise ratio, trend runs, pullback size, and true‑range dispersion. A classifier assigns regime and structure labels per pair. The stop‑loss optimizer maps those labels to a symbol‑specific ATR multiplier, and the risk module sizes lots to maintain constant percentage risk.

Published article "Price Action Analysis Toolkit Development (Part 76): One-Click Symbol Dashboard for Centralized Multi-Chart Management in MQL5".

Price Action Analysis Toolkit Development (Part 76): One-Click Symbol Dashboard for Centralized Multi-Chart Management in MQL5

Learn to assemble an MT5 Expert Advisor that hosts a chart management dashboard written in MQL5. The guide walks through shared definitions, symbol acquisition and filtering, chart lifecycle functions, and a UI panel with search, scrolling, and state indicators, all driven by events and a timer. The result is a reproducible tool that reduces clicks and accelerates multi-symbol analysis.

Published article "Automating Classic Market Methods in MQL5 (Part 5): The Original Turtle Trading Rules".

Automating Classic Market Methods in MQL5 (Part 5): The Original Turtle Trading Rules

This article builds a complete MQL5 Expert Advisor that implements the original Turtle Trading rules from Curtis Faith. It covers both systems: 20/55-day breakouts, the System 1 skip rule, N (Wilder ATR) for volatility-adjusted sizing, a four‑unit pyramid with N/2 adds, a unified 2N stop, and 10/20-day exits. You will get compilable code, implementation details, and a backtesting procedure on EURUSD.

The most downloaded free products:

Bestsellers in the Market:

There are more than 56,270 products available in Market

New publications in CodeBase

  • Portfolio Correlation Analyzer Read-only analytics for accounts that run several Expert Advisors. It groups closed trades by magic number and measures what running those systems together actually saves you: standalone versus combined drawdown, the pairwise correlation matrix drawn as a heat map on the chart, and a Monte Carlo reshuffle of the portfolio's period returns.
  • SHK Heikin Ashi MACD Signal Arrows A MetaTrader 5 chart indicator that draws Heikin Ashi candles, confirmed buy and sell arrows, optional MACD histogram divergence filtering, and configurable alerts.
  • Institutional Ehlers Fisher Transform (PDF Normalizer) A DSP oscillator for MT4 that applies Ehlers' Fisher Transform to reshape price into a Gaussian normal distribution, eliminating boundary flattening to catch zero-lag structural reversals.

Most downloaded source codes this week

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

16 new signals now available for subscription:

SONY Smart Trading System
484% 331 trades
Growth:484.44%
Equity:218.90USD
Balance:218.90USD
OMO Momentum NAS100
181% 493 trades
Growth:180.74%
Equity:4,413.85EUR
Balance:4,447.13EUR
UAEGOLDY
110% 1391 trades
Growth:110.25%
Equity:5,765.06USD
Balance:7,485.63USD
and 13 more...

The most popular forum topics:

6 new topics on forum:

and 3 more...

The most downloaded free products:

5 new topics on forum:

and 2 more...

15 new signals now available for subscription:

Tradingcontob
545% 2805 trades
Growth:545.13%
Equity:638,727.52EUR
Balance:638,727.52EUR
GOLD123 EA
212% 204 trades
Growth:212.29%
Equity:3,156.09USD
Balance:3,156.09USD
XAUUSDabc EA
210% 206 trades
Growth:209.67%
Equity:1,205.22USD
Balance:1,205.22USD
and 12 more...
There are more than 56,180 products available in Market

Bestsellers in the Market:

New publications in CodeBase

  • GoldLondonBreakout Locks in the Asian session range on XAUUSD, then places an OCO breakout pair (BuyStop/SellStop) for the London open, with ATR-based stops and risk-percent position sizing. No indicators, no discretion — the range is measured, not guessed.
  • RSI Histogram This is an MQL5 custom indicator for MetaTrader 5 called RSI Histogram. It plots the standard RSI line in a separate window, plus a color-coded histogram version of the same RSI values that changes color based on momentum:
  • EVT Crash Gauge Extreme Value Theory (EVT) ported into MQL5 for gauging potential crashes and upsets in the market.

The most downloaded free products:

There are more than 56,090 products available in Market

Bestsellers in the Market:

More than 300 new charts published:

Gráfico GBPUSD, H4, 2026.07.31 01:42 UTC, Stratos Trading Pty. Limited, MetaTrader 4, Real
GBPUSD, H4
Gráfico USDCHF.pro, M5, 2026.07.30 07:26 UTC, OANDA TMS Brokers S.A., MetaTrader 5, Real
USDCHF.pro, M5
Gráfico Crude, H4, 2026.07.31 01:38 UTC, FXTM, MetaTrader 4, Demo
Crude, H4

New publications in CodeBase

  • Sessionvolatilityheatmap Shows average price range per hour of the trading day as an on-chart heatmap, plus Asian/London/New York session shading behind the candles — so you can see when a symbol actually moves, not just guess.
  • Trade Journal and Performance Analytics Dashboard A lightweight on-chart dashboard that reads your closed trade history and shows win rate, profit factor, streaks, and an equity curve — no strategy inputs, just your own numbers, refreshed automatically.
  • SAX Forecaster A forecaster made from Symbolic Aggregate approXimation (SAX)
  • Session Scalping Zones Session-Based Scalping Indicator for MetaTrader 5. It automatically marks the Asian session high and low, then generates scalping signals at the London open when price breaks or retests those levels. The indicator draws dynamic session ranges, sends alerts and push notifications, and includes optional trend, volume and time filters. Works on M1, M5 and M15 charts for any symbol.

8 new topics on forum:

and 5 more...

14 new signals now available for subscription:

Dynamic Liquidity Intelligence pep50
318% 48 trades
Growth:317.58%
Equity:208.79USD
Balance:208.79USD
Breakthrough one order at a time
229% 14598 trades
Growth:228.96%
Equity:3,237.14USD
Balance:3,237.14USD
ThunderGold Scalper
86% 126 trades
Growth:85.72%
Equity:185.72USD
Balance:185.72USD
and 11 more...

Published article "Automating Classic Market Methods in MQL5 (Part 4): Mark Minervini's Trend Template".

Automating Classic Market Methods in MQL5 (Part 4): Mark Minervini's Trend Template

This article presents TrendTemplateEA, an Expert Advisor implementing Mark Minervini's eight-condition trend template for daily forex charts. It evaluates all conditions on every bar and enters only when they are simultaneously satisfied, using RSI above 50 in place of the stock market RS rating. The entry trigger is a 20-bar high breakout on expanding volume, with all rules coded and testable in MQL5.

Published article "Developing a Multi-Currency Expert Advisor (Part 29): Improving the Conveyor".

Developing a Multi-Currency Expert Advisor (Part 29): Improving the Conveyor

We are going to improve the usability of the automated optimization conveyor: we will explore the process from creating an optimization project to testing the final EA. For clarity, let us walk through the entire process step by step creating the final EA, while stopping to make any desired corrections.

Published article "How to Research a Trading Idea: A Range Breakout Strategy Case Study".

How to Research a Trading Idea: A Range Breakout Strategy Case Study

This article demonstrates a practical approach to researching trading ideas using a range breakout strategy as an example. We will go through the entire process, from formalizing trading rules and building a baseline model to parameter optimization, forward testing, and evaluating the robustness of the results. The main goal of the article is to develop an understanding of how statistics and testing can be used to identify, validate, and evaluate trading hypotheses.

Published article "Exporting MetaTrader 5 Open Positions to a Live-Refreshing HTML Dashboard".

Exporting MetaTrader 5 Open Positions to a Live-Refreshing HTML Dashboard

The article builds an MQL5 Expert Advisor that writes a self-refreshing HTML positions dashboard to MQL5/Files on every tick, so you can monitor open trades in any browser. It covers reading live position data, generating a complete page with inline CSS and a JavaScript reload timer, and writing the file atomically. The design escapes HTML in comments, shows an explicit empty state, and writes a clear offline page on EA shutdown.

The most downloaded free products:

Bestsellers in the Market:

9 new topics on forum:

and 6 more...
There are more than 56,000 products available in Market

The most popular forum topics:

22 new signals now available for subscription:

ActInvest IC MARKETS
486% 17371 trades
Growth:486.17%
Equity:124,758.78EUR
Balance:125,003.63EUR
Gold Reaper V4 small balance
191% 259 trades
Growth:191.40%
Equity:548.52EUR
Balance:548.52EUR
PsiqueTrader
154% 365 trades
Growth:153.93%
Equity:7,617.80BRL
Balance:7,617.80BRL
and 19 more...

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
1...34567891011121314151617...681