mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 02:21:05 +00:00
This commit introduces a performance optimization to the `OnTick` function. By checking if a new bar has formed at the beginning of the function, we avoid expensive calculations on every tick. This significantly reduces the EA's CPU usage. This change is beneficial for bar-based strategies, as it ensures the core logic only runs once per bar. This is a common and effective optimization for MQL5 Expert Advisors. |
||
|---|---|---|
| .. | ||
| Experts | ||
| Indicators | ||