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

FileAppend, Message Log



The syntax below will update the file yourfilename.txt, writing the
symbol name and date at the end of each day if this is applied to a
daily chart.

If lastbaronchart   then FileAppend ("c:\yourfilename.txt",
 GetSymbolName+ "  Date  "+NumToStr(d,0));

As far as the message log goes, I've found it much easier to debug
programs using the expert commentary routine.

For example:

If atcommentarybar then commentary(d,t,"RSI =",rsi(c,10));

will print the date, time, and 10 period rsi in the expert commentary
window.

You'll find this a lot easier to use, at least from a de bug standpoint,
than the message log. In its present form, the message log is not able
to handle a large number of lines from a print statement and will crash
not only ts2000i but occasionally, windows as well.

John Clayburg






PureLinks - Finance Banners.
PureLinks - Finance Banners.