Export chart history in a file

 

Hello Everybody...

Please some one guide me how to write the code for export the chart data in a .csv file (like click on file -> save as)

 

try the menu item File -- Save As

 

You can use the "Export-RT-Historical-Data-for-Ramp" MT4 indicator. It creates real time streaming .csv files that you can open in excel or any other program. It is free at http://www.ramprt.com/mt4/Ramp-MT4-Connection-Instructions.htm.

Reason: