MQL5-Google-Onedrive/mt5/MQL5
google-labs-jules[bot] cc6f7457a7 feat(performance): Optimize OnTick by reducing redundant CopyBuffer calls
Refactors the `OnTick` execution path to eliminate redundant `CopyBuffer()` calls for indicator data.

Previously, `CalculateSL` and `CalculateTP` would each call `CopyBuffer()` independently, even though the same data was already available within the parent `OnTick` function.

This change hoists the data-fetching operations to the top of `OnTick`, performing them only once per tick. The resulting values are then passed down as function arguments, avoiding expensive and unnecessary data copying in a hot path.

This leads to a more efficient `OnTick` execution and reduces processing overhead.
2026-01-26 17:29:11 +00:00
..
Experts feat(performance): Optimize OnTick by reducing redundant CopyBuffer calls 2026-01-26 17:29:11 +00:00
Indicators feat(mql5): cache MTF confirmation to reduce CPU load (#78) 2026-01-10 05:36:08 +07:00