镜像自地址
https://github.com/A6-9V/MQL5-Google-Onedrive.git
已同步 2026-04-11 13:40:56 +00:00
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. |
||
|---|---|---|
| .. | ||
| ExpertMAPSARSizeOptimized_Improved.mq5 | ||
| SMC_TrendBreakout_MTF_EA.mq5 | ||