MQL5-Google-Onedrive/mt5/MQL5
google-labs-jules[bot] a79fd39d89 Bolt: Implement 1-second caching for trading environment checks
In MQL5 'hot paths', environment API calls like TerminalInfoInteger(TERMINAL_TRADE_ALLOWED)
and MQLInfoInteger(MQL_TRADE_ALLOWED) can be a significant bottleneck during high tick frequency.

This commit optimizes IsTradingAllowed in ExpertMAPSARSizeOptimized_Improved.mq5 by caching
these states for 1 second using a static datetime flag to control refresh frequency,
significantly reducing terminal API overhead during rapid price ticks.
2026-02-24 20:57:44 +00:00
..
Experts Bolt: Implement 1-second caching for trading environment checks 2026-02-24 20:57:44 +00:00
Include feat: Add scalping strategy support for M5, M15, M30 2026-01-28 18:14:03 +00:00
Indicators Address code review: optimize ArraySize() calls and document cache behavior 2026-02-11 08:36:56 +00:00
Presets feat: Add scalping strategy support for M5, M15, M30 2026-01-28 18:14:03 +00:00