Logging price data

Is there an EA that can save price data such as Open High Low Close in a csv file or something? I want it to run and write to the log file as the data comes, like after each new bar shows up. Is this possible?

ivango:

Is there an EA that can save price data such as Open High Low Close in a csv file or something? I want it to run and write to the log file as the data comes, like after each new bar shows up. Is this possible?


yes, this is possible

MrH:

yes, this is possible


Do you know where I can get an EA like this? Or maybe there is some sample code I could learn from/modify?

ivango:

try this; it's an EA

Files: