need help in datatime

 

i want to creat try vertion for my ea

 

 

how to creat try version for my ea ??


 

1)  run only if it is connected to a demo account: if (!IsDemo()) return;

2) Disable any trading, just paint on the chart the "I would have bought/sold here" signals,

3) limit the usage to a date, in OnTick e.g.:  if (TimeCurrent()>D'2015.12.24 00:00:00') return;



Reason: