all open orders - OrdersTotal()

Back to topics list To post a new topic, please log in or register
avatar
111
fulltilt 2015.01.31 13:13
 

i need to count the total open orders by all charts ...

can I use simply?

bool countok = false;

if (OrdersTotal() <= 3 )
{ countok = true;}
avatar
Moderator
3419
GumRai 2015.01.31 13:23 #
 
OrdersTotal() is all you need
avatar
13006
WHRoeder 2015.01.31 16:35 #
 
 Simplify
bool countok = false;

if (OrdersTotal() <= 3 )
{ countok = true;}
bool countok = OrdersTotal() <= 3;


Back to topics list  

To add comments, please log in or register