RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);
见顶信号:100,COLORCCFF00;
出点准备: IF(CROSS(J2,J1) AND J2>85,70,100),LINETHICK2,COLOR00FF00;
买点准备:IF(趋势线<=10,30,0),LINETHICK2,coloryellow;
G2:W2,LINETHICK2,colorcyan;
STICKLINE(趋势线<=10,0,趋势线,3,1),coloryellow;
STICKLINE(CROSS(J2,J1) AND J2>85,100,80,3,0),colorgreen;
DRAWICON(FILTER(CROSS(G2,G1) AND G2>81,10),G2*1.05,2);
DRAWTEXT(CROSS(49,趋势线),52,'转弱'),colorgreen;