Hey Guys,
I have a need to wirtie an EA (?) which performs the following:
1. Can export OHLC data amd Indicator data to CSV file.
2. If the file already exists, then the file should be appended to.
3. Naturally if the file does not exist then the file needs to be created (eg with 1000 rows of data).
My intention is essentially IPC as I have a separate analysis program that can read in the file and work its magic.
Can anyone point me in the right direction by way of examples ? I think the biggest question mark in my mind is the determining if the file exists (Win API ?) and the append to the end of a file thing (MT4 only support FILE WRITE and FILE READ ?).
All help muchly appreciated !!
TheGeneral
I have a need to wirtie an EA (?) which performs the following:
1. Can export OHLC data amd Indicator data to CSV file.
2. If the file already exists, then the file should be appended to.
3. Naturally if the file does not exist then the file needs to be created (eg with 1000 rows of data).
My intention is essentially IPC as I have a separate analysis program that can read in the file and work its magic.
Can anyone point me in the right direction by way of examples ? I think the biggest question mark in my mind is the determining if the file exists (Win API ?) and the append to the end of a file thing (MT4 only support FILE WRITE and FILE READ ?).
All help muchly appreciated !!
TheGeneral