A. Get path to Metatrader data historical files
  1. Run Metatrader 4 and open Navigator. Note a server name, GCI-Demo in our case
  2. Click File->Open Data Folder
  3. Windows Explorer will open
  4. Click history folder and then a folder with the same name as server (GCI-Demo in our case)
  5. Click with a mouse right button on the last path item and select Copy address as text in context menu
  6. A full path to MT4 data folder (P:\GCI\history\GCI-Demo) now is on clipboard.
  7. If UAC (User Account Control) is active on your computer the path will be long and ugly like C:\Users\lenovo\AppData\Roaming\MetaQuotes\Termina l\1DAFD9A7C67DC84FE37EAA1FC1E5CF75\history\ICMarke ts-Live01\. That's how MT4 developers decided to treat the data "for you security". If you don't like it, deactivate UAC.
  8. Don't close Metatrader