Vigiar
0
0
Derivar
Você já tinha feito uma derivação do repositório MQL5-Google-Onedrive, anteriormente
1
réplica de https://github.com/A6-9V/MQL5-Google-Onedrive.git sincronizado 2026-10-08 22:01:36 +00:00
MQL5-Google-Onedrive/mt5
Ficheiros do repositório (o cometimento mais recente em primeiro lugar)
Nome do ficheiro Mensagem do último cometimento Data do último cometimento
google-labs-jules[bot] 4b31d1f7d0 ⚡ Bolt: optimize EA trading state checks with 1s caching
💡 What:
Implemented 1-second caching for environmental API calls (TerminalInfoInteger and MQLInfoInteger) in the ExpertMAPSARSizeOptimized_Improved Expert Advisor.

🎯 Why:
The OnTick handler is executed on every price tick. Repeatedly calling cross-process terminal APIs for settings that rarely change (like AutoTrading enabled) is a significant source of overhead, especially during high-volatility market periods with frequent ticks.

📊 Impact:
Reduces cross-process API call frequency in the hot path from once-per-tick to once-per-second, significantly improving EA execution efficiency under high tick frequency without sacrificing responsiveness to user setting changes.

🔬 Measurement:
Verified that IsTradingAllowed correctly utilizes static variables for caching and timestamp comparison. Confirmed log throttling for disallowed trading remains functional.
2026-02-16 17:22:58 +00:00
..
MQL5 ⚡ Bolt: optimize EA trading state checks with 1s caching 2026-02-16 17:22:58 +00:00