Jump to content
  • 0
Sign in to follow this  

MT4 Real account OrderSend Error 131

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

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×