//+------------------------------------------------------------------+ //|count pending.mq4 | //|Desmond Wright aka " Buju" | //|notes: | // this EA will count all the pending orders | // for the chart it has been placed on | // | //+------------------------------------------------------------------+ #property copyright "Desmond Wright aka Buju" #property link "" //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int OpenBuyOrders; int OpenSellOrders; int total; int start() { OpenBuyOrders=0; OpenSellOrders=0; total=0; //Count Pending Stop Orders for(int i=0;i