PureBytes Links
Trading Reference Links
|
Hi,
sometimes it seems that I am standing on some lines,
I need TS4.0 to print the following statement after every
finnishes trade.
if (Mp <> Mp[1] and Mp[1] <>0) or Time = Sess1EndTime
then
FileAppend(FileName,
NumToStr(MP,0) + "," + NumToStr(MP_Ctrct,0)
+ "," +
NumToStr(EntryDate(1),0) + "," +
NumToStr(EntryTime(1),0) + "," +
NumToStr(I_Risk[2],2) + "," +
NumToStr(I_Avgtr[2],2) + "," +
NumToStr(MaxPositionProfit(1),2) + "," +
NumToStr(PeakDay[1],0) + "," +
NumToStr(MaxPositionLoss(1),2) + "," +
NumToStr(BottDay[1],0) + "," +
NumToStr(BarsSinceEntry(1),0) + "," +
NewLine);
Wnen the trade exits at End of the Day (MOC) then do not get
a printout.
Any Solutions?
Greetings
Robert
--
_____________________________________________
Omega Research Reseller for Austria and Italy
Omega Research Solution Provider
Trading Systems, Tradestation Programming
Computer Consulting/Training
ueb.trading
Robert Ueberbacher
A-6175 Unterperfuss 20, Austria, Europe
Tel.: +43-5232-2560, FAX: +43-5232-256013
ueb.trading@xxxxxxxx (Robert Ueberbacher)
_____________________________________________
|