how to:Do not Trade on this date range?

 
how to:Do not Trade on this date range?

e.g: do not trade on 1/12/2012 until 5/1/2013?
 
anthor:
how to:Do not Trade on this date range?

e.g: do not trade on 1/12/2012 until 5/1/2013?

Use comparison od date and time (https://docs.mql4.com/dateandtime), you can also find it in your MetaEditor, > Navigator window (Ctrl + D) > dictionary tab > Time and data.

Write your code here in this topic, if you're not sure it's correct. 

Reason: