Articles, Library comments - page 3

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
PropFirm Risk Guardian MT5 – Account-Wide Risk Protection EA : Account-wide MT5 risk protection EA for prop-firm and personal accounts. Monitors daily and overall drawdown, position losses, safety buffers, and automatically protects the account when configured limits are reached. Author: Rahul
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
New article New Article Publishing System at the MQL5.community is published: We present you a new article publishing system at the MQL5.community. In the new system, we have tried to make the whole process of article writing clear and comfortable by breaking it into several steps. At each step we
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
SuperTrend Indicator : A custom SuperTrend indicator built from first principles, combining an ATR-based volatility band with a ratchet mechanism to produce a clean, non-repainting trend line. Internal recursive state is managed through properly registered calculation buffers, avoiding the