MQL5-Google-Onedrive/mt5
google-labs-jules[bot] 05e8a6e064 Bolt: Consolidate CopyRates calls in OnTick
💡 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.
2026-01-21 17:14:46 +00:00
..
MQL5 Bolt: Consolidate CopyRates calls in OnTick 2026-01-21 17:14:46 +00:00