Jump to content
  • 0

MT4 Real account OrderSend Error 131


Guest Edward

Question

Guest Edward

Hi,

When placing order on real account thru EA getting OrderSend Error 131   Test account is working fine.  The reason: MODE_MINLOT, MODE_LOTSTEP and MODE_MAXLOT are all 0.0

Prints results:

Print("MODE_LOTSIZE = ", MarketInfo(Symbol(),MODE_LOTSIZE), ", Symbol = ", Symbol());
Print("MODE_MINLOT = ", MarketInfo(Symbol(),MODE_MINLOT), ", Symbol = ", Symbol());
Print("MODE_LOTSTEP = ", MarketInfo(Symbol(),MODE_LOTSTEP), ", Symbol = ", Symbol());
Print("MODE_MAXLOT = ", MarketInfo(Symbol(),MODE_MAXLOT), ", Symbol = ", Symbol());
Real account:

MODE_LOTSIZE = 100000.0
MODE_MINLOT = 0.0
MODE_LOTSTEP = 0.0
MODE_MAXLOT = 0.0

Test account:

MODE_LOTSIZE = 100000.0
MODE_MINLOT = 0.01
MODE_LOTSTEP = 0.01
MODE_MAXLOT = 50.0

EA working fine on forex.com real account.

Any advise?

Thank you

Link to comment

2 answers to this question

Recommended Posts

  • 0
17 hours ago, FXBarom said:

I have a similar error while running EA in MT4 Tester.

Here is my post on IG forum

Must say, that same EA works correctly with other MT4 brokers,

so there is definitely something wrong with IG server configuration.

Hi @FXBarom,

Please reach out to helpesk.us@ig.com with your account details and information above. Our team will be able to investigate and come back to you with a solution.

All the best - MongiIG

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
us