I cant' find a simple way to set a default value = Timecurrent() to an Input MyDate parameter ?
#property script_show_inputs#define MaDateDuJour TimeCurrent();
//I would like this but MQL 5 return an error : Constant needed
inputdatetime Export_du = MaDateDuJour;
// Instead of this to set the date of the day and not a fix date
inputdatetime Export_du = D'2011.04.01 00:00:00';
Hi
I cant' find a simple way to set a default value = Timecurrent() to an Input MyDate parameter ?
Thks for help
Phil