sellatendofday=timenum()==125955;
Sell=condition1 or sellatendofday;

  ----- Original Message ----- 
  From: Leif P 
  To: [email protected] 
  Sent: Saturday, May 01, 2010 12:07 PM
  Subject: [amibroker] IB: Exit all long positions automatically at 15:00 - 
15:30


    
  When using IB intraday, what is the syntax for selling anything that's long 
(open) at say 15:00 or 15:30? (Have there ever been optimization discussions on 
this issue?) 

  I mainly don't want to take anything "home with me" at the end of the day. 



  

Reply via email to