forked from LengKundee/MQL5-Google-Onedrive
Implemented performance optimizations in `SMC_TrendBreakout_MTF_EA.mq5`: - Pre-calculate constants in `OnInit` to avoid redundant divisions and math in `OnTick`. - Optimize `NormalizeLots` to use multiplication by a cached inverse `G_INV_VOL_STEP`. - Consolidate risk and point-value math into cached multipliers (`g_riskMultiplier`, `g_lotValuePerUnit`). - Use pre-calculated SL/TP buffers (`g_swingSLBuffer`, `g_fixedSL`, `g_fixedTP`) in the execution path. These changes reduce CPU overhead during rapid market ticks without altering trading logic. |
||
|---|---|---|
| .. | ||
| Experts | ||
| Include | ||
| Indicators | ||
| Presets | ||