forked from LengKundee/MQL5-Google-Onedrive
Adds a check at the beginning of the `OnTick()` function to exit if a new bar has not formed. This prevents expensive `CopyRates` and subsequent calculations from running on every price tick, significantly improving the Expert Advisor's performance and reducing CPU load. |
||
|---|---|---|
| .. | ||
| MQL5 | ||