RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
趋势1:3*K-2*D,colorFF;
趋势2:EMA(K,3),LINETHICK1;
BBIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
反弹:=IF(CROSS(K,D) AND BBIAS<-6 AND D<16 AND CLOSE>REF(CLOSE,1),80,0);
DRAWICON(反弹=80,趋势2-0.005,1);
阶段底:(EMA(IF(LOW<=LLV(LOW,40),(SMA(ABS(LOW-REF(LOW,1)),40,1))/(SMA(MAX(LOW-REF(LOW,1),0),40,1)),0),3))*(10),STICK,LINETHICK2,colorFF;
DRAWLINE(D>=HHV(D,13),D,D<=LLV(D,13),D,1),colorFF00;
V1:=AMOUNT/VOL/100;
V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
V3:=SUM(AMOUNT,7)/V1/100;
V4:=DMA(V2,VOL/V3);
V5:=(CLOSE-V4)/V4*100;
V6:=MA(V5,20)+STD(V5,20);
BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("KDJ.J"(34,3,3),1)>80 AND REF("KDJ.J"(9,3,3),1)>80,90,85,5,0),colorFF00;
水面:20;