MQL5-Google-Onedrive/mt5
google-labs-jules[bot] 8316c159d2 Bolt: Optimized history processing and daily statistics in ExpertMAPSARSizeOptimized_Improved.mq5
- Optimized UpdateDailyStatistics by consolidating trade counting, using faster property retrieval without ticket parameters, and fast math for time calculation.
- Optimized OnTick day-rollover logic using fast integer math instead of TimeToStruct/StructToTime.
- Optimized IsTradingAllowed by using fast math for hour extraction.
- Optimized CheckDailyLimits by fetching account balance only once.
- Cleaned up OnTrade by removing redundant and inefficient history scanning.
- Verified with repository validation and integration tests.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-03 17:32:41 +00:00
..
MQL5 Bolt: Optimized history processing and daily statistics in ExpertMAPSARSizeOptimized_Improved.mq5 2026-02-03 17:32:41 +00:00