Build 6380 – Visual tester: OnChartEvent receives no object clicks while the test is paused
Terminal: MetaTrader 5 x64, build 6380 (5 Dec 2026), Axi
Mode: Strategy Tester, visual mode, EURUSD H1, 1 minute OHLC
Problem
With the visual test paused, clicking OBJ_BUTTON objects created by an EA does nothing:
OnChartEvent is not called. The buttons only react while the test is running
(even at the slowest speed). In earlier builds the buttons also worked while paused.
The 6380 release notes mention "Fixed several issues with graphical objects and
chart events in the visual tester" – possibly related.
Reproduction
Attached is a minimal EA (PauseClickRepro.mq5): two buttons and a Print in OnChartEvent.
1. Run it in the visual tester and let a few hundred ticks pass.
2. Press Pause (tick counter stops).
3. Click "Button A" / "Button B" repeatedly for ~50 s.
4. Press Play.
Result (journal, attached)
- 18:32:37 tick 9 -> 18:33:27 tick 18: the test is paused, I click the buttons, no [PCR] event is logged.
- Events are not delivered later either: no queued click events appear after Play.
- After Play, clicks are logged immediately: 18:33:34.018 PCR_BTN_B, 18:33:34.481 PCR_BTN_B, 18:33:35.498 PCR_BTN_B.
- While running, every delivered event (including mouse moves) advances the test by one tick.
Expected: chart events (at least object clicks) reach OnChartEvent while the test is paused, as in builds before 6380.
Impact: manual trading panels cannot be used while the visual test is paused.
Files:
PauseClickRepro.mq5
3 kb
- Are object events possible (button press) in the EA strategy tester (visual tester)?
- Is OnChartEvent() actually called during a "Stratagy Tester - Visual Testing" mode session?
- Build 6180 visual tester: every input = F12 fast-forward. Any workaround?