I want to get the last order profit,but HistoryDealGetDouble gets the last order profit is still zero. input long order_magic= 55555 ; int OnInit () { //--- create timer EventSetTimer ( 60 );
My Code as follow: int OnInit() { //--- string filename="D:\\MYDATA.CSV"; int filehandle=FileOpen(filename,FILE_READ|FILE_WRITE|FILE_CSV|FILE_ANSI,','); if(filehandle<0)