MQL5-Google-Onedrive/mt5/MQL5/Experts
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
..
ExpertMAPSARSizeOptimized_Improved.mq5 Improve ExpertMAPSARSizeOptimized EA with enhanced risk management, logging, and safety features 2026-01-19 14:19:52 +07:00
SMC_TrendBreakout_MTF_EA.mq5 feat(performance): Optimize OnTick by reducing redundant CopyBuffer calls 2026-01-26 17:29:11 +00:00