Filling Type problem. Error 4756


In order to avoid problems related to filling type, i do the following before making a send request:

long filling_type=SymbolInfoInteger(_symbol,SYMBOL_FILLING_MODE);

When doing the request, i pass this filling type:

MqlTradeRequest request={};

Unfortunately, this raises error 4756.

When in disable filling type, order is accepted:

MqlTradeRequest request={};

So i can live with that, the question is: Will it work on each MT5 ?

Thank you