View Single Post
  #1 (permalink)  
Old 10-01-2006, 10:06 PM
emersond emersond is offline
Member
 
Join Date: Apr 2006
Posts: 15
emersond is on a distinguished road
Exclamation Setting An Expiration Date On Indicator

How do you set an expiration date for an indicator; so that when that date
is reached the indicator ceases to operate?

I found this code; but all it does is create an alert. However, the indicator still works.

if ((Day() >= 02) && (Month() >= 10) && (Year() >= 2006))
{
Alert("Trial has ended. Please contact youremailaddress@whatever.com");
return(0);
}


Thanks in advance for any help on this matter.

Last edited by emersond; 10-01-2006 at 10:09 PM.
Reply With Quote