AA:=(O+H+L+C)/4;
A1:=HHV(AA,5);
A2:=LLV(AA,5);
A3:=A1-A2;
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
Y0:SMA(RSV,3,1),colorwhite,LINETHICK1;
Y1:SMA(Y0,3,1),coloryellow,LINETHICK1;
买: DRAWICON(CROSS(Y1,Y0)>0.7,Y1,2);
卖: DRAWICON(CROSS(Y0,Y1),Y1,1);
强弱分界:50,DOTLINE,COLORAAAAAA;
警戒区:80,LINETHICK1,coloryellow,LINETHICK1;
安全区:20,COLOR00BB00;
b2:=LLV(AA,15);
b1:=HHV(AA,15);
b3:=b1-b2;
b4:=EMA((AA-b2)/b3,2)*100;
J:b4,DOTLINE,colorgreen;