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
Why are you using a different filling mode for the close ?
You can only use allowed filling mode according to the symbol's settings. See https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#symbol_filling_mode
Thanks for your suggestion, here is what I have done:
With this I could see that the min tick step (0.01) and the filling type allowed (ORDER_FILLING_IOC).
So I modified my code accordingly and now it seems to work