Converting H1 to D1

 
Hello, I have a H1 data which I want to convert it to D1. Do you know how to do it with the MT4 platform or some other tool or software? Thank you in advance. 
 
https://www.mql5.com/de/code/7936
 
Thank you for the link. However this script creates a new offline chart form which I could not download the new data. Do you know how to download the D1 data form offline charts?