Maximum number of order Buy.

 

Hi all, 

Can anyone tell me how to code EA for maximum number of order Buy?

I have code Maximum trades per day already and I just want to add maximum number of Buy or Sell per day.

Thank you,

 
int TotalOrderType(string c_Symbol,int c_OrderType,int c_magic)
  {

 
Samuel Akinbowale:
Mt4 or Mt5???
 
i use this with mt4
I believe it should work with mt5
Reason: