DRCAVE / Publications
Forum
How To Make An EA Expire After A Certain Period
Hi guys, i want to make my EA expire after a certain period of time, can someone please help with the code (im new to coding) I tried using the code below, int start() { string expire_date = “2020.08.31”; // datetime e_d = StrToTime(expire_date); if (CurTime() >= e_d) { Alert (“The trial version has