mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 08:10:56 +00:00
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. |
||
|---|---|---|
| .. | ||
| SMC_TrendBreakout_MTF_EA.mq5 | ||