RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:SMA(RSV,2,1);
D:SMA(K,2,1);
J:3*K-2*D;
0;
100;
DRAWICON(crOSS(K60,80,8);
{质变买点以前发过}
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
IF(FILTER(买=1,5),0,DRAWNULL),POINTDOT,LINETHICK8,COLORFF00FF;
{bs买卖以前发过}
三日最低:=EMA((REF(L,3)+REF(L,2)+REF(L,1))/3,3),COLORWHITE,DOTLINE;
{ _最新股票指标公式}
三日最高:=EMA((REF(H,3)+REF(H,2)+REF(H,1))/3,3),COLORB3FFFF,DOTLINE;
三日高:=(REF(H,3)+REF(H,2)+REF(H,1))/3,COLORYELLOW;
S:=CROSS(CROSS(三日最高,C),0.5) ;
SS:=CROSS(CROSS(三日高,C),0.5);
B:=CROSS(CROSS(C,三日最低),0.5) AND REF(COUNT(C<三日最低,3)=3,1);
DRAWICON(B,0,7);
DRAWICON(S,80,12);
DRAWICON(SS,80,8);