S
OrderTotal does indeed include OPEN and PENDING
The difference between them is known by the OrderType - see https://docs.mql4.com/trading/OrderType
Which will change when a PENDING is hit and becomes an OPEN
Good Luck
-BB-

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I want to write my own EA.
First I send a SellLimit and a BuyLimit.
Then I want to see, which Orders of them are reached. How can I see which order is still open??
When I look at OrdersTotal() is get my OPEN and PENDING Orders.
Lot's of thanks,
sunshineh