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;