Articles, Library comments - page 3

Fair Value Gap Zones Tracker : Fair value gap (FVG) indicator for MT5 on Gold (XAUUSD), forex and indices: three candle gaps on closed bars, ATR size filter, the open part shrinks as price fills it, mitigation by touch, midline or full fill. Open source code. Author: Cristhian Alexander Gaibor
Supertrend EA Gold Breakeven : Supertrend expert advisor for MT5 on Gold (XAUUSD), forex and indices: entry on the closed candle of the flip, stop at the Supertrend line, target by stop multiple, breakeven and lot by risk percent. Open source code. Author: Cristhian Alexander Gaibor Cuasquer
Session Range Box : Draw Asian, London and New York session ranges as chart boxes with high/low lines, labels and an optional London–New York overlap. Configure GMT or broker-server hours and review the latest session statistics in a panel. Author: Pavel Polikarpov
Risk-Based Lot Size Calculator (script) : A small script that turns "risk in % of the account" and "stop loss in pips" into a lot size. It only calculates and prints; it never opens, modifies or closes trades. Author: Cesar De Los Reyes Sanchez
ICT Session Boxes - four GMT windows, automatic broker offset, high and low lines : Session windows are quoted in GMT; the chart runs on the broker's clock. This indicator takes each window in GMT, applies your broker's offset, and draws the box over that window's bars. It adds the high and low
Risk Lot Calculator : Chart panel that calculates position size from risk % and stop-loss in points, with tick value, margin and money at risk. Does not place orders. Author: Pavel Polikarpov
AlgoFX Session Liquidity Sweeps : Marks previous day, Asian and London session highs and lows from chart bars and flags closed-bar, ATR-filtered liquidity sweeps. Non-repainting, with EA-readable buy/sell buffers and an on-chart display panel. Author: Alban Haxha
Round-Number / Psychological Level Magnet : Auto-scaled round-number grid for any symbol — big figures and half levels drawn to the right spacing whether you're on EURUSD, USDJPY, XAUUSD or an index, plus a live "distance to nearest magnet" readout. Author: Omowumi Deborah Adebayo
TREND CANDLES v1.1 : Trend coloured candles - By Mistral AI Author: Rodrigo S. Franco
Spread and Daily ATR Risk Meter HUD : Compact zero-buffer MetaTrader 5 on-chart HUD displaying live Spread in points and pips, Daily ATR(14) range consumption percentage, broker Stops/Freeze levels, and 1R lot size. Author: VAN THANH NGUYEN
New article Creating Active Control Panels in MQL5 for Trading is published: The article covers the problem of development of active control panels in MQL5. Interface elements are managed by the event handling mechanism. Besides, the option of a flexible setup of control elements properties is
Previous Day High, Low and Close Levels : Draws the previous day High, Low and Close as horizontal levels on the chart, with optional history for several past days, extension of today's levels to the right and price labels. Author: Theophilus Adebomi Adeniyi
Check out the new article: Building a Bar Replay Tool in MQL5 . This article shows how to build an interactive bar replay tool in MQL5 for MetaTrader 5 that reveals historical candles one by one without exposing future data. You will implement custom candles with DRAW COLOR CANDLES, an event-driven
Check out the new article: The Chimp Optimization Algorithm: From ChOA to BChimp . The Chimp Optimization Algorithm (ChOA) mimics primate group hunting with a division of roles, and its binary variant, BChimp, applies this mechanism to feature selection problems. We implement a continuous core in
New article Applying the Monte Carlo method for optimizing trading strategies has been published: Before launching a robot on a trading account, we usually test and optimize it on quotes history. However, a reasonable question arises: how can past results help us in the future? The article describes
History Export from the Strategy Tester (Bars and Ticks) : Exports bars of any timeframe and, optionally, every tick from the Strategy Tester to CSV, without the chart's 100,000-bar limit. Reports gaps inside trading sessions. Places no orders. Author: Robit Napit
Order Block Zones Indicator : Order blocks from the chart timeframe or a higher one, shaded on the chart and followed bar by bar: fresh until price comes back, tested after that with every return counted, broken once a close goes through. Sizes are measured in average ranges, so the defaults fit any
Algo: EMA Trend Cross on Closed Bars — XAUUSD M30 : Free educational EA — a single-position trend-following EMA crossover system for XAUUSD M30, released as open source for beginners to study trade ownership guards, preflight order validation, risk-based lot sizing, and server-time session
Check out the new article: Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 8): Paint, from Solid Colors to Gradients . Gradients are introduced by making the source a polymorphic paint: the rasterizer calls ColorAt(x, y) for each pixel. This enables solid, linear and radial fills
Check out the new article: Why Backtested Scalpers Diverge in Live Trading (Part 1): Building an Intelligent Friction Guard for Dynamic Spread and Micro-Volatility Filtering . The article addresses the backtest–live gap in scalping by formalizing market friction and screening trades at quote time
Check out the new article: From Basic to Intermediate: Objects and Subwindows (II) . This article explains how to track and handle the removal of objects from the chart in MQL5 using MetaTrader 5 events. When the code detects that an object created by an indicator has been deleted, it deletes the
Check out the new article: 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
Session Clock : An animated 24-hour dial of the Sydney, Tokyo, London and New York sessions with automatic daylight saving time, a countdown to the close of the current candle, and live spread and day range. The panel collapses into a bar and can be dragged on the chart. Author: Gabriele Volpato
Trade Pad : An animated one-click trading panel for the chart symbol: buy and sell with live prices, lot stepper, close all, close profit, close loss and breakeven, with confirmations, a practice mode and a collapsible, draggable panel. Author: Gabriele Volpato
Equity Drawdown Monitor : An animated chart panel that shows the equity drawdown of the account in real time, the closed result of the day, week and month, and one line for every Expert Advisor running on the account. Author: Gabriele Volpato
Correlation Matrix Dashboard : Live rolling-correlation heatmap across your watchlist — spot hidden overlapping exposure before you stack three “different” trades that are secretly one trade. Author: Omowumi Deborah Adebayo
Common Folder Copier - copy positions between MT5 terminals on the same PC : Local MT5-to-MT5 trade copier through the Common files folder. One EA in Master or Slave mode: lot multiplier or fixed lot, symbol prefix/suffix, reverse, SL/TP and partial close sync. Author: Augusto Martin D'anna
Execution Quality Logger - slippage, fill delay and spread of every deal : Logs the slippage, fill delay and spread of every deal on the account (manual, EAs, SL/TP hits) to a CSV file and shows a live summary. It never trades. Author: Augusto Martin D'anna
Equity Target Closer - close all trades at a profit or loss level : Closes all positions and pending orders when the account profit or loss reaches your target, in money or % of balance. Floating or full-day P/L, symbol and magic filters. Author: Augusto Martin D'anna
Simple License - lock your EA to accounts, expiry date, demo-only or server : Minimal include file to license your own EAs and indicators: allowed account numbers, expiry date, demo-only trial mode and broker server filter. Example EA included. Author: Augusto Martin D'anna