Fill Drift Monitor MT4
- Utilità
-
Kim Seongyu
I approach investing by asking what drives an investment’s return, what could undermine it, and what evidence would change my view. - Versione: 1.2
- Aggiornato: 24 novembre 2026
- Attivazioni: 5
Track how pending orders on your account open relative to the requested levels you saw before activation. Attach the indicator to one chart and leave MT4 connected. The monitor observes pending orders across the account. The chart opens on its own symbol, and Next symbol cycles through symbols that have loaded tickets in the five-week window.
Try the Market demo
- Download the demo in desktop MT4. Open View → Strategy Tester, select Indicators and choose Fill Drift Monitor.
- Select a symbol and timeframe with downloaded price history, leave the indicator inputs at their defaults and press Start.
- On the visual chart, look for Example (synthetic) and SYN-A. Its current week has three tickets, two measured. The signed median is 1.0 point and the adverse P90 is 4.0 points. While playback runs, use Next symbol and View tickets to inspect the second example symbol. Export CSV writes labeled example rows under the tester's Files folder.
Weekly comparison
Each row shows measured tickets over total market tickets, the signed median in the selected symbol's points, and the 90th percentile of adverse observations. Positive values indicate worse execution relative to the last observed pending level. Negative values indicate price improvement. The baseline pools the four completed broker-server weeks before the current week. A group with no adverse observations displays N/A for its adverse percentile.
Select a week and open its tickets to inspect the server open time, side, volume, magic number, last observed level, fill price and measurement status. Use Export CSV to save all loaded tickets for the selected symbol across the five-week window. The file includes the measurement status for each ticket and identifies example rows.
How MT4 evidence works
The monitor saves the requested level while a pending order is visible and watches for the same ticket to become a market order. It samples pending orders every two seconds by default. An edit between samples can go unseen. The comparison uses the latest sampled level and the symbol's own point size.
MT4's market-order history supplies one recorded opening price. A market order, an activation that occurred while the monitor was offline, a ticket with an incompatible side or a volume change during activation is included with an unavailable measurement. A broker may issue another ticket after a partial close. Each visible ticket is counted individually and a new ticket needs its own observed reference. Protective exits and historical market requests are outside the opening-price comparison.
The monitor reads active positions and the history loaded in MT4's Account History tab. Choose a history range covering five broker-server weeks to include the closed tickets in that interval. Weekly grouping uses each ticket's MT4-reported open time. If a ticket read fails or the order count changes during refresh, the panel shows the time of the last complete scan. When the first scan is interrupted, the measured count reads N/A. Use Refresh to retry. CSV export requires a complete scan. Previously measured tickets retain their references after a restart on the same account and broker server.
Inputs and files
- PollSeconds controls pending-order sampling from one to ten seconds. Refresh rereads the loaded history on demand.
- FilterByMagic and MagicNumber restrict the displayed tickets to one EA magic number, including zero.
- ShowExample opens explicitly labeled synthetic tickets on a regular chart. Leave it off to observe account orders. The Strategy Tester always uses synthetic tickets and keeps its example exports separate.
- PanelX / PanelY set the chart position. The monitor can share a chart with an EA.
- Each account's records and CSV exports stay under the terminal's MQL4/Files/Tenbira/FillDrift4 directory. The Experts log identifies the export file. A second chart can view the same account journal while one copy observes new orders.
The indicator observes orders and uses no trading permissions.
