操作要点:WR发出买入卖出箭头时,最好D<20,D>80,并在信号前后1、2天金叉死叉,以确认信号的准确性。
WR1:=100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
顶部:DRAWICON(REF(COUNT(WR1<10,3)>2,1) AND CROSS(WR1,10),K,2);
底部:DRAWICON(REF(COUNT(WR1>90,3)>2,1) AND CROSS(90,WR1),K,1);
80,POINTDOT,COLORWHITE;
50,POINTDOT,COLORWHITE;
20,POINTDOT,COLORWHITE;