MQL5-Google-Onedrive/mt5/MQL5
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
..
Experts feat(ea): Add new bar check to OnTick 2025-12-30 19:06:39 +00:00
Indicators feat: Add SL/TP modes and risk management to EA 2025-12-26 08:17:39 +00:00