Here is line from expert:
But expert writes line by line from beginning of existing file. Perhaps it is necessary to tell expert to write to end of file with cycle statement, but I don't understand how write such cycle.
To add data to the end of CSV file use FileSeek.
int FileHandle=FileOpen(FileName, FILE_BIN|FILE_WRITE|FILE_READ);
FileSeek(FileHandle, 0, SEEK_END);
File handle is not boolean, here is your code that saves Time, Bid, Ask.