PureBytes Links
Trading Reference Links
|
I am printing data with respect to system trades to a CSV file using the
FileAppend command. The code I am using is:
MP=MarketPosition;
If MP<>MP[1] and MP[1]<>0 then begin
FileAppend( "d:\data\xtra\values4.txt",
numtostr(Date[1],0)+","+
numtostr(EntryDate(1),0)+","+
getsymbolname +","+newline);
end;
Works great except that data is not sent to the file for the last trade.
The trade is closed out before the last bar. Is this sort of anomoly in the
FileAppend function? If so how do I get around it?
|