MQL5-Google-Onedrive/mt5/MQL5/Experts
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
..
ExpertMAPSARSizeOptimized_Improved.mq5 Bolt: optimize daily limit checks and system calls in ExpertMAPSARSizeOptimized 2026-02-05 17:09:39 +00:00
SMC_TrendBreakout_MTF_EA.mq5 Bolt: optimize EA execution path and lot calculation (#254) 2026-02-05 02:53:34 +07:00