PureBytes Links
Trading Reference Links
|
Patrick and Jimmy,
Create an indicator "test" by pasting the following code segment into it
and applying it to your TS2000i chart. (TS4 users won't have the
luxury.) Bring up a message log. I don't know of an simple way of
sticking the 0 to make month / day strictly 2 digits. Some one know
please respond. - Alan
array: arr[2,3](0); {or arr[1,2](0, data1)}
var: ii(0), jj(0);
if LastBarOnChart then begin
Print(Month(D):2:0, "/", DayOfMonth(D):2:0, "/", Year(D):2:0);
for ii=0 to 1 begin
for jj=0 to 2 begin
arr[ii,jj] = ii*10 + jj;
end;
end;
for ii=0 to 1 begin
for jj=0 to 2 begin
Print(arr[ii,jj]);
end;
end;
end;
Plot1(0, "test");
|