N:=5;
M:=3;
PSY:COUNT(CLOSE REF(CLOSE,1),N)/N*100,LINETHICK1;
PSYMA:=MA(PSY,M),LINETHICK2;
LC:=REF(CLOSE,1);
RSI1:(SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100),LINETHICK2,COLOR0099FF;
RSI2:(SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100),LINETHICK2,COLORGREEN;
A1:=RSI2=REF(RSI2,1) AND RSI1 RSI2 AND RSI1
A2:=RSI2=REF(RSI2,1) AND RSI1=REF(RSI1,1) AND RSI1 10 AND RSI1
出击:IF(A1 OR A2, 50,25),COLORRED;
VARR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VARR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VARR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VARR5:=(VARR2+2*VARR3+3*VARR4)/6;
VARR6:=MA(VARR5,3);
导弹:IF(VARR6 =-10,80,25),COLORYELLOW;
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
顶部雷达:IF(CROSS(80,RSI),75,85)LINETHICK1,COLORYELLOW;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);{九毛八公式指标网www.9m8.cn}
底部雷达:IF((VARB 20 AND VARC 25 AND VARD 50),55,25),LINETHICK2, COLORFF9933;
主力:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),LINETHICK2 ,COLORRED;
散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7),LINETHICK2 ,COLORWHITE;
上涨:IF(CROSS(主力,散户) AND 主力 -10,25,15),LINETHICK2,COLORMAGENTA;
DRAWICON(CROSS(主力,散户) AND 主力 -10 AND 散户 REF(散户,1)OR CROSS(主力,散户) AND 散户 -35 ,15,1);
DRAWTEXT(CROSS(18,RSI)AND 散户 -20 AND 底部雷达,25,'底 '),LINETHICK1,COLORYELLOW;