MQL4参考 日期和时间 Day
Returns the current day of the month, i.e., the day of month of the last known server time.
int Day();
Returned value
Current day of the month.
Note
At the testing, the last known server time is modelled.
Example:
if(Day()<5) return(0);