MQL5-Google-Onedrive/mt5
google-labs-jules[bot] ca2fcb7cee Bolt: Optimize lot calculation and margin clamping
- Pre-calculate inverse of initial margin in OnInit to avoid division in hot path.
- Refactor CalculateLots to apply margin clamping before normalization.
- Consolidate rounding and clamping logic into a single execution path.
- Remove redundant NormalizeDouble and duplicate calculations.
2026-02-08 19:20:35 +00:00
..
MQL5 Bolt: Optimize lot calculation and margin clamping 2026-02-08 19:20:35 +00:00