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;
這算法哪里有問(wèn)題,DS 與II 一直有數(shù)據(jù)返回,為什么當(dāng)DS>1000時(shí) TTT沒(méi)返回?cái)?shù)據(jù),DS<1000時(shí)TTT有數(shù)據(jù)返回的
ttt:ds+ref(ii,ds),LINETHICK0;
這句里面的+ref(ii,ds)是什么思路?