PureBytes Links
Trading Reference Links
|
Hi
I use the code ( at the end of note ) to print to file .
It will print all the information to a file called 21.txt without headers.
980918,5,1630, 3.00,
980921,1,1630, 20.07,
How do I get it to print the headers i.e
date, day of week, time, Value1
980918, 5, 1630, 3.00,
980921, 1, 1630, 20.07,
Thanks
Mike
------------------------------------------------------
if Date > Date[1] then begin
if currentbar=1 then
fileDelete("C:\21.txt");
PRINT(file("C:\21"),
DATE:6:0,",",
DayOfWeek(date):1:0,",",
CurrentTime:4:0,",",
WAverage(Value60,len1),",",
END;
------------------------------------------------------
|