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

Re: adding symbol name to print text to file



PureBytes Links

Trading Reference Links

At 02:35 PM 11/12/2004, Doug Johnson wrote:

>Print(File("c:\data\mydata.txt"),Date, Time, Close);
>
>Is there a way to substitute the symbol name for
>mydata (above), thus enabling multiple exports at the
>same time to the same folder?
>
>Essentially, I wish to export date, time, close, and
>indicator value in text format and wish to have the
>securities symbol in the name of the file. For ex,
>IBM.txt , GE.txt, and so forth.

This will probably work. (Not tested)


Var: Str1("");

Str1 = "c:\data\" + GetSymbolName + ".txt";

Print(File(Str1),Date, Time, Close);


Bob Fulks