mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 14:40:57 +00:00
- 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> |
||
|---|---|---|
| .. | ||
| MQL5 | ||