MQL5-Google-Onedrive/.jules
google-labs-jules[bot] 516c653868 Bolt: optimize lot calculation and margin checks
Optimized the `CalculateLots` function in `SMC_TrendBreakout_MTF_EA.mq5` by:
1. Pre-calculating the inverse of `SYMBOL_MARGIN_INITIAL` in `OnInit` to replace division with multiplication.
2. Refactoring the logic flow to apply margin constraints before normalization and clamping.
3. Consolidating redundant `MathFloor`, `MathMax`, and `MathMin` calls into a single execution path.

This reduces the computational overhead of lot sizing, especially when margin limits are approached, and improves code readability.
2026-02-08 17:21:22 +00:00
..
bolt.md Bolt: optimize lot calculation and margin checks 2026-02-08 17:21:22 +00:00
deploy.yml Add dev container setup, cloud deployment configs, and Jules deployment automation 2026-01-19 09:53:30 +07:00