Articles, Library comments - page 5

No Hedge Guard - close the newer side when a buy and a sell are open on one symbol : Closes the newer side when a buy and a sell are open on the same symbol (manual trades or any EA). For prop firm accounts that forbid hedging. Never opens trades. Author: Augusto Martin D'anna
Giano Session Range Breakout EA : Night session range breakout for XAUUSD: one decision per day, a hash-chained journal written before every order, and safe recovery after restarts. Author: Alessandro Lupi
Spread and Tick Velocity Monitor : Lightweight real-time HUD for MetaTrader 5 that monitors live spread (points and pips), session Min/Avg/Max spread, and tick arrival velocity (ticks/sec and ticks/min) with automatic market regime classification. Author: Gerardo Lopez Martinez
One-Click Close All Positions with Slippage Guard : Execution-safe utility script to close open positions in one click with configurable slippage deviation, spread guard protection, symbol/P&L/Magic filters, and automatic retry handling. Author: Gerardo Lopez Martinez
Check out the new article: Implementation of the Gaussian Mixture Model in MQL5 . The article examines the theoretical foundations and practical implementation of the Gaussian mixture model in the MQL5 language. It introduces the CGMM class and provides examples of its use, as well as a methodology
Check out the new article: Building Your Personal Expert Advisor (Part 2): Risk Management and Dynamic Lot Sizing . This part implements risk-based position sizing for the EA. Lot size is derived from account balance, a chosen risk percent, and ATR-based stop distance, then confined and rounded to
Tick Volume Delta Histogram (Buy/Sell Pressure Estimate) : Estimates buy/sell pressure by splitting the tick volume of every bar into a buy part and a sell part. The difference (delta) is shown as a four-color histogram with an optional EMA line. Author: Theophilus Adebomi Adeniyi
Session VWAP with Standard Deviation Bands : Session-anchored VWAP with volume-weighted standard deviation bands. It restarts at every daily, weekly or monthly session open and shows how far price has stretched from the average price paid during the session. Author: Theophilus Adebomi Adeniyi
Anchored VWAP with Draggable Anchor Point : Anchored VWAP with a draggable anchor line: drag the vertical line to any bar and the volume-weighted average price and its deviation bands are rebuilt from that bar onward. Author: Theophilus Adebomi Adeniyi
Opening Range Breakout (ORB) Box with Breakout Arrows : An indicator that draws the opening range of each trading day as a box, extends its high and low through the session, and marks the first breakout with a buy or sell arrow. Author: Theophilus Adebomi Adeniyi
Check out the new article: Developing Statistical Market Inflection Forecasting Indicator . An MQL5 indicator forecasts where a movement is likely to terminate and how far the opposite leg has typically traveled, using statistics from completed moves on the same symbol and timeframe. It detects
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
Mouteki DeMark Enhanced with FDI and Hurst Exponent - indicator for MetaTrader 5 : Mouteki-DeMark trendline indicator enhanced with FDI and Hurst Exponent analysis, breakout targets, a market dashboard, and signal, invalidation and early-close alerts. Author: Ahmad Farris Bin Jesry
Check out the new article: Benford's Law for Trade Log and Quote Feed Integrity Auditing in Native MQL5 . This article presents a native MQL5 auditor for Benford's first- and second‑digit tests on trade logs and market data. It implements an eligibility gate (sample size and decade spread), a
Check out the new article: Chart Synchronization in MQL5 (Part 2): Building an Interactive Multi-Chart Tool . This article turns the Part 1 prototype into an interactive MetaTrader 5 indicator that synchronizes charts of the same symbol across different timeframes. It handles keyboard input and drag
Check out the new article: Building a Prop Firm Compliance Monitor in MQL5 (Part 4): Economic Calendar and Account Exposure Monitoring . This article explains exposure-aware economic news monitoring for Prop Firm Guard in MetaTrader 5. The EA builds a unique currency set from supported open
Check out the new article: Automatic Differentiation: Exact Gradients Without a Step Size . We implement a compact automatic differentiation library for MQL5 in forward and reverse modes and use it to supply exact Jacobians to ALGLIB's Levenberg–Marquardt solver. The article details dual numbers, a
Rahul_Mohindar_Osc : Rahul Mohindar oscillator Author: Scriptor
Check out the new article: Neural Networks in Trading: A Spatio-Temporal State Model for Financial Data Analysis (Conclusion) . We present an adaptation of the E-STMFlow framework — a modern solution for building autonomous trading systems. In this article, we complete the implementation of the
Check out the new article: Neural Networks in Practice: A Question of Scale . There is a common misconception among the general public that a neural network or artificial intelligence can, in a sense, comprehend the world in which we live. In some cases, this might even be true. However, if you want
Spread Statistics by Hour : Historical spread statistics by hour for many symbols at once (median, 75th percentile, mean), exported to CSV. Does not trade. Author: Simone Tonelli
Risk Order Script: Drop at Stop Loss for Auto Lot Size and R:R Take Profit : Drop the script on the chart at your stop loss price and it opens a market order with the lot size calculated from your risk percentage and take profit placed at your reward:risk ratio. Author: Wycliffe Wanjala Wanyonyi
Economic Calendar Event Lines by Impact : Draws a dotted vertical line at the release time of each economic calendar event of the selected currencies, coloured by impact, from the built-in MetaTrader 5 calendar. Author: Kenichiro Sakamoto
Six-Timeframe EMA Trend Direction Panel : Compares a fast and a slow EMA on M5, M15, M30, H1, H4 and D1 and shows UP, DOWN or FLAT for each timeframe in one panel on the chart. Author: Kenichiro Sakamoto
ATR Stop Distance and Risk-Based Lot Size Panel : Panel that shows the ATR of the last closed bar, a stop-loss distance derived from it, the money at risk for a chosen percentage of the balance and the lot size that matches that risk. Author: Kenichiro Sakamoto
Account Information Panel with Daily P/L and Equity Drawdown : Shows balance, equity, margin, margin level, floating P/L, today's closed P/L and the drawdown from the equity peak in a small panel on the chart. Author: Kenichiro Sakamoto
Close All Positions with Symbol, Magic, Direction and Profit Filters : A script that closes open positions in one click, with filters for chart symbol, magic number, buy/sell direction and profit/loss state. Works on netting and hedging accounts. Author: Wycliffe Wanjala Wanyonyi
Previous Day High/Low with First Touch Marker : Draws the previous day's high and low over each day and marks the first touch of each level, with an optional alert. Author: Saad Ferdi
Check out the new article: Neural Networks in Trading: A Spatio-Temporal State Space Model for Financial Data Analysis (STSSM Block) . The article explains the internal mechanics of the STSSM block and demonstrates how modern SSM approaches can be adapted to the event-driven logic of spiking models
EA Safety Check - scan EA source for DLLs, data leaks and martingale : Static safety scan of EA/indicator source: DLL imports, programs started, account data sent online, hidden text, martingale, SL = 0. Author: Saad Ferdi