RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*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);
J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);
强弱界线:49,LINETHICK1,colorblack;
见顶信号:100,LINETHICK1,COLORCCFF00;
出点准备: IF(CROSS(J2,J1) AND J2>85,70,100),LINETHICK1,COLOR00FF00;
趋势线: WEN,LINETHICK1,colorwhite;
买点准备:IF(趋势线<=10,30,0),LINETHICK1,COLOR9966CC;
G1:W1,LINETHICK1,colorred;
G2:W2,LINETHICK1,coloryellow;
STICKLINE(趋势线>88,100,趋势线,5,1),colorgreen;
STICKLINE(趋势线<=10,0,趋势线,5,1),coloryellow;
STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2 ,0,20,8,0),colorred;
STICKLINE(CROSS(J2,J1) AND J2>85,100,80,8,0),colorgreen;
//DRAWICON(CROSS(趋势线,49),趋势线,1),colorred;
//DRAWICON(FILTER(CROSS(G2,G1) AND G2>81,10),G2*1.05,2);
//DRAWTEXT(CROSS(趋势线,49),47,'强'),ALIGN0,colorred;
//DRAWTEXT(CROSS(49,趋势线),52,'弱'),ALIGN0,colorgreen;