Articles, Library comments - page 26

Check out the new article: MQL5 Expert Advisor Builder (Part 1): A Simple Static Template . The article examines an example of a multipurpose trading robot template that is suitable both for creating your own strategies and as a codebase for freelance work. A key feature of the solution is bar-based
Check out the new article: Market Simulation: Unity Is Strength (III) . In this article, I will present our system for simulating market operations. Although everything is practically finished, there are still a few things to implement and a few changes to make. However, I have to admit that, after
Prop-Firm Equity Guard - daily and max drawdown protection (FTMO-style) : Account-level protection utility for prop-firm challenges: daily and max drawdown limits with a safety buffer. Closes all positions and raises a global halt flag other EAs can check. Author: Cristian Ciunae
News Filter for the Strategy Tester (DST-corrected calendar export) : A real economic-calendar news filter that also works in backtests. Export the events once with a script, then block new entries around news both live and in the Strategy Tester. Fixes the one-hour DST shift of historical calendar
Check out the new article: Developing a Multi-Currency Expert Advisor (Part 32): Secrets of the Optimization Project Creation Step (II) . The article discusses the parameters of the second stage of the automatic optimization pipeline for a multi-currency Expert Advisor. We analyze the criteria for
Previous Day highs and lows : Draws the previous day High, Low, and Close as horizontal reference lines on the chart for a configurable number of past days. Yesterday's levels extend into today as live support and resistance, with optional touch alerts. Author: 59848
Check out the new article: Building AI-Powered Trading Systems in MQL5 (Part 10): A Resolution-Independent Vector Icon System . We replace the embedded bitmap icons in our MQL5 canvas interface with a resolution-independent vector icon system. A small set of anti-aliased primitives (strokes, discs
Check out the new article: From Basic to Intermediate: Operator Overloading (IV) . In this article, we will take a first step toward showing how to implement operator overloading for the index operator and the assignment operator, while striving to offer a practical and interesting approach for
Check out the new article: Market Replay: Unity Is Strength (II) . Until now, the application being developed as part of this series of articles has focused exclusively on simulating the graphical part. However, to obtain a more complete system in which we can test the Expert Advisor within the
Check out the new article: Neural Networks in Trading: The Adaptive Graph Diffusion Model (SAGDFN) . In this article, we explore the architecture of SAGDFN — a modern framework capable of transforming the approach to processing spatiotemporal data. It preserves key information even in complex graphs
Liquidity Void Decay Oscillator. : A subwindow oscillator that flags thin-participation displacement bars as "liquidity voids" and scores 0–100 how quickly price re-fills each one, distinguishing fast-absorbed noise from levels still acting as real support or resistance. Author: Adedayo David
Check out the new article: Three MACD Filters on US_TECH100: Five Years of Broker Data . This article tests three common filters on a standard MACD crossover for US_TECH100 H1 using five years of broker-native data. Filters are layered incrementally: regime, higher timeframe (HTF) alignment, and US
Safe Risk Manager EA - Daily Loss, Break-Even and Trailing Stop : Educational MT5 hedging-account trade panel with risk sizing, spread protection, a persistent daily-loss lock, break-even and trailing stops. Author: Reynard Carelse
Hurst Exponent Regime Switch Indicator : Estimates the rolling Hurst exponent of price via rescaled-range (R/S) analysis and plots it as a color-coded oscillator that flags whether the market is currently trending, mean-reverting, or moving like a random walk. Author: Adedayo David Gbadebo
EA Trend Follower : TREND Follower (Daily) is a lightweight, development-oriented Expert Advisor (EA) created as a base trading architecture for research, learning, experimentation, and further development. The EA is intentionally designed around a simple concept: follow the market direction using
Check out the new article: How to Use Finite Differences for Price Forecasting . The article examines the practical application of finite differences in trading: types of differences, their relationship to price dynamics, and the binomial transform for noise filtering. The rules for encoding
Check out the new article: LLM-Based Trading Agent with Embedded Top Trader Philosophy . The article provides a critical analysis of an LLM strategy in which forecasting the direction is separated from trading decisions, and demonstrates why this leads to a disconnect between metrics and PnL. We
Check out the new article: MQL5 Wizard Techniques you should know (Part 23): CNNs . Convolutional Neural Networks are another machine learning algorithm that tend to specialize in decomposing multi-dimensioned data sets into key constituent parts. We look at how this is typically achieved and
Check out the new article: Developing a Reusable Dynamic Volatility Trailing Stop Engine in MQL5 . This article presents a modular, object-oriented volatility trailing stop engine for MQL5 packaged as a reusable include class, it calculates dynamic stop-loss levels using a True Range average filter
Check out the new article: From Basic to Intermediate: Operator Overloading (III) . In this article, we will examine how to implement overloading for both logical operators and comparison operators. This requires a certain amount of caution and a fair amount of attention. Even a minor oversight when
Check out the new article: Market Replay: Unity Is Strength (I) . We're entering the home stretch. The development of the replay/simulation system is nearly complete. Of course, we still have a few things left to finish, but compared to everything we've already done, completing what's left won't be
Check out the new article: Building a Session Performance Analytics Dashboard in MQL5 . This article builds an MQL5 dashboard that classifies closed deals into Sydney, Tokyo, London, and New York trading sessions by UTC close time. It computes per-session P&L, win rate, and average hold time, then
Check out the new article: Defining your Edge (Part 6): Harnessing Fourier Transform and a Spiking Neural Network in an Expert Advisor . Article revisits Trading Robot that merged Discrete Fourier Transform with Leaky Integrate-and-Fire Spiking Neural Network. Evaluation is made over the seven
Check out the new article: From Basic to Intermediate: Operator Overloading (II) . At first, this article may seem rather confusing because of the material I'm going to cover in it. Nevertheless, I've tried to explain everything as simply and clearly as possible. I hope you'll understand what I'm
Check out the new article: Market Simulation: Position View (XIX) . One of the issues that bothered me the most was that the `C_ElementsTrade` class contains code for accessing positions. Don't take this as a mistake, because it really isn't one. However, this increases the risk of errors in some of
Check out the new article: Neural Networks in Trading: Heterogeneity-Informed Meta-Parameter Learning (Conclusion) . The article describes a practical implementation of the HimNet framework based on MQL5, ready for integration into automated trading. We demonstrate how heterogeneity-adapted
Spread Monitor for Scalpers : Spread histogram in a sub-window with current/avg/max/min stats, cost per trade, and threshold alerts for scalpers. Author: Radoslaw Karol Lubas
Check out the new article: Beetle Swarm Optimization (BSO) . We consider a BAS+PSO (BSO) hybrid, where BAS provides a local direction signal and PSO facilitates the exchange of best solutions within the swarm. The article presents a mathematical model, pseudocode, an implementation of the class in
Check out the new article: Building a Research-Grounded Grid EA in MQL5: Why Most Grid EAs Fail and What Taranto Proved . This article implements a regime-adaptive grid trading EA based on the PhD research of Aldo Taranto. It presents a regime‑adaptive grid trading EA that constrains risk through
RiskGuard Lite - Percent-Risk EMA/ATR EA : Educational MT5 EA: closed-bar EMA crossover entries, ATR-based stop loss and take profit, lot size from a fixed percent of equity via OrderCalcProfit, spread filter, magic-number isolation and server return-code checks. A clean template for building