I think the question is very primitive, but it does not work.
There is a script for MT5 that loads the history of quotes for the specified dates to the file. But you need a history of quotes only for the last 72 hours and do not want to change the dates every hour.
Here is the original script
input datetime start_date = D’01.10.2018′; // Start Date
input datetime end_date = D’01.10.2019′; // End Date
As I logically understand it, start_date is equal to the current date, and end_date = start_date + 72 hours.
Please tell me how to write it.