ds:NEWHBARS(c1,1),LINETHICK0;
c2:=ref(c1,ds),LINETHICK0;
ii:BARSLAST(c1<>ref(c1,1))+1,LINETHICK0;
ttt:ds+ref(ii,ds),LINETHICK0;
VARIABLE:x5:=0;
if DS<1000 then x5:=ttt;
if DS>=1000 then x5:=DRAWNULL;
if ds=BARPOS then x5:=DRAWNULL;
y5:=x5,LINETHICK0;
这算法哪里有问题,DS 与II 一直有数据返回,为什么当DS>1000时 TTT没返回数据,DS<1000时TTT有数据返回的
ttt:ds+ref(ii,ds),LINETHICK0;
这句里面的+ref(ii,ds)是什么思路?