Download MetaTrader 5

ex4 to maturity

To add comments, please log in or register
texoro
126
texoro  
How do you make the " ex4 " used for a predetermined time " X " ?
Janek6191
29
Janek6191  

maybe:

datetime end=D'2017.01.01 00:00';

if(end <= TimeCurrent(){
    Alert("END OF LICENSE");
    ExpertRemove();
}
texoro
126
texoro  
tanks
Aleksey Pak
3593
Aleksey Pak  
Drazen Penic
2681
Drazen Penic  
Alexey, is there some way developer can set these properties in code that is not distributed through MQL5.com market?
To add comments, please log in or register