MQL5-Google-Onedrive/mt5/MQL5
google-labs-jules[bot] ba98647391 Bolt: optimize EA OnTick hot path and lot calculation
- Move iTime new bar check to the top of OnTick to act as a gatekeeper.
- Move TerminalInfo, MQLInfo, and PositionSelect checks inside the new bar block to reduce terminal API calls.
- Use static arrays for memory reuse (MqlRates and indicator buffers).
- Remove redundant close[] array and use rates[] directly.
- Pre-calculate lot value multiplier in OnInit to simplify lot size calculation.
- documented expected performance impact.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-31 17:16:48 +00:00
..
Experts Bolt: optimize EA OnTick hot path and lot calculation 2026-01-31 17:16:48 +00:00
Indicators Bolt: optimize indicator OnCalculate performance (revised) 2026-01-31 10:52:36 +00:00