Order Sent, Error, 148 (My Question is How to find the amount of opened and pending orders has reached the limit set by a broker)

 
Limit is per broker. Ask your broker. Some 100, some 1000, some no limit.
 
WHRoeder:
Limit is per broker. Ask your broker. Some 100, some 1000, some no limit.

Thanks WHRoeder!

Apologise not cleared question i asked?

I need of mql code to find the amount of opened or pending orders limit set by broker? Is this possible?

 
no
 
If you are trying to code an EA, you could make that a user set variable so that it is up to them to find out what their broker's limit (if any) is, and put it into the EA themselves.  And code the rest of the EA to work off of that.
 

The question is why do you care? There is no point in opening more than a few at max.

No point in pending orders. Humans can't watch the chart 24/7 they use pending orders. EA's just need to wait until price reaches a level.

Reason: