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
  • image.png

  • Posts

    • Yes I agree Guru, giving current examples is a good way of doing it! I have been trading for over 20 years and in the last 11 years I found myself mainly trading DAX (Germany) 40, because it is the easiest and most profitable. Which market do you find easiest to trade, Guru? Does anybody else find DAX easier to trade than other markets?  I am interested in hearing other traders' experiences.
    • Source: Coingecko  Source link: https://www.coingecko.com/research/publications/2024-q1-crypto-report The cryptocurrency sector has experienced significant growth in 2024, driven by events like Lugano city's acceptance of crypto payments and the approval of the Bitcoin spot ETF. The industry's market cap reached a record high of $2.9 trillion, with $1.1 trillion added in Q1 alone. Bitcoin surged to a new peak of $73k, surpassing its previous ATH of $68k. Top centralized exchanges like Binance, Bitget, OKX, and Bybit saw substantial growth, with Bitget particularly excelling in derivative trading. Bitget's open interest exceeded OKX's and ranked closely behind Binance and Bybit. Spot trading volume surged from $29B in January to $95B in March, elevating Bitget to the top 7 spot in the spot market and maintaining the 4th position in the derivative market among major centralized exchanges. While other exchanges also witnessed significant growth, Bitget's standout performance has made it the focal point of industry attention. What are your impressions of these findings?
    • DogeDay always brings back memories of 2019 when my friends were diving into Dogecoin and joining farming activities. That's why I'm excited to explore the Bitget DogeDay giveaway event. Plus, with tomorrow's BTC halving, the excitement is doubled!
×
×
  • Create New...
us