Spread & Slippage Tracker
Two different complaints get lumped together as "broker trouble": a wide spread at the moment you traded, and a fill that landed somewhere other than the price you actually requested. They're not the same thing, and conflating them makes it hard to tell which one is actually costing you. This tool keeps them separate and measures both from real data instead of a hunch.
Spread tracking is the easy half — it samples SYMBOL_SPREAD every tick and keeps a running minimum, maximum, and average, reset once per day so a quiet Tuesday doesn't get buried under last Friday's NFP spike. Slippage is the harder half: it only exists as data the moment a real deal executes, via OnTradeTransaction . That's also the reason this ships as an Expert Advisor rather than an indicator — indicators never receive trade events, so there's no other way to see the gap between the price an order requested and the price it actually filled at. It places no trades of its own; it only watches the ones that happen.
| Input | Default | Purpose |
|---|---|---|
| InpResetStatsDaily | true | Reset the min/avg/max spread stats at the start of each new trading day so old sessions don't skew today's reading. |
| InpTrackAllSymbols | false | Track slippage on every symbol traded on the account, not just the chart's own symbol. |
| InpSlippageAlertPoints | 0 | A single deal's adverse slippage, in points, that triggers an immediate alert. 0 disables the alert. |
| InpLogToFile | true | Append every tracked deal's details to a CSV log under MQL5\Files\SpreadSlippageTracker\. |
| InpCorner | CORNER_LEFT_UPPER | Chart corner the readout panel is anchored to. |
| InpCornerX | 20 | Panel X offset, in pixels, from the chosen corner. |
| InpCornerY | 20 | Panel Y offset, in pixels, from the chosen corner. |
![]()
Fig. 1. Spread & Slippage Tracker panel on a GBPUSD chart (shown in black & white per Code Base image guidelines).
Smart Liquidity Hunter — Confirmed Swing Sweeps for MT5
Closed-bar sweeps of confirmed swing levels, with wick, volatility and freshness filters, liquidity lines, a dashboard and optional alerts.
MZ Smart Trail Manager - Break-even, Stepped Trailing Stop and Profit Lock
Trade manager for MT5: break-even, stepped trailing stop and progressive profit lock. Works with manual trades or any EA. Distances in ATR, so it fits any symbol. Bilingual panel (EN/AR).
Equity/Drawdown Monitor Panel
A live account-level readout — equity, balance, tracked peak, and current drawdown % from that peak — the one risk number most charts never show you.
Golden Cross Trend Filter (50/200 SMA on daily closes)
Classic 50/200-day Golden Cross trend filter: long while the fast SMA of daily closes is above the slow SMA, flat (or optionally short) otherwise. One decision per completed D1 bar, sizing by % of balance or fixed lot.