Expired period for indicator

 

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?

 

- how to lock source code (mql4 program protection codes): this Codersguru article and this thread on our forum.

 
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

double ExpirationDate = StrToTime("2007.06.01");

if(TimeCurrent() > ExpirationDate)

{

Print("Testing period is over.");

return(0);

}
 

Sorry Digital, you quicker than me!

 

The best way is to write a dll

 
FerruFx:
The best way is to write a dll

It is hard to decompile.

.ex4 is easy to convert to .mq4.

 
Bongo:
.ex4 is easy to convert to .mq4.

Easy?

 
FerruFx:
Easy?

For some guys is easy...

 
Bongo:
For some guys is easy...

Guys like you?

 
FerruFx:
Guys like you?

Maybe...???

 

is it possible to convert ex4 to mq4?

Reason: