Stephane Metz / Publications
Forum
Write to file on bar close with MT4 backtester
Hi, how could i write in a file on closing of actual bar cause my code writes to often to the file : int handle= 0 ; datetime date = TimeCurrent (); string Date = TimeToStr(date, TIME_DATE|TIME_MINUTES); handle= FileOpen ( "tma.csv" , FILE_CSV | FILE_READ | FILE_WRITE , ';' ); if (handle>