MQL5-Google-Onedrive/mt5/MQL5
google-labs-jules[bot] d93c461815 Bolt: optimize trading constants in SMC EA
Pre-calculate several trading constants in OnInit() to improve performance
in the OnTick path. This includes:
- Inverse lot step and margin for faster lot calculation
- Fixed point offsets for SL and TP
- Combined min/max lot limits to reduce clamping overhead
- A unified lot risk factor to replace redundant divisions in CalculateLots()

These changes reduce the number of arithmetic operations executed on every
trade signal, significantly improving backtesting efficiency.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-04 17:37:41 +00:00
..
Experts Bolt: optimize trading constants in SMC EA 2026-02-04 17:37:41 +00:00
Indicators Bolt: optimize indicator OnCalculate performance (revised) 2026-01-31 10:52:36 +00:00