forked from LengKundee/MQL5-Google-Onedrive
- Pre-calculated constants in OnInit() to replace recurring divisions and point-conversions in the trade execution path. - Optimized CalculateLots(), CalculateSL(), and CalculateTP() by using pre-calculated factors and inverses. - Consolidated lot limit checks into a single range check. - Reduced mathematical operations in OnTick() and trade functions. - Verified with repository CI and automation test scripts. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| ExpertMAPSARSizeOptimized_Improved.mq5 | ||
| SMC_TrendBreakout_MTF_EA.mq5 | ||