CTrade::FillingCheck - possible bug introduced since Jan 2013 - page 3

 

I had the same problem, was solved with the attached file.

Will this be officially supported? Will this be part of the MQL5 distribution?

I'd like to avoid that next update my EAs will not work anymore....

 
Alain Verleyen:

Then your broker may have change the specifications of the symbol, check it by right clicking on your symbol in Market Watch, then Specification..., on get a window like this :

Is this IOC ?

What if mine says 'None' in Filling?

I checked and in others brokers it is marked as 'All'.

I tried to use SetTypeFilling(ORDER_FILLING_IOC) to override it, but it did not work.

What should I do?

 
Gaspauzinho:

What if mine says 'None' in Filling?

I checked and in others brokers it is marked as 'All'.

I tried to use SetTypeFilling(ORDER_FILLING_IOC) to override it, but it did not work.

What should I do?

What broker ? What symbol ?
 
Alain Verleyen:
What broker ? What symbol ?

It's a brazilian broker. The symbol is a future index, WINM18.


I contacted them and it's working now. I had to use trade.SetTypeFilling(ORDER_FILLING_RETURN); I don't understand why, but it's working.

Tks!

Reason: