expiry date

 
how can i code my indicator to expire after a period of time or after a certain date?
 
doshur wrote >>
how can i code my indicator to expire after a period of time or after a certain date?

After a certain date:

if (Year()>2007 && Month()>5)
{Alert("EA Expired");
return(0);
}

for a period perform the difference with your current date.

Is that answering your question?