mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 02:21:05 +00:00
💡 What: This change consolidates two separate `CopyRates` calls within the `OnTick()` function into a single call. 🎯 Why: The `OnTick()` function was inefficiently fetching price data twice on every new bar. This created unnecessary overhead in a performance-critical code path. 📊 Impact: Reduces redundant function calls by 50% within the `OnTick` function on each new bar, leading to faster and more efficient tick processing. 🔬 Measurement: This can be verified by observing the reduction of `CopyRates` calls from two to one in the `OnTick` function. While micro-benchmarking is not feasible in this environment, the logical improvement is clear. |
||
|---|---|---|
| .. | ||
| Experts | ||
| Indicators | ||