[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: FileAppend Function



PureBytes Links

Trading Reference Links

I posted this is a few days ago and didn't see a response.  Hopefully
someone has an answer.



>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?
>
>