I want to save historical data quotes for txt or csv file in a format OHCL.
I have write such script for MT4 a few years ago, it get history form every time frame and write into different text files (last 2000 bars), so I can analyze it with external tools.
Who have wrote such script? I can give you my script for MT4. I just need to know a few rows of code to accessing to historical data and writing it to a file.
Comment