MQL5-Google-Onedrive/mt5/MQL5
google-labs-jules[bot] cbd8c030c2 Bolt: Cache trading allowed states in EA hot path
Optimize mt5/MQL5/Experts/ExpertMAPSARSizeOptimized_Improved.mq5 by implementing 1-second caching for TerminalInfoInteger(TERMINAL_TRADE_ALLOWED) and MQLInfoInteger(MQL_TRADE_ALLOWED) in the IsTradingAllowed function.

These API calls are relatively expensive as they involve cross-process communication with the terminal core. Caching them reduces the overhead significantly during high-frequency price ticks, especially when the EA is processing every tick for trailing stops.

Impact: Reduces terminal CPU overhead during high market volatility.
Measurement: Verified via manual code review and standard repo validation scripts.
2026-02-12 17:15:28 +00:00
..
Experts Bolt: Cache trading allowed states in EA hot path 2026-02-12 17:15:28 +00:00
Indicators Bolt: Optimized SMC_TrendBreakout_MTF indicator performance 2026-02-06 10:52:52 +00:00