PureBytes Links
Trading Reference Links
|
Can someone give me an idea why this Time interval tickcharts indicator does
not plot in TS6 ?
In 2000i it works fine.
Can someone help finding a solution to it ?
thanks
Eduardo J Motta
input:rotate(5), color(tool_darkgray);
var:go(0),new(0);
if d>d[1]or currentbar=1 then begin
if go=0 then go=1 else go=0;
new=TimeToMinutes(Sess1StartTime)+rotate;
end;
if t <> t[1] then
if TimeToMinutes(t)>new then begin
if go=0 then go=1 else go=0;
new=new+rotate;
end;
if go=1 then begin
if color = 0 then begin
plot1(h,"time");
plot2(l,"rotate");
end else if date = LastCalcDate then begin
var: handl(0);
handl = TL_New(date,time,h+1,date,time,l);
TL_SetExtRight(handl,true);
TL_SetExtLeft(handl,true);
TL_SetColor(handl,color);
go = 0;
end;
end;
|