H1:=ref(h,1);L1:=ref(l,1);
VARIABLE:D1L=0;VARIABLE:D1T=0;VARIABLE:D2L=0;VARIABLE:D2T=0;
VARIABLE:G1H=0;VARIABLE:G1T=0;VARIABLE:G2H=0;VARIABLE:G2T=0;
if L<L1 and L<refx(l,1) then begin
D1L:=l;
D1T:=BARPOS;
DRAWTEXT(1,l,'D1');
end
if L<L1 and L<refx(l,1) and barpos>D1T+1 then begin
D2L:=l;
D2T:=BARPOS;
DRAWTEXT(1,l,'D2');
end
我想在图上标出D1 D2 ,怎么写?
是不是 D1点用了 未来函数,D2点 就不可以用未来了是吧? 有点蛋疼。。