int start(){
if(TimeCurrent()>D'2008.07.01 12:00:00'){Comment("EXPIRED"); return(0);}
...
return(0);
}
Quote:
Originally Posted by amatrader
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.
|