Articles, Library comments - page 3

Check out the new article: Reading Parquet Natively in MQL5: Thrift, Snappy and Dictionary Decoding into matrix Without CSV . This article shows how to read Apache Parquet files directly in MQL5 without DLLs: a native Thrift Compact Protocol decoder for footer metadata, a native Snappy block
Check out the new article: Building Your Own Expert Advisor (Part 8): ATR and R-Multiple Trailing Stops . We add TrailingStop.mqh: a trailing engine plus pluggable methods for the Series EA. Each method proposes a level; the engine decides if and when to send it, enforcing protective direction
  Libraries: MultiTester  (590   1 2 3 4 5 ... 58 59)
MultiTester : Multiple runs/optimisations in Tester. Author: fxsaber
Check out the new article: Neural Networks in Trading: Mesh-Based Approximation of Event Streams as a Tool for Analyzing Price Patterns (CDC Module) . The article presents an interim stage in the implementation of the EEMFlow framework using MQL5. The focus is on the design and integration of a CDC
Inside-Bar Outcome Tracker: Breakout Direction, Failure Rate and Time to Resolve : Finds every inside-bar pattern in the history of your chart and follows it to the end: which side of the mother bar broke first, whether the breakout held or failed within a few bars, and how many inside bars came
Daily Loss Limit Guard - close all and stay flat after the daily limit : A simple account guard: once the day's loss (equity against the balance at the start of the day) reaches your limit, it closes all positions, deletes pending orders and keeps the account flat until the next day. Works on manual
Break-Even Stop Mover with Locked Profit : Moves the stop loss of open positions to break-even plus a small locked profit once they reach a profit trigger. Works on manual trades and on trades from any other EA (magic filter). Never opens or closes trades and never moves a stop backwards. Author
Trade Journal : An advanced MT4 trade journal featuring automatic CSV logging, detailed performance statistics, per-symbol analytics, searchable trade history, and comprehensive CSV reports. Author: Sara Sabaghi
Check out the new article: Counting Breaches Is Not Backtesting: Six Tests for a Loss Limit . We present a dependency-free MQL5 library that tests risk limits instead of simply using them. It grades any loss limit with six coverage tests, validates the battery on synthetic data, compares four
Candle Streak Statistics: What Happens After N Same-Color Bars : Counts run of bars of the same color and measures what the next bar did after a run of every length: how often the run continued, how often it reversed, and how far the next bar moved in ATR. The figures are built from the history of
Check out the new article: Bland-Altman Analysis for MQL5: Agreement Between Strategy Tester Modes (Real Ticks vs 1 Minute OHLC). . The article builds a full MQL5 workflow for Bland-Altman agreement analysis between two Strategy Tester execution modes (real-tick vs 1-minute OHLC). A logging EA
CustomStopOut: your own margin call and stop-out levels, worst position closed first : A script that sets your own margin call and stop-out levels above the broker's. It alerts when the margin level falls below your margin call level and, below your stop-out level, closes positions one at a time
LERM - Liquidity and Efficiency Regime Matrix : Classifies each bar into trend, exhaustion, compression or noise regimes using Fractal Efficiency, ATR compression and a time-of-day adjusted volume Z-Score. Author: Dario Cadeddu
Currency Strength Free MT5 - Eight Currency Scanner : Free MT5 dashboard comparing eight major-currency strengths and ranking up to 28 FX pairs from completed candles. Includes broker-prefix/suffix detection, synchronization checks, chart navigation and eight output buffers. Independent MIT-licensed
StrictJson: RFC 8259 JSON parser and writer for MQL5 : One include file that reads and writes JSON in MQL5 and MQL4: strict RFC 8259 parsing with the line and column of every error, exact numbers, strict UTF-8 files, and settings saved to a file and loaded back. Author: George Ciprian Mandache
Divergence Detector without repaint: RSI, MACD, Stochastic, CCI, Momentum : Regular and hidden divergences between price and RSI, MACD, Stochastic, CCI or Momentum. Swings confirmed on closed bars, signal on the confirmation bar, lines on oscillator and price. No repaint, buffers for EAs. Author
Key Levels: PDH/PDL, weekly and monthly levels, midnight open, Asian range, sweeps : Previous day, week and month high and low, New York midnight open, period opens and the Asian range, with sweep marks and one alert per level. Day from broker or New York time. No repaint, buffers for EAs. Author
Seasonality : A free MT4 Forex seasonality indicator that analyzes historical price data to reveal weekday, weekly, and monthly market tendencies, bullish/bearish probabilities, average returns, and volatility through a modern statistical dashboard. Author: Sara Sabaghi
OrderGuard - restart-safe order sending for EAs (no duplicate trades) : An include file that makes the way an EA sends its orders safe: the same signal is never traded twice. It has no trading strategy inside and comes with a small example EA. Author: Archie Stuart Clarke
Pacific Clock - US Pacific time on the chart (PST/PDT) : Shows US Pacific time on the chart, with the broker's time beside it, and the Pacific time of any candle under the mouse. Author: Archie Stuart Clarke
Check out the new article: Building a Modular Pre-Trade Execution Filter Engine in MQL5 . The article presents a modular pre-trade execution filter for MQL5 as an object-oriented include class. It validates quote freshness, aligns order filling with broker capabilities, applies a rollover freeze
Check out the new article: Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 11): A Real Stroke Engine . The engine learns to draw lines by stroking arbitrary paths with width, cap and join styles, miter limiting, and dashes. The stroker outputs overlapping geometry that the non-zero
Lot Size Calculator - Risk Percent to Lots : Calculates the correct lot size from your risk (% of balance, % of equity or a fixed amount) and stop-loss distance. Shows actual risk and margin. Never places trades. Author: Rishabh Trivedi
Candle Timer and Spread : Shows the time left until the current candle closes and the live spread in any chart corner. Keeps counting every second, even when no ticks arrive. Author: Rishabh Trivedi
Close All Positions and Orders (Filtered) : Closes open positions and deletes pending orders in one run, with filters for symbol, magic number, side and profit or loss. Asks for confirmation and retries failed closes. Author: Rishabh Trivedi
Check out the new article: Building a Daily OHLCV Aggregator from M1 Bars in MQL5 . Create session-aligned daily candles from M1 data by choosing the session close hour. A dedicated shift–truncate–restore day-key function prevents off-by-one errors at rollover and is easy to unit test. The script
Check out the new article: The Brunner-Munzel Test for MQL5: Comparing Trade Outcomes When the Variances Don't Agree . Mann–Whitney's usual normal-approximation reading relies on equal shape and variance, which trade outcomes often violate. We implement the Brunner–Munzel test natively in MQL5
Check out the new article: Dirichlet Process Mixtures: How Many Market Regimes Are There, and Does the Answer Mean Anything? . Most regime tools ask for a fixed number of states. This article implements a Dirichlet process mixture for MQL5 with truncated stick-breaking and varying coordinate ascent
Check out the new article: Self-Optimizing Expert Advisors in MQL5 (Part 21): Wavelet Denoising With Time-Lagged Independent Component Analysis (4) . This article refines a multilayer market‑noise filter by sanitizing moving‑average inputs via Discrete Wavelet Transform and constructing a FastICA
Range Compression Zones Breakout : Range Compression Zones Breakout draws range compression zones and marks breakouts that pass a higher-timeframe high/low filter and a volume filter. Inspired by the range compression idea in Domenico D'Errico's Accumulation/Distribution study (TASC, August 2018)