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)是什么思路?