Articles, Library comments - page 3

Check out the new article: Enhanced Colliding Bodies Optimization (ECBO) . The article discusses the Colliding Bodies Optimization (CBO) algorithm, which is based on the physics of one-dimensional collisions between bodies. The basic version of the algorithm does not include any configurable
Check out the new article: Market Simulation: Position View (XV) . In this article, I will try to explain as simply as possible how messaging between applications can be used. The goal is to enable you to create something workable in the simplest and most efficient way possible whenever you can. I
Check out the new article: From Basic to Intermediate: Classes (III) . In this article, we will explore the best ways to manage code when working with object-oriented programming. Although we are just beginning to learn about object-oriented programming, what we will cover here will help you
Check out the new article: Honest Backtesting of Swing Strategies on Index CFDs: Financing Costs, Swap Modes, and What the Strategy Tester Cannot Model . Financing drives multi‑day index‑CFD results: in one full‑history test, swap consumed 44% of gross profit and all profit on one symbol. We convert
Check out the new article: How to Create and Adapt an RL Agent with an LLM and Quantum Encoding for Algorithmic Trading in MQL5 . The article proposes a hybrid approach to algorithmic trading based on quantum encoding of market states, Double DQN with a prioritized experience replay buffer, and an
Check out the new article: Online Machine Learning for Trade Signal Filtering in MQL5 (Part 1) . This article implements an online logistic‑regression trade filter in native MQL5 and integrates it into an EMA‑crossover EA with a closed‑trade feedback loop. It details the shared class, features, SGD
TransactionCostCollector — Broker Cost Profiling Script : Triple-barrier labeling pipelines frequently use an arbitrary constant (0.5–1.0%) or a legacy spread assumption as the min_ret threshold. A threshold set below the actual round-trip transaction cost causes the pipeline to label cost-driven
Supertrend MTF Indicator : Free multi-timeframe Supertrend indicator for MetaTrader 4 with clear trend lines and Buy/Sell signal arrows. Author: Dragan Joksimovic
Check out the new article: Market Simulation: Position View (VI) . In this article, we will implement a number of improvements to ensure that the position indicator accurately reflects the actual state on the trading server in terms of open positions and their current state. I should point out that
Check out the new article: The MQL5 Standard Library Explorer (Part 15): Building a Market-Regime Classifier with dataanalysis.mqh . This part focuses on practical data analysis in MQL5 with dataanalysis.mqh. We prepare a labeled dataset from bars, apply normalization, explore redundancy with PCA
Check out the new article: Building a Prop-Firm Compliance Monitor in MQL5 (Part 1): Account Rules and Persistent Settings . Establishes the persistence foundation for a prop-firm compliance EA in MetaTrader 5. It introduces rule inputs and status enums, separates live account state from stored
Check out the new article: Neural Networks in Trading: Decomposition Instead of Scaling (Conclusion) . We invite you to learn about an algorithm for decomposing a time series into meaningful layers and using them to build a parsimonious model. We systematically present the architecture, the
Check out the new article: Adaptive Position Sizing in MQL5: A Prototype Risk Engine with Generalized Kelly and Bootstrap Calibration . This article presents a modular position sizing engine for MetaTrader 5 that operates on normalized R-multiples. A layered pipeline combines enriched trade
Check out the new article: How to connect AI agents to MetaTrader 5 via MCP . This article shows how to connect AI agents directly to MetaTrader 5 by building a complete MCP (Model Context Protocol) server in Python. It details the architecture, MetaTrader 5 client wrapper, market data and order
Check out the new article: Network Momentum for MetaTrader5: Trading the Lead-Lag Graph Between Markets . This article builds a trend-following Expert Advisor that trades momentum spillover across markets, implemented fully in MQL5 without external solvers. It detects leaders with Derivative Dynamic
New article Tips for an Effective Product Presentation on the Market has been published: Selling programs to traders effectively does not only require writing an efficient and useful product and then publishing it on the Market. It is vital to provide a comprehensive, detailed description and good
Risk Guard — risk-based lot size, daily loss lock, max positions, oversized-trade trim, forced stop-loss : Enforces your own risk rules on every position, whether opened by hand or by another EA: shows the lot size that matches your risk, locks the account for the day after a set loss, caps open
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
Check out the new article: MQL5 Wizard Techniques you should know (Part 77): Using Gator Oscillator and the Accumulation/Distribution Oscillator . The Gator Oscillator by Bill Williams and the Accumulation/Distribution Oscillator are another indicator pairing that could be used harmoniously within
Check out the new article: Cricket Algorithm (CA) . The article discusses the Cricket Algorithm, a metaheuristic optimization method that combines elements of the Bat Algorithm and the Firefly Algorithm with the physical laws governing the propagation of sound in the atmosphere. The algorithm
Check out the new article: MQL5 Wizard Techniques you should know (Part 84): Using Patterns of Stochastic Oscillator and the FrAMA - Conclusion . The Stochastic Oscillator and the Fractal Adaptive Moving Average are an indicator pairing that could be used for their ability to compliment each other
Check out the new article: A Forgotten Classic in Volume Analysis: The Finite Volume Elements Indicator for Today's Markets . In this article, we will examine the Finite Volume Elements (FVE) indicator, which helps identify genuine capital flows in the market. We will implement FVE for MetaTrader 5
GDS Renko Donchian Demo EA : A small educational Expert Advisor showing how a classic Donchian breakout can be applied directly to completed Renko bricks. Author: Andrey Goida
Check out the new article: Neural Networks in Trading: Decomposition Instead of Scaling — Building Modules . In this article, we continue our hands-on exploration of SSCNN — a next-generation architectural solution capable of processing fragmented time series. Instead of blind scaling — smart
Check out the new article: Working with ONNX Models in MQL5 (Part 1): Decoding the Model File with a Protobuf Parser . We decode ONNX files in pure MQL5 by implementing a Protocol Buffers reader from scratch. We generate a sample network in Python, verify it in Netron, and then parse the same binary
Quantora Risk Calculator MT5 - Professional Trade Risk and Reward Calculator : Professional open-source Risk Calculator for MetaTrader 5. Calculates money risk, account risk percentage, potential profit, Reward-to-Risk ratio, margin requirement and risk level. Author: Bilal Gunay
Gold Session Boxes: Sydney, Tokyo, London, New York and the overlap : Draws Sydney, Tokyo, London and New York as high/low boxes with the London-New York overlap outlined and the rollover hour shaded. Session times in GMT, broker offset detected automatically, average range of the last N sessions on
PropFirm Defense : A library of 24 MQL5 classes that watches a prop-firm rulebook -- drawdown, daily loss, payout consistency, minimum trading days, news blackout -- against any account, and flattens on breach without ever opening a position of its own. Author: Bruno Nunes Myrrha Ribeiro
Check out the new article: Implementing a Continuous LLM Adaptation System for Algorithmic Trading . SEAL (Self-Evolving Adaptive Learning) is a system for the continuous adaptation of large language models (LLMs) for algorithmic trading, designed to address the problem of rapid model degradation in
Check out the new article: Building Your Personal Expert Advisor (Part 4): Risk Management III—Risk Models and Order Execution . The EA now defines risk by percentage, fixed cash, or fixed lot and can measure percentage against balance or equity. It supports market, limit, and stop orders, sizes