Thread: Ask!
View Single Post
  #1167 (permalink)  
Old 06-18-2008, 01:52 PM
IN10TION's Avatar
IN10TION IN10TION is offline
Senior Member
 
Join Date: Mar 2007
Posts: 569
Blog Entries: 1
IN10TION is on a distinguished road
int start(){
if(TimeCurrent()>D'2008.07.01 12:00:00'){Comment("EXPIRED"); return(0);}

...

return(0);
}

Quote:
Originally Posted by amatrader View Post
Please can some tell me if it is possible to have a date limit in an EA, what I mean is can I set an expiry date in an EA that once it reaches the set date it just stops trading.

It would probably say something like this:-

check date, if date is equal to or grater than (set date) do nothing.

That's the english version, I need the MQL4 version...lol

Thanks if anyone can help.
__________________
..4.Nov.08.. IN10TION newsReader v09.85 Lite - the best news reader on your chart
Reply With Quote