View Single Post
  #3 (permalink)  
Old 06-01-2007, 02:50 PM
FerruFx FerruFx is offline
Senior Member
 
Join Date: Feb 2007
Posts: 986
FerruFx is on a distinguished road
Quote:
Originally Posted by nostrade
I'd like to add expired period for indicator.. That means the indicator will be expired after certain times and can't be used anymore.

Does anyone here knows the code?
Here is what you look for.

FerruFx

Quote:
double ExpirationDate = StrToTime("2007.06.01");

if(TimeCurrent() > ExpirationDate)
{
Print("Testing period is over.");
return(0);
}
Reply With Quote