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);
DRAWTEXT_FIX(C>O,0.01,0.9,0,’WWW.KXMMGZH.COM’),COLOR556699; {大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}