MQL5-Google-Onedrive/mt5
google-labs-jules[bot] debbe38b86 Bolt: [performance improvement] 1-second cache for trading allowed check
Optimized the `IsTradingAllowed` function in `ExpertMAPSARSizeOptimized_Improved.mq5` by adding a 1-second cache for terminal and MQL trading allowed states.

- Reduces redundant `TerminalInfoInteger` and `MQLInfoInteger` API calls.
- Improves performance during high-frequency price ticks.
- Maintains correctness while significantly reducing CPU overhead in the EA's hot path.
2026-02-27 19:31:16 +00:00
..
MQL5 Bolt: [performance improvement] 1-second cache for trading allowed check 2026-02-27 19:31:16 +00:00