N:=70;N1:=144;N2:=370;M:=10;
CX:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*H;
MX:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*H;
KX:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*H;
TX:=LOW;
RSV:=(CLOSE-LLV(LOW,125))/(HHV(HIGH,125)-LLV(LOW,125))*100;
Y:=WINNER((O+C)/2)*100-50;
FX:(EMA(RSV,3)-50+Y)+M,LINETHICK0;
风险:=FX;
短买:IF(KX 1 AND FX -85,-33,0),COLORSTICK;
短卖:IF(KX =TX AND FX 75,33,0);
中买:IF(MX 0.1 AND KX 1 AND FX -85,-66,0);
中卖:IF(MX =TX AND KX =TX AND FX 75,66,0);
必买:IF(CX 0.05 AND MX 0.05 AND KX 0.06 AND FX -85,-99,0);
必卖:IF(FX 95 AND MX =TX AND KX =TX AND MX=CX,99,0),COLORRED;
OK:IF(CX 0.05 AND MX 0.05 AND KX 0.06 AND FX -85,6,0);