forked from LengKundee/MQL5-Google-Onedrive
This optimization introduces a lightweight check at the beginning of the OnTick() function to exit early if a new bar has not yet formed. This prevents the expensive CopyRates function and subsequent logic from running on every single price tick, significantly reducing CPU load when the EA is configured to run on bar close. |
||
|---|---|---|
| .. | ||
| Experts | ||
| Indicators | ||