strategy optimizer not working when I use buy and sell stop orders / pending orders instead of market orders.
i have a strategy that can switch between using market orders and stop orders/pending order . When i switch to pending orders and try to optimize. The optimizer starts with an arbitrary balance max and never changes until all steps are completed any assistance will be highly appreciated. Can share code if you need more info

Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Order Properties
- www.mql5.com
Order Properties - Trade Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
- strategy optimizer not working when i use sell or buy stops
- Check pending order
- Invalid Stops,can't place an order

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register