Good Morning !
Can someone please give a clue why I am facing an error 10004 with a FOK order ?
and some of them are not supported by particular brokers.
So for example if for MqlTradeRequest you assing values to given mebers:
actionsymbolvolumetype_fillingtypeYou're trying to have "market execution" which may be unsupported and cause your error.Try assigning value to more mebers, to have "instant execution":
I hope it resolves your problem.