MQL5-Google-Onedrive/mt5/MQL5/Experts
google-labs-jules[bot] eba7e9d770 Bolt: Optimized lot size and SL calculations
Pre-calculated inverse constants in OnInit to replace division with multiplication in CalculateLots and CalculateSL.

- Added g_invLotStep, g_invMarginInitial, and g_swingSLBuffer global variables.
- Initialized them in OnInit with safety checks.
- Replaced divisions by g_lotStep and g_marginInitial with multiplications by their inverses in CalculateLots.
- Replaced inline multiplication in CalculateSL with pre-calculated g_swingSLBuffer.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-04 17:14:17 +00:00
..
ExpertMAPSARSizeOptimized_Improved.mq5 Bolt: Optimized history processing and time calculations in ExpertMAPSARSizeOptimized_Improved 2026-02-04 11:04:14 +00:00
SMC_TrendBreakout_MTF_EA.mq5 Bolt: Optimized lot size and SL calculations 2026-02-04 17:14:17 +00:00