MQL5-Google-Onedrive/mt5/MQL5
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
..
Experts feat(performance): Optimize OnTick with early exit 2026-01-08 19:35:45 +00:00
Indicators feat: Add SL/TP modes and risk management to EA 2025-12-26 08:17:39 +00:00