You can download historical data in MT5 by;
1. Select "View"->"Symbol" double-click the pair on the "Bars" tab and select the time frame, period and click "ok"
2. Double-click the desired pair in the "Chart Bars" tab and select the time frame.
3. Enter the download period and click "Request"
Please note that the downloaded data is provided from Titan FX server.