MQL5-Google-Onedrive/mt5
google-labs-jules[bot] 4d4ce17b8f Bolt: optimize OnTick execution flow in ExpertMAPSARSizeOptimized_Improved
- Introduced a lightweight new bar check using iTime() as an early-exit gatekeeper.
- Deferred IsTradingAllowed() and other expensive API calls after the new bar check.
- Relocated UpdateDailyStatistics() from the per-tick path to only run on new bars or when a trade event occurs (OnTrade).
- Removed redundant CopyRates-based bar checks.
- Significantly reduced terminal API overhead and history scanning during high-tick-rate periods.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-01 19:46:59 +00:00
..
MQL5 Bolt: optimize OnTick execution flow in ExpertMAPSARSizeOptimized_Improved 2026-02-01 19:46:59 +00:00