MQL5-Google-Onedrive/mt5/MQL5
仓库文件(优先显示最新提交)
文件名 最新提交消息 最新提交日期
google-labs-jules[bot] bbc71aa8c2 ⚡ Bolt: optimize daily limit checks and system calls in ExpertMAPSARSizeOptimized
This optimization reduces terminal API calls and redundant calculations in the Expert Advisor's hot path (OnTick).

Key changes:
- Pre-calculate percentage-to-decimal factors for daily loss/profit limits.
- Implement RefreshDailyLimits() to cache currency-based limits, eliminating per-tick AccountInfoDouble calls.
- Consolidate TimeCurrent() calls by passing the timestamp once per tick to sub-functions.
- Refresh cached limits only when necessary (init, rollover, trade events).

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-05 17:09:39 +00:00
..
Experts ⚡ Bolt: optimize daily limit checks and system calls in ExpertMAPSARSizeOptimized 2026-02-05 17:09:39 +00:00
Indicators ⚡ Bolt: optimize indicator OnCalculate performance (revised) 2026-01-31 10:52:36 +00:00