T1:=H>=HHV(H,0) AND V>=HHV(V,0); T2:=BARSLAST(T1); T3:=REF(H,T2); T4:=REF(T3,1); XG:=CROSS(C,T4); STICKLINE(XG,O,C,6,0),COLORYELLOW; M:=43;N:=25;Z:=120; A:=V>=HHV(V,M); A1:BARSLAST(A=1),NODRAW; MA25:MA(CLOSE,N),COLORWHITE; {A3:=MA25=HHV(MA25,Z);} 立樁量:=FILTER(T1,0); STICKLINE(H,REF(H,BARSLAST(立樁量)),REF(H,BARSLAST(立樁量)),1,0),COLORMAGENTA; 天價高點:HHV(REF(H,0),T1),COLORGREEN; 均線低點:LLV(REF(MA25,0),Z)COLORLIRED; 收盤:C,NODRAW; HD:=CROSS(C,天價高點); STICKLINE(HD,C,O,3,0),COLORRED; LD:=CROSS(C,均線低點); STICKLINE(LD,C,O,3,0),COLORMAGENTA; AA:=VOL>REF(V,1)*2; AA1:=VOL<REF(LLV(VOL,13),1); AA2:=VOL<REF(LLV(VOL,55),1); TJ1:=COUNT(V>REF(V,1)*1.9,4)=1; TJ2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ; TJ3:=TJ1 AND TJ2;
|