mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-08-24 08:53:57 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
💡 What: Added a new-bar check at the beginning of the `OnTick()` function using the lightweight `iTime()` function. 🎯 Why: The `OnTick()` function was executing expensive calculations (`CopyRates`, loops) on every single price tick, which is highly inefficient. 📊 Impact: This change reduces CPU load significantly by ensuring the main logic only runs once per bar, not on every tick. This is a critical performance improvement for any Expert Advisor. 🔬 Measurement: The improvement can be verified by observing the CPU usage of the MetaTrader 5 terminal when running this EA on a chart, especially during volatile market conditions. The difference will be substantial. |
||
| .. | ||
| Experts | ||
| Indicators | ||