forked from LengKundee/MQL5-Google-Onedrive
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. |
||
|---|---|---|
| .. | ||
| SMC_TrendBreakout_MTF_EA.mq5 | ||