Error 10030.
-
Hello, future business in Brazil, "Modal" brokerage, I created an EA that worked normally in several brokerages, I use the same mt5, I change only the login to change account, but this is giving error "OrderCheck () failed: Unsupported filling mode (10030) ", I saw that some people have this problem but can not find a solution, could you help me? Thank you.
-
Hello, I solved my problem by deleting some lines of the code, the ones that are selected, as I show in the image. Leave only the one that is circled.

-
Oh, not again... This happens on a regular basis. Some person from Brazil complains that MQL5 gives him errors, then I go to fix it, then it works for few months (and few MT5 updates) until another person from Brazil detects new error.
On which symbol and broker does that happen now?
-
@fxDreema Same problem here. I'm also from Brazil. I got this EA working fine for the last week, but today it starts to show the same error. i've tried the solution above, but it didn't worked. I'm using the Modal Broker with symbols WDOX17 and WINV17.
-
I tried to add this broker in my "Open an Account" window, but it doesn't work for me: http://prntscr.com/gut79f
-
@fxDreema Try this: ModalMais-MetaTrader 5
-
Fxdreema, Any solution? I still continue with the error, my EA is working on the demo account, but when I try to use the actual account it continues with this error. Modal brokerage, but you have to be a customer to clear your account. EA executions are on the market, there are no pending orders.
. I hope I have some solution, thank you. -
I contacted the brokerage ModalMais, they informed me that I should always use the following to make it work:
trade.SetTypeFilling (ORDER_FILLING_RETURN);
As I do not understand much of programming, it did not help me much, so that's the question now, how to fix the code if I'm not a programmer, if you can help I'll be very grateful.
@fxDreema