Articles

Building a Divergence System (Part II): Adaptive SuperTrend Custom Indicator for MetaTrader 5

The article upgrades SuperTrend by integrating a divergence engine (MPO4 or RSI) the dynamically reduces the ATR multiplier during weakening momentum. It covers the shrinking formula, non-repainting state propagation with dedicated buffers, and a step-by-step MQL5 implementation on the price chart

Building a Divergence System: Creating the MPO4 Custom Indicator for MetaTrader 5

We introduce MPO4, a pressure-based oscillator that emphasizes the body and direction of candles in the context of current volatility. The article details its mathematics, normalization into a bounded range, and the EMA smoothing, then builds a pivot-driven divergence module designed not to repaint

Using the MQL5 Economic Calendar for News Filter (Part 4): Accurate Backtesting with Static Data for MetaTrader 5

This article implements a static, CSV-based news source for the Strategy Tester, so historical economic news events can be preloaded and queried during backtesting. It replaces live calendar calls in tester mode with a fast in-memory search, preserves the live logic for trading, and delivers

Using the MQL5 Economic Calendar for News Filter (Part 3): Surviving Terminal Restarts During News Window for MetaTrader 5

The article introduces a restart-safe storage model for news-time stop removal. Suspension state and original SL/TP per position are written to terminal global variables, reconstructed on OnInit, and cleaned after restoration. This lets the EA resume an active suspension window after recompiles or

Using the MQL5 Economic Calendar for News Filtering (Part 2): Stop Management Positions During News Releases for MetaTrader 5

In part 2, we extend the news filter to protect existing positions during news events. Instead of closing trades, we temporarily remove stop-loss and take-profit levels, storing them safely in memory. When the news window ends, stops are deterministically restored, adjusted if price has already

Using the MQL5 Economic Calendar for News Filtering (Part 1): Implementing Pre- and Post-News Windows in MQL5 for MetaTrader 5

We build a calendar‑driven news filter entirely in MQL5, avoiding web requests and external DLLs. Part 1 covers loading and caching events, mapping them to symbols by currency, filtering by impact level, defining pre/post windows, and blocking new trades during active news, with optional pre‑news

Forum

Is a trading strategy ever complete without using machine learning?

Recently I have seen a lot of traders training more and more ML models everyday, but I am also wondering if this has always been the case for creating trading strategies. I know that machine learning models are good for regime detection, and identifying anomalies (among other things). So, can these