ZT:=C>=ZTPRICE(REF(C,1),0.1) AND C=H; T1:=V=HHV(V,10) AND C<O AND O/C>1.04 AND COUNT(ZT,20)<2 AND HHV(H,3)=HHV(H,20); N1:=BARSLAST(T1); T2:=CROSS(REF(V,N1)/3,V) AND REF(EVERY(V>REF(V,N1)/3 AND C<REF(H,N1),N1),1) AND N1<10; N2:=BARSLAST(T2); XG:=CROSS(C,REF(H,N2)) AND REF(EVERY(C<REF(H,N2),N2),1) AND N2<10; STICKLINE(T1,C,O,3,0),COLORGREEN; DRAWTEXT(T1,H,'←巨陰'); STICKLINE(T2,H,H,2,0),COLORYELLOW; STICKLINE(EVERY(C<REF(H,N2),N2) AND N2<10,REF(H,N2),REF(H,N2),2,0)COLORYELLOW; DRAWICON(T2,L,38); DRAWICON(XG,C,1); 突破時(shí)候的信號(hào)做個(gè)選股指標(biāo),選股指標(biāo)源碼如下: ZT:=C>=ZTPRICE(REF(C,1),0.1) AND C=H; T1:=V=HHV(V,10) AND C<O AND O/C>1.04 AND COUNT(ZT,20)<2 AND HHV(H,3)=HHV(H,20); N1:=BARSLAST(T1); T2:=CROSS(REF(V,N1)/3,V) AND REF(EVERY(V>REF(V,N1)/3 AND C<REF(H,N1),N1),1) AND N1<10; N2:=BARSLAST(T2); XG:CROSS(C,REF(H,N2)) AND REF(EVERY(C<REF(H,N2),N2),1) AND N2<10; |
|