Articles, Library comments - page 3

Check out the new article: Measuring Spread Costs Before a Market Order in MQL5 . The article implements a MetaTrader 5 Expert Advisor that provides spread-only pre-trade estimates in points for a planned Buy or Sell. It compares a current-spread result with a historical scenario that uses the
Check out the new article: Making Custom Indicators for Beginners (Part 1): SuperTrend Indicator . This article builds a robust SuperTrend indicator in MQL5 using ATR-based bands, a ratchet mechanism, and strict series indexing to avoid silent recursion errors and repainting on closed bars. We walk
Check out the new article: Automating Classic Market Methods in MQL5 (Part 5): The Original Turtle Trading Rules . This article builds a complete MQL5 Expert Advisor that implements the original Turtle Trading rules from Curtis Faith. It covers both systems: 20/55-day breakouts, the System 1 skip
Check out the new article: Estimate the Probability of Large-range Sessions (Part 1): Build and Check EURUSD Forecasts . We estimate the probability, at broker time 08:00, that EURUSD's 08:00–16:00 range exceeds 1.25 times the mean of the previous 20 complete, valid target ranges. A two-feature SPSS
Check out the new article: Overcoming Accessibility Problems in MQL5 Trading Tools (Part VIII): Building a Floating Risk Management Calculator Module for Any EA . A reusable MQL5 component measures floating P/L with swap, gross loss, two stop‑loss quantities, equity gap, margin level, and stop
Check out the new article: From Evidence to Execution (Part 2): Turning MetaTrader 5 AI Strategy Logs into Robust Rule Based EA . This article turns the Part 1 evidence into a working MQL5 Expert Advisor. It formalizes entry conditions, designs direction-aware stop loss and take profit, and
Check out the new article: Measuring What Matters (Part 5): The Risk Concentration Indicator — Plotting Eigenvalue Dominance Live . This article presents a live MQL5 indicator for monitoring portfolio risk concentration through eigenvalue decomposition. The indicator calculates rolling covariance
Engulfing Indicator : This is an indicator that helps identify Engulfing candle patterns. Author: Minh Hieu Hoang
Check out the new article: From Basic to Intermediate: Objects and Subwindows (I) . This article provides a detailed look at creating and positioning the OBJ_CHART object in subwindows, with a particular focus on the differences between the main window and the subwindows. It shows how to integrate
Check out the new article: From Basic to Intermediate: Resources . In this article, you'll learn about a concept that can prove extremely useful in many situations and significantly simplify the sharing of your apps and projects. Although it is not easy to fully explain this concept in a single
Check out the new article: Neural Networks in Trading: A Spatio-Temporal State-Space Model for Financial Data Analysis (E-STMFlow) . We invite you to explore the E-STMFlow framework, which effectively processes event streams by extracting informative embeddings, filtering out noise, and identifying
New article MetaTrader 5 on Linux is published: In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers. Author: MetaQuotes
Ondas de wolfe : This is an indicator that identifies Wolfe waves and plots them Author: Ismael Santiago Robles Serpa
ReliableOutbox: persistent message queue with Telegram demo : Persistent MQL5 outbox with a Telegram demo and offline tests. An uncertain result is never retried automatically. Manual retry may duplicate a message; SENT means API acceptance, not a read receipt. Author: Sayed Ali Ordibehesht
Check out the new article: Corona Virus Optimization (CVO) Algorithm . We describe and implement CVO: infection as candidate generation, coordinate-wise normal perturbation, and a dynamic population. The algorithm is integrated into C_AO and has been tested on a standard benchmark. The analysis
FVG Imbalance Marker Helper : A small educational MetaTrader 5 indicator that marks simple three-candle bullish and bearish Fair Value Gaps on the chart. Author: Talal N Z Aljarusha
Prop-firm Guard - daily loss and max drawdown protection for challenge accounts : Watches the whole account and closes everything before the daily loss or max drawdown limit is breached, then keeps the account flat until the block ends. Does not trade. Author: Parinya Aonpradit
Prop Firm Live Daily Breach Line (OrderCalcProfit and iCustom Ready) : Real-time daily drawdown buffer monitor and exact breach price line indicator for prop firm accounts. Features 00:00 server-time deal history reconstruction (including entry commissions), 00:00 HWM snapshot locking, two-stage
Check out the new article: Why My MQL5 EA Passed Validation and Still Failed Under Execution Delay . An EA that passes CodeBase validation can still fail under execution delay and a freeze level. Using a tick scalper, the article reproduces four such failures in the Strategy Tester and shows each
Check out the new article: Working with ONNX Models in MQL5 (Part 3): Drawing the Neurons and the Weights Between Them . We build a neuron-level view for MQL5 models: count neurons per row, compute ranks, and render one line per stored weight from dense layers. The implementation reads matrix
Check out the new article: Creating Three-Dimensional Bars in MQL5 . Migrating 3D bars from Python to native MQL5: instead of Plotly and a bridge to the terminal — a scene using CCanvas3D and DirectX 11 directly on the chart. Price, time, and tick volume are plotted along three axes; the geometry is
Risk Lot Size Calculator Panel : Lot size calculator panel for MT5 on Gold (XAUUSD), forex and indices: risk in percent of balance, percent of equity or money, stop in points, exact loss per lot, one click Buy or Sell with stop and target. Open source code. Author: Cristhian Alexander Gaibor
Liquidity Sweep Equal Highs Lows : Liquidity indicator for MT5 on Gold (XAUUSD), forex and indices: equal highs and equal lows from swings, marked as swept when a wick runs the level and the candle closes back. Open source code. Author: Cristhian Alexander Gaibor Cuasquer
Fair Value Gap Zones Tracker : Fair value gap (FVG) indicator for MT5 on Gold (XAUUSD), forex and indices: three candle gaps on closed bars, ATR size filter, the open part shrinks as price fills it, mitigation by touch, midline or full fill. Open source code. Author: Cristhian Alexander Gaibor
ICT Killzones and Session Pivots : ICT killzones for MetaTrader 5: Asia, London and New York sessions drawn in New York time with automatic daylight-saving conversion, session highs and lows carried forward until price takes them, previous day, week and month levels, opening prices and time markers
Check out the new article: Forecasting Realized Volatility with Option-Implied Variance for Multiple Instruments in MQL5 . A published daily history of option-implied variance is combined with a broker symbol's daily bars to fit a HAR model of realized volatility in MQL5; the implied term enters the
Ziga-Zaga Lite — рыночная структура по фракталам H1 : Структура M5 как при ручной разметке: развороты берутся по фракталам H1, точки ставятся на настоящие экстремумы свечей M5. Волна никогда не проходит мимо экстремума, подтверждённые точки не перерисовываются. Author: Aleksandr Bubnov
Check out the new article: Model Drift Watchdog: PSI-Based Auto-Retrain Alerts via a Lightweight Webhook . This article implements a PSI-based drift watchdog for MQL5 EAs. It compares a feature and the model's predicted probability against a quantile-based reference using a rolling window at a
Check out the new article: Neural Networks in Practice: Activation Functions . This is, without a doubt, the article I've enjoyed writing the most so far. In it, I showed that we don't really need anything special to achieve a certain goal. We can achieve this in various ways, provided we have the
Check out the new article: From Basic to Intermediate: Subwindows (IV) . In this article, we'll see that things aren't quite what many people initially think they are. One of the most interesting aspects of programming is that we can guarantee that everything will always turn out exactly as we