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
Check the Symbol information first to see if the Filling mode you are trying to use is valid or not . . . https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#symbol_filling_mode
I checked some other parameters too using example given. It seems all is well except my code.
2013.07.02 17:10:06 test2 (EURUSD,H1) EURUSD: Take Profit orders are allowedCheck the Symbol information first to see if the Filling mode you are trying to use is valid or not . . . https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#symbol_filling_mode
Thanks friend. Finally it worked after changing type_filling from ORDER_FILLING_RETURN to ORDER_FILLING_IOC. But I dont know the reason why.
For me it works with the 3 filling mode.