my mt5 script is very simple, it read csv like this
void OnStart()
{
//---
string dt ;
int file_20 = FileOpen("104782531.csv", FILE_READ|FILE_CSV,';');
if (file_20!=-1)
Print("Error is",GetLastError());
Print(StringToInteger(FileReadString(file_20)));
FileClose(file_20);
}
it print value 0 .
I don’t know why this not working same as mt4.
my csv file only contain 1 line :
275117161;GBPNZD;1;0.03;0;0;;0;1568327929;1.91565;0.64191;-290;-8.71;-297;151368.44;0;-8.92