Thread: How to code?
View Single Post
  #516 (permalink)  
Old 11-27-2007, 09:10 AM
Michel Michel is offline
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
You can use this to count only those which are opened today:
PHP Code:
if(OrderType() == OP_BUY && OrderOpenTime() >= iTime(NULLPERIOD_D10)) buys++; 
Reply With Quote