EAs

 

Each time my Ea launches a trade,I usually receive this message: 555 Scalper XAUUSD,M5: Error opening BUY order : 130. Please what does this mean,aand how can I correct it?



 
Please use the search function for error code 130
 
  1. Why did you post your MT4 question in the Root / MT5 General section instead of the MQL4 section, (bottom of the Root page?)
              General rules and best pratices of the Forum. - General - MQL5 programming forum
    Next time post in the correct place. The moderators will likely move this thread there soon.

  2. Perhaps you should read the manual.
              Runtime Errors - Codes of Errors and Warnings - Constants, Enumerations and Structures - MQL4 Reference

    You can't move stops (or pending prices) closer to the market than the minimum: MODE_STOPLEVEL * _Point or SymbolInfoInteger(SYMBOL_TRADE_STOPS_LEVEL).
              Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial

    On some ECN type brokers the value might be zero (broker doesn't know.) Use a minimum of two (2) PIPs.

  3. Fix your broken code.
This website uses cookies. Learn more about our Cookies Policy.