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
  • General Statistics

    • Total Topics
      22,086
    • Total Posts
      92,935
    • Total Members
      42,475
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    IPS Temp Admin
    Joined 06/10/22 15:40
  • Posts

    • Commodity Markets: Forex, Bonds, US Gold, Silver, Iron Ore,Copper Lithium,Nickel, Crude Oil, Natural Gas. Elliott Wave   Commodities Market Summary: The USD DXY USDJPY are heading higher into Wave iii) and iv) corrections so are the FX pairs and so are GDX and US Spot Gold. So, there are no larger trends, just corrections.   Trading Strategies: No strategies as markets are in small corrective patterns.   Video Chapters 00:00 US Gov Bonds 10 Yr Yields 00:44 US Dollar Index DXY USDJPY, EURUSD, AUDUSD 05:50 US Spot Gold / GDX ETF 08:41 US Spot Silver 11:20 US Copper / Lithium / Nickel / Iron Ore 19:01 Crude Oil 21:21 Natural Gas 27:11 End   Analyst Peter Mathers TradingLounge™ Australian Financial Services Licence - AFSL 317817   Source: tradinglounge com Access Trial here... buy 1 month Get 3 months              
    • Hi @AndaIG, Please could the [LOUP] Innovator Deepwater Frontier Tech ETF be listed and made available for the ISA tax wrapper, pretty please? Many thanks, Sam
    • Look ahead to 31/5/23: China PMI; France GDP; Germany CPI Economic data is key on Wednesday. It starts in Japan with retail sales, followed by Chinese PMI.  Jeremy Naylor | Analyst, London | Publication date: Tuesday 30 May 2023  IGTV’s Jeremy Naylor looks at the chances that the Chinese yuan will weaken further as it becomes more and more obvious that the recovery in China is further away than initially expected. Then in the eurozone we’re looking at the CAC 40 and DAX as growth and inflation data is released. The only corporate on the schedule is from stationers, WH Smith.          
×
×
  • Create New...