Urgent. Unsupported filling mode (10030).Converting EA from MT4 to MT5
-
Hello.
Need help with this error. Have EA's which works on MT4 however tried to convert them to MT5 and when do backtesting got error "Unsupported filling mode (10030)"Tried the way of converting from MT4 to MT5 and also by manual way of creating same EA in MT5 creator.
market:BlackBull Market
Read some topics regarding this error howver didn't find solution.
As seen most of the time problem was with filling type so pasting my code.
// filling type
if (IsFillingTypeAllowed(symbol, SYMBOL_FILLING_FOK))
request.type_filling = ORDER_FILLING_FOK;
else if (IsFillingTypeAllowed(symbol, SYMBOL_FILLING_IOC))
request.type_filling = ORDER_FILLING_IOC;
else if (IsFillingTypeAllowed(symbol, ORDER_FILLING_RETURN)) // just in case
request.type_filling = ORDER_FILLING_RETURN;
else
request.type_filling = ORDER_FILLING_RETURN;success = OrderSend(request, result);Additional question. Does it mean the EA won't be working on real time market or is it just error in backtesting. Unable to check due fact is Saturday today ,the importance is I need this to be working on Monday
Regards to all helpers.
-

-
Never seen this error before. I'm not a programmer, sorry. I hope someone can help.
-
SOLVED. Don't know how this programming line affect different pairs however works on my pair GBPUSD.p
Error was on GBPUSD pair.
Not programmer eighter so not sure what's the issue -
Good for you!