镜像自地址
https://github.com/A6-9V/MQL5-Google-Onedrive.git
已同步 2026-04-11 02:30:56 +00:00
Summary of changes: - Pre-calculated risk factors in OnInit() to avoid redundant divisions. - Optimized UpdateDailyStatistics() by using cached risk factors. - Reordered OnTick() to call cheaper CheckDailyLimits() before expensive IsTradingAllowed(). - Refactored IsTradingAllowed() to prioritize fast math checks (time filter) over expensive terminal API calls. - Implemented log throttling in IsTradingAllowed() to prevent log spam on every tick when trading is disabled. - Fixed syntax errors in LogInfo, LogError, and LogDebug calls by using string concatenation and explicit type conversions. |
||
|---|---|---|
| .. | ||
| Experts | ||
| Indicators | ||