Thread: Ask!
View Single Post
  #1063 (permalink)  
Old 04-27-2008, 03:04 PM
Michel Michel is offline
Senior Member
 
Join Date: Feb 2006
Posts: 525
Michel is on a distinguished road
Quote:
Originally Posted by bearfoot090 View Post
thanks michel for the reply.

I`ll try. but what should i put in the comment?anything i like?
Put the time you want to close the order. The Comment field must be a string, that's why there is ""+ in front of the value. for example:
PHP Code:
""+(Time[0] + Period()*60)   // begin of the next bar on the current timeframe

""+(TimeCurrent() + 2*360 30*60)   // 2 hours 30 minutes after the openning

""+(iTime(NULL,PERIOD_D1,0) + 23*360 45*60// today at 23:45 (server time)

""+(iTime(NULL,PERIOD_W1,0) + (PERIOD_W1 10)*60// next friday at 23:50 
Reply With Quote