RCC:=DYNAINFO(3);
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=10*(S2-S6);
KK:=IF(PERIOD=5,0.95,1);
STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;
STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;
XG:HHV(H,480),DOTLINE,COLORRED;
STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORGREEN;
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'上突'),COLORYELLOW;
T:=BARSCOUNT(C);
TP:=FILTER( C>=HHV(H,T) AND V>MA(V,BARSCOUNT(CLOSE))*2 AND DYNAINFO(17)>1 AND TIMETOSEC(TIME)>39600 ,240) ;
DRAWTEXT(TP,L,'★突破'),COLORRED;
STICKLINE(TP,REFDATE(HHV(H,BARSCOUNT(CLOSE)),DATE),REFDATE(LLV(L,BARSCOUNT(CLOSE)),DATE),0,-1),COLORGREEN,LINETHICK2;
HHV(H,T),DOTLINE,COLOR00FFFF; |