forked from LengKundee/MQL5-Google-Onedrive
- Cache currency-based daily risk limits (loss/profit) to avoid redundant AccountInfoDouble calls and divisions on every tick. - Pass pre-fetched TimeCurrent() value to IsTradingAllowed and UpdateDailyStatistics to reduce system calls. - Refactor logging calls to use string concatenation, fixing potential compilation errors and improving consistency. - Update limits only on initialization, day rollover, trade events, and timer intervals. |
||
|---|---|---|
| .. | ||
| MQL5 | ||