Friday 2 July 2010

OrderSend Error 148

OrderSend Error 148 or ERR_TRADE_TOO_MANY_ORDERS can be a rather frequent MetaTrader 4 error message, especially if you are trading on some demo/real contest account. The error means that you are trying to place an order or open a position when the maximum amount has already been reached. Some Fore brokers limit the number of simultaneously open orders and positions (usually, not counting the stop-loss and take-profit orders). When the maximum has already been reached and your MT4 expert advisor sends a new order request (pending or market) you will get a ”OrderSend Error 148″ message in the Experts log of your platform; the order won’t be executed.

As an MQL coder you should handle these situations properly as they obviously lead to the incorrect functioning of the EA. Your expert advisor should be checking the maximum allowed amount of orders and try not to open new ones if the maximum is reached; alternatively it can try closing previous orders if a new order is to be opened. The amount of orders should be checked with OrdersTotal() function. There is no MT4 function to find out the maximum allowed amount of orders, so you’ll have to consult your Forex broker for that.

Unfortunately, there is no easy way to fix OrderSend Error 148 if you are trader that doesn’t know how to code in MQL. In this case your solution could probably be to ask your Forex broker to increase the limit, but that’s quite unlikely to happen. Of course, there is no point in doing this if your EA tends to open infinite number of orders. In that case it’s better to ask some coder (on a Forex forum, for example) to fix the expert advisor.

5 comments:

  1. Hey Everybody,

    Below is a list of the highest ranking forex brokers:
    1. Most Recommended Forex Broker
    2. eToro - $50 minimum deposit.

    Here is a list of money making forex instruments:
    1. ForexTrendy - Recommended Probability Software.
    2. EA Builder - Custom Strategies Autotrading.
    3. Fast FX Profit - Secret Forex Strategy.

    Hopefully these lists are helpful to you...

    ReplyDelete
  2. The Hot Forex signal will pay for you the mention to enter any trade to connection up your trading platform in metaphor to the subject of an accurate currency pair signals behind actual period. Follow our forex signals and make a large amount of profit within a deeply quick era.

    Visit For Our forex signals

    ReplyDelete
  3. Forex Signals Es assign forex signals and Forex trade copier encourage. My recommendation to you is that undertaking is awaiting you, therefore why are you waiting. Take our help to waylay full of zip forex trade. Life isn't a game suitably dont accomplish considering than, profit precise auspices to locate out the forex and use these effectively in your cash creating method.

    ReplyDelete
  4. USA Forex Signal is a worldwide and famous Forex signals provider Company. It is worldwide roughly 400+ countries Whatsapp/Skype and when Email via worldwide buy forex signals Company.USA Forex Signal Provide Best Forex Signals.

    ReplyDelete
  5. Trade Forex Copier – Best mt4 forex trade copier and forex signals service provider in the world. Use our trade copier service with 100% money-back guaranteed. Try our trial Forex Signals with price $18 for 5 days.

    ReplyDelete