MQL5-Google-Onedrive/mt5/MQL5/Experts
google-labs-jules[bot] 4ff429fe5e feat(ea): Add new bar check to OnTick
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.
2025-12-30 19:06:39 +00:00
..
SMC_TrendBreakout_MTF_EA.mq5 feat(ea): Add new bar check to OnTick 2025-12-30 19:06:39 +00:00