MQL5-Google-Onedrive/mt5/MQL5
google-labs-jules[bot] a6a38a2937 Bolt: Optimize SMC_TrendBreakout_MTF_EA hot paths
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.
2026-02-20 20:54:36 +00:00
..
Experts Bolt: Optimize SMC_TrendBreakout_MTF_EA hot paths 2026-02-20 20:54:36 +00:00
Include feat: Add scalping strategy support for M5, M15, M30 2026-01-28 18:14:03 +00:00
Indicators Address code review: optimize ArraySize() calls and document cache behavior 2026-02-11 08:36:56 +00:00
Presets feat: Add scalping strategy support for M5, M15, M30 2026-01-28 18:14:03 +00:00