MQL5-Google-Onedrive/mt5/MQL5/Experts
google-labs-jules[bot] 466e9b46be feat(performance): Optimize OnTick with early exit
Adds a lightweight new-bar check using `CopyTime()` at the start of the `OnTick()` function.

This prevents the expensive `CopyRates()` and subsequent indicator calculations from running on every price tick, ensuring they only execute once per bar. This significantly reduces the EA's CPU load, especially in volatile markets.
2026-01-08 19:35:45 +00:00
..
SMC_TrendBreakout_MTF_EA.mq5 feat(performance): Optimize OnTick with early exit 2026-01-08 19:35:45 +00:00