MTM:=C-REF(C,1);
DX:100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6),colorFF80FF;
DX2:=MA(DX,2);
DX6:MA(DX,6),colorcyan,DOTLINE;
yxf:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,DX2),1,0);
买A:IF(FILTER(yxf=1,5),80,0),STICK,colorred,linethick3;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1);
fy:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
qs:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
点:IF(CROSS(qs,0)AND fy<40,80,0),STICK,coloryellow,linethick3;//超跌反弹;
卖:=HHV(DX,2)=HHV(DX,8) AND HHV(DX,5)>20 AND DX<DX2;
DRAWICON(卖 AND C<O,DX,2);
DRAWTEXT(卖 AND C>O,DX6,'弱'),colorgreen;
z:0,COLORFF3E3E;
高:50,COLOR808080,DOTLINE;
低:-50,COLOR808080,DOTLINE;