RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
{9m8.cn 股票软件下载网_最新股票指标公式}
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
DRAWICON(RSI1 RSI2,3,7);
DRAWICON(RSI1 RSI2,3,8);
A3:=RSI1 RSI2;
RSIX:=IF(A3,3,0);
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
DRAWICON(LWR1 LWR2,4,7);
DRAWICON(LWR1 LWR2,4,8);
A4:=LWR1 LWR2;
LWRX:=IF(A4,4,0);
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE BBI,5,7);
DRAWICON(CLOSE BBI,5,8);
A5:=CLOSE
BBIX:=IF(A5,5,0);
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
DRAWICON(MMS MMM,6,7);
DRAWICON(MMS MMM,6,8);
A6:=MMS
MTMX:=IF(A6,6,0);
涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0),COLORYELLOW,LINETHICK2,PRECIS0;