error code 148

 

hi

my ea send error 148 and i know it is come from broker limitation order

but for example : 

broker limitation market order is 50

broker limitation pending order is 50 too

if i open 50 orders and i send 1 pending order , after pending order is activated

we have 51 orders

so then what happened???

broker server close one order or do nothing or ....!!!

if anybody know please tell me

thanks

 
  1. Moslem Aminian: my ea send error 148 and i know it is come from broker limitation order

    Why did you post your MT4 question in the 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? (2017)
    Next time, post in the correct place. The moderators will likely move this thread there soon.

  2. Moslem Aminian: if anybody know please tell me

    Ask your broker.

  3. There is no need to create pending orders in code.

    1. The pending has the slight advantage, A) you are closer to the top of the queue (filled quicker), B) there's no round trip network delay (filled quicker.)
    2. Don't worry about it unless you're scalping M1 or trading news.
    3. Humans can't watch the screen 24/7, so they use pending orders; EAs can, so no need for pending orders, have it wait until the market reaches the trigger price and just open an order.
Reason: