Scripts: Pending Order count-BUY STOPS

 

Pending Order count-BUY STOPS:

This script counts the number of pending buy stop orders for each symbol and returns the value.

Pending Order count-BUY STOPS

Author: Chioma Obunadike

 

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.
Reason: