PureBytes Links
Trading Reference Links
|
At 7:57 AM -0400 9/2/99, Canyon678@xxxxxxx wrote:
>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,
I assume you want "Time", not "CurrentTime" in the printout.
Try the code below. (Not tested)
Bob Fulks
------------------------------------------------------
if CurrentBar = 1 then begin
FileDelete("C:\21.txt");
Print("Date, Day, Time, Value1,");
end;
if Date > Date[1] then begin
Print(File("C:\21"),
Date:6:0,",",
DayOfWeek(Date):1:0,",",
Time:4:0,",",
WAverage(Value60,Len1),",",
end;
------------------------------------------------------
|