PureBytes Links
Trading Reference Links
|
Hi Everyone
Intention
is to right to a file, which has a header and whereas the fileappend comand
appends the data values below???
the current statement doesn't work whilst scanning multiple stocks or
dircrectories
any help is much appreaciated
If date=LastCalcDate and Time=LastCalcTime then begin {setting the header}
Print(File("E:\Omega Research\Test.txt"),"Symbol" + Spaces(1)+ "Open" +
Spaces(1) + "High" + Spaces(1) + "Low" +
Spaces(1) + "close" + Spaces(1) + "NetChnge");
end
else
If date=LastCalcDate and Time=LastCalcTime then
FileAppend(FleNme,Newline + spaces(1) + GetsymbolName + Spaces(1)+
NumToStr(open,3)
+ NumToStr(high,3) + Spaces(1) + NumToStr(low,3) + Spaces(1) +
NumToStr(Close,3) +
Spaces(1) + NumToStr((C-C[1]),3));
|