Is there a MT4 code snippet to export historical data ?

I can't find one and I can't find any clue in documentation (I'm new to MT4 though).

Can you tell me how to do this ?

Thanks.
 
Press the F2 key

Or from the menu select /Tools: History Center: (select the instrument you want from in the left hand pane) then Export button
 
Quote from stu:

Press the F2 key

Or from the menu select /Tools: History Center: (select the instrument you want from in the left hand pane) then Export button

Thanks I didn't know the F2 Key but I would like to do with an automated program so is there a way to do so or is it just impossible technically ?
 
what is it you're doing with the data after you've got it from MT ?

i convert MT data into MetaStock also Advanced GET
with MS i use the MS DownLoader to do the conversion
with AG i use an MT indicator that converts the data into a format that AG
can read which it collects from an MT file
in both cases i have to first update the charts/timeframes i want
a third alternative is 'converter' utility programs that automatically collect
and realtime update into other programs such as MS
 
Back
Top