之下是指标源码,就是如图线与线之间连接起来,老师
文件名:20229114295687799.jpg
HH1:=HV(H,20);
LL1:=LV(L,20);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
K1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE<LL2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IFELSE(K2=1,HH2,LL2);
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(L>0,G1,G1,0,RGB(0,128,192)),ALIGN0,FONTSIZE13;
DRAWSL(K2=1,G,0,1,0,COLORLIGHTGREEN),DASH;
DRAWSL(K2=-3,G,0,1,0,COLORLIGHTRED),DASH;
DRAWKLINE1(H,O,L,C);
(来源:文华财经)