Articles, Library comments - page 3

Check out the new article: Modular Indicator Architecture in MQL5 (Part 2): Standard Smoothing Methods as Interchangeable Modules . EMA, SMMA, and LWMA join SMA as modules of the indicator framework from Part 1, all four derived from a new base class, CSmoothingBase. The root object, CIndicator
Check out the new article: Building and testing Aroon Trading Systems . In this article, we will learn how we can build an Aroon trading system after learning the basics of the indicators and the needed steps to build a trading system based on the Aroon indicator. After building this trading system
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
Truncation Audit: Detecting Look-Ahead and Repainting in MQL5 Indicators. : Part 3 of the indicator regression-testing series. Compares the value an indicator had when each bar closed with the value recomputed on the later history, flags every bar that changed (look-ahead or repainting), and
Volatility Regime Percentile : Ranks the current ATR against its own recent history and colours each bar as a LOW, NORMAL or HIGH volatility regime, with a panel showing ATR in price and points, ATR vs its median and how long the regime has held. Author: Winston Teddy Meyn
Thanos AI Level Strength : Unbroken swing highs and lows, shaded by strength: how old each level is and how many times price was turned away from it. Author: Effiong Lolang
Check out the new article: Building Automated Daily Trading Reports with the SendMail Function . We build an MQL5 Expert Advisor that emails a structured daily trading report. The article shows how to configure SMTP in MetaTrader 5, collect and filter closed trades for the previous day, compute
Building a Confluence Signal Engine in MQL5: Leading Triggers, Confirmation Filters and a Live Dashboard : Free source code included: a DST-aware Market Sessions + PVSRA vector-candle indicator, 5 preset files and a printable confluence cheat sheet. Author: Shipra Gupta
Auto ZigZag Fibonacci Golden Zone Indicator For MT5 : The Auto ZigZag Fibonacci Golden Zone indicator automatically detects the latest swing high and low, draws key Fibonacci retracement levels (50%, 61.8%, 78.6%), and highlights the Golden Zone between 61.8% and 78.6% as an optimal pullback entry
Trend Strength Meter Using ADX in a Compact Dashboard : A compact on-chart dashboard that shows the trend strength of up to four timeframes using the ADX: value, strength bar, strength class and +DI/-DI direction, plus a summary row with the average ADX and the agreement of the directions. Author
Market Hours Label - is the symbol open now and when it closes : Small label on the chart. the symbol is open or closed now, the time left to the close or to the next open, and the sessions of today. It reads the trade sessions of your broker. Display only. Author: Eduardo Cumplido
Spread By Hour - average and max spread per hour, live spread vs usual : Average and maximum spread for each server hour from bar history, live spread vs the usual spread of this hour, and the spread cost of 1 lot. Author: Saad Ferdi
Heikin Ashi Candles Drawn as a Chart Overlay : Heikin Ashi candles drawn as an overlay directly on the price chart, with optional hiding of the original candles (restored when the indicator is removed) and an on-chart label showing the trend, its strength and the run length. Author: Theophilus
Check out the new article: Association Rules and Probability Theory in Forex: A Signal Filter Without Neural Networks or Magic . We explore an alternative to neural network signal filters: association rules and basic probability theory in MQL5, without Python or external libraries. This guide
Swap Cost Panel — tonight's rollover cost for every open position : On-chart panel that estimates tonight's swap for each open position in account currency, marks the triple-swap day, and compares it with the cost of closing before rollover and re-opening after (spread + commission). Author: Shipra
MTF Trend Dashboard — trend, position and volatility on six timeframes at a glance : One on-chart table for M15, H1, H4, D1, W1 and MN1: EMA slope, price vs EMA, Donchian position, ATR percentile and a combined UP / DOWN / RANGE regime. Completed bars only. Any symbol. Author: Shipra Gupta
Examples from the book "Neural networks for algorithmic trading with MQL5" : The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in
Check out the new article: Pesaran–Timmermann Test in MQL5: Separating Real Directional Skill from a Lucky Hit Rate . This article implements the Pesaran–Timmermann directional accuracy test in pure MQL5 and applies its rolling right-tail p-value as a gate to enable or disable an Expert Advisor
Check out the new article: MQL5 Developer Gotchas (Part 1): A Parameter Mapper for Calling Indicators with Input Groups . Group lines in a custom indicator take parameter slots in iCustom() and IndicatorCreate(), so numbers passed without placeholders silently shift to the wrong inputs
XP Forex Trade Manager MT5 : Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 5. Author: Marzena Maria Szmit
RSI Top and Bottom Scalper : RSI Top and Bottom Scalper is an MT5 indicator designed to identify potential reversal entries using RSI top and bottom retests together with price confirmation Author: Derrick Njagi Bundi
Check out the new article: Building a Divergence System (Part VI): A Scoring Divergence Engine . A reusable MQL5 divergence engine that stores all confirmed pivots, selects clean pivot pairs, and measures price extension in ATR, oscillator disagreement, and bar spacing into a 0–100 score. It logs
JONY ISLAM EMA Cluster Signals with Entry SL TP MTF Panel : JONY ISLAM EMA Cluster Signals is a technical indicator that plots a 4-EMA cluster cloud to identify trend direction. It generates Buy/Sell arrow signals and automatically calculates Entry, Stop Loss, and TP1-TP3 levels using ATR. It also
Adaptive SuperTrend K-Means for MT5 - port of AlgoAlpha Machine Learning Adaptive SuperTrend : A faithful MetaTrader 5 port of the open-source TradingView indicator "Machine Learning Adaptive SuperTrend" by AlgoAlpha: K-means clusters recent ATR into high, medium and low volatility, and the
Tester vs Live Trade Matcher for MT5 - match a Strategy Tester report with your account history : A free, read-only MetaTrader 5 utility: it reads a Strategy Tester report (MT5 or MT4 .htm) and matches every backtest trade with your account history or with a second report. It shows the match rate
Range Filter Buy and Sell for MT5 - faithful port with signal statistics, alerts and session filter : A faithful MetaTrader 5 port of the TradingView "Range Filter Buy and Sell 5min" (DonovanWall / guikroth / tvenn): range filter line, target bands, Buy/Sell arrows and bar colors, no repainting
Check out the new article: Neural Networks in Trading: Bidirectional Adaptive Temporal Correlation (Main Components) . We continue implementing the BAT framework in MQL5, showing how bidirectional correlation and the SATMA module enable the analysis of market dynamics in the context of the current
MTF Trend Dashboard — trend, position and volatility on six timeframes at a glance : One on-chart table for M15, H1, H4, D1, W1 and MN1: EMA slope, price vs EMA, Donchian position, ATR percentile and a combined UP / DOWN / RANGE regime. Completed bars only. Any symbol. Author: Shipra Gupta
Breakeven and R-Trail Manager — break-even at +1R and R-multiple trailing for any trade : Utility EA that moves the stop to break-even plus a small lock once a trade reaches +X R, then trails it N R behind price. Manual trades or any EA by magic number. Never opens trades and never widens a stop
ATR Trailing Stop Line (Chandelier Exit) : ATR Trailing Stop Line (Chandelier Exit): a volatility-based trailing stop that hangs below the highest high in an up-trend and rises above the lowest low in a down-trend, with trend-flip arrows, an on-chart status label and optional alerts. Author