Don't you want to use a simpler method using the "COrderInfo" library instead of using "OrderGet .."?
#include <Trade\Trade.mqh>
COrderInfo InfoOrder;
Nino Guevara Ruwano #:
Don't you want to use a simpler method using the "COrderInfo" library instead of using "OrderGet .."?
Thanks! Didn't know about that
Can you combine the counting of all types of pending orders (BuySell Limit, BuySell Stop) into one script? Thank you.

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
Pending Order count-BUY STOPS:
This script counts the number of pending buy stop orders for each symbol and returns the value.
Author: Chioma Obunadike