Articles, Library comments - page 3

Check out the new article: Volatility Sizing Under Controlled Stress in MQL5 (Part 2): Heavy Tails, Outliers, and Risk Recovery . We study how additive, transient outliers affect volatility estimates and next‑bar sizing when the Part 1 rules remain fixed. Using standardized Student‑t returns and
Supertrend Scalper with Breakeven Win Rate Panel : A Supertrend scalping EA with 14 switchable filters and a self-measuring panel that shows the actual win rate next to the win rate needed to break even after real spread, so you can see whether a setting has an edge or only a high percentage
Missing Stop Loss and Take Profit Setter : Utility Expert Advisor that finds open positions without a stop loss or take profit and adds them at a fixed distance in pips from the open price. It never opens or closes trades. Author: Kenichiro Sakamoto
Check out the new article: Gating Trades with the Wald-Wolfowitz Runs Test: An O(1) Randomness Filter for Bar Direction . A rolling Wald–Wolfowitz runs-test engine classifies recent bar direction as persistent, alternating, or indistinguishable from noise before any entry logic is applied. The
Check out the new article: Implementing Golden-File Regression Tests for Expert Advisors in MQL5 . Golden-file testing compares the trade decisions of a modified Expert Advisor with an accepted run, so an unintended logic change appears as changed decisions. CDecisionRecorder writes each recorded
Spread Spike Histogram with Moving Average : Separate window indicator that draws the spread of every bar as a histogram with its moving average and colors the bars where the spread is far above normal or above a fixed ceiling. Author: Kenichiro Sakamoto
Economic News Window Flag for Pausing Expert Advisors : Utility Expert Advisor that reads the built-in economic calendar and sets a terminal global variable to 1 around important events, so other Expert Advisors can skip new entries during the news. Author: Kenichiro Sakamoto
Check out the new article: Neural Networks in Trading: Difference-Based Modeling of Market Microstructure (Conclusion) . The article provides a detailed analysis of the practical implementation of the EDCFlow framework's concepts using MQL5 and their validation using real historical data. It
Trade List Report — a colorful PDF of your trades, written in pure MQL5 : Prints a colorful, print-ready PDF report of your last N trades: KPI cards, a win-rate donut, a zebra table with BUY/SELL pills and diverging profit bars. Pure MQL5 — no DLL, no external converter. Saved to `MQL5\Files`
Psychological Level Reaction Tracker : Free MQL5 indicator that plots 00, 25, 50 and 75 psychological price levels and tracks historical touches, rejections, breakouts and sweeps with dashboard statistics and alerts. Author: Luke John Smith
Round Number Levels : Auto-scaled round-number (psychological) levels with major, half and quarter lines, plus a panel showing the nearest levels and their distance in price, points and % of daily ATR. Author: Winston Teddy Meyn
EA Validation Guard - Pre-Trade Request Checker : Reusable MQL5 pre-trade validation library that checks margin, volume, trading permissions, symbol restrictions, stop levels and broker OrderCheck results before an order is sent. Author: Luke John Smith
Prop Firm Daily Profit Lock : Daily Profit Lock is a free utility EA that protects a good trading day. Once today's profit hits your cap, it closes your trades, deletes pending orders and blocks new trades until the next day. You can set the cap as a fixed amount, a percent of balance, or a share of
One-Click Buy Sell Close Panel with Pip Stops : Chart panel Expert Advisor with BUY, SELL and CLOSE buttons. Market orders use a fixed lot with stop loss and take profit in pips, and the panel shows the floating profit of its trades. Author: Kenichiro Sakamoto
Check out the new article: Master the Z-Score: Building Mean-Reverting MQL5 Trading Systems . This article explains how to use the Z-Score to quantify price deviations in standard deviations and apply the concept in MQL5. We cover the calculation, interpretation across market regimes, and the
Equity Drawdown and Daily Loss Guard : Utility Expert Advisor that closes all open positions when equity falls a set percentage below its peak or when today's loss reaches a limit. It never opens trades. Author: Kenichiro Sakamoto
Break-Even and Trailing Stop Manager for Open Positions : Utility Expert Advisor that moves the stop loss of open positions to break-even and then trails it by a fixed pip distance or an ATR multiple. It never opens trades. Author: Kenichiro Sakamoto
Symbol Specification Probe - tick size, tick value, money value of a stop : The probe prints the values a symbol specification supplies: digits, point, trade tick size, trade tick value, contract size, volume minimum, volume maximum, volume step and the stops level. Trade tick size is the smallest
Gaussian Auto EA : Trend-following breakout EA using a Gaussian-filtered channel, ATR bands, risk-based lot sizing, and an R-multiple trailing stop. Author: Laith
Check out the new article: MQL5 Trading Tools (Part 40): Adding SQLite Persistence and Per-Timeframe Visibility to the Canvas Drawing Layer . We add SQLite persistence to the canvas tools, saving every drawing and the entire UI session per symbol, then restoring them on startup so the workspace
RH Trade Panel - Risk-Based One-Click Trading with Session Tracker : Manual one-click trading panel for MetaTrader 5. Calculates the lot size from your risk % and stop loss (always rounded down), places SL/TP by pips and reward:risk, and manages trades with breakeven, trailing stop and Close All
Check out the new article: Building a HalfTrend Channel Indicator in MQL5 . This article builds a HalfTrend Channel indicator in MQL5 that combines rolling price extremes with a HalfTrend baseline and a Wilder‑smoothed ATR(100) to form adaptive channel boundaries. It explains the trend‑state
Check out the new article: Backtesting Indicator Signals in MQL5 Using Buffers and Chart Objects . The EA evaluates indicator signals from buffers or dated chart objects on historical closed bars, keeping execution separate from account reports. It models virtual positions with user-defined entry
New article Price velocity measurement methods has been published: There are multiple different approaches to market research and analysis. The main ones are technical and fundamental. In technical analysis, traders collect, process and analyze numerical data and parameters related to the market
Check out the new article: Native Apache Cassandra Client in MQL5: Writing Trade and Market Data via the CQL Binary Protocol . This article shows how to build a native Cassandra CQL v4 client in MQL5 over a raw socket, without a REST or gRPC proxy. It details CQL frame encoding, correct handling of
Check out the new article: Neural Networks in Trading: Difference-Based Modeling of Market Microstructure (Difference Block) . The article presents a practical implementation of the EDCFlow framework's approaches, with a focus on the Multi-Scale Difference module. It demonstrates how sequential
CBitBuffer Class - Data Serialization in MQL5 : A class for reading and writing individual bits or bit sequences to and from a buffer. Author: amrali
MD Scalper – Trend / Reversal pending-stop scalper with trailing stop : Scalping Expert Advisor that reads a 3-period smoothed MA channel (High/Low), places pending stop orders either with the move (Trend) or behind it (Reversal), and trails the stop loss tick by tick. It includes broker-safe order
Tick-Only Spread Telemetry, Swap Decoder and 1-Lot Execution Cost Audit : Zero-DLL on-chart execution monitor tracking genuine tick-only Min/Avg/Max spread, Spread-to-ATR ratio, decoded broker swap modes, 3x rollover day, and 1.0-lot all-in cost. Author: Meng Chang Chen
Multi-Session Range Boxes and 14-Day ADR Exhaustion Monitor : Zero-DLL intraday session box indicator (Asia, London, New York) with 14-day Average Daily Range exhaustion tracking and dynamic ADR Upper/Lower target lines. Author: Meng Chang Chen