Forum

File Path for saving .csv files in MT5

Is there a way of saving the location of .csv files other than in the TERMINAL_DATA_PATH ? I would like to save to a folder off the root. Such as: FilePath = "C:" + "\\" + "MT5_Export_History" + "\\" + Symbol () + ".csv" ; Thank you

Using the Sleep() Function in MQL5 vs MQL4

I'm doing an EA translation from MQL4 to MQL5 and need advice of whether or not to use the Sleep() Function as it was written for MQL4. I've done some testing by commenting out the Sleep() Function entirely in my MQL5 code and everything appears to work fine. My question for advice is: Should I