M1:=1;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
有庄控盘:=IF(控盘 REF(控盘,1) AND 控盘 0,控盘,0),COLORRED,;
VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*400;
VARB:=100-Abs(VARA);
天线:= IF(VARB 90,VARB,100);
整体二分之一:=(O+C)/2,;
二一位上:= C REF(整体二分之一,1);
VAR11:=MA(100*(CLOSE-LLV(CLOSE,18))/(HHV(HIGH,18)-LLV(LOW,18)),5)-20;
有庄控盘S:=有庄控盘 REF(有庄控盘,1);
红军:= IF(VAR11 0,VAR11,0),COLORRED;
红军大:=红军
红军S:=红军 REF(红军,1);
二一位上大:=二一位上
天线小:=天线
HJ:天线小 AND 二一位上大 AND 红军大 AND 有庄控盘S;
STICKLINE(HJ ,20 ,0 ,3,0 ),COLORBROWN;
M40:=40;
M5:=4;
MA1:=MA(CLOSE,M1),COLORWHITE,LINETHICK2;
MA5:=MA(CLOSE,M5),LINETHICK3,;
MA5向上:=MA5 REF(MA5,1);
M1大于M5:=MA1
MA40:=MA(CLOSE,M40),LINETHICK3,;
股价大于M40:=C MA40;
上收:=L;
箱顶89:=MA(REF(HHV(上收,89),1),2),COLORRED,LINETHICK4;
箱顶30:=MA(REF(HHV(上收,30),1),2),COLORRED,LINETHICK4;
箱顶5:=MA(REF(HHV(上收,4),1),2),COLORRED,LINETHICK1;
股价大于顶5:=C
股价大顶30:=C 箱顶30;
P9:=8;
MA8:=MA(CLOSE,P9),COLORYELLOW,LINETHICK1;
M5大于M8:=MA5
发散:MA8 REF(MA8,1) AND 股价大于顶5 AND M1大于M5 AND M5大于M8 AND MA5向上 AND 股价大于M40,COLORGRAY;
突破发散:MA8 REF(MA8,1) AND 股价大于顶5 AND M1大于M5 AND M5大于M8 AND MA5向上 AND 股价大顶30 AND 股价大于M40,COLORYELLOW;
STICKLINE(发散 ,40 ,20 ,3,0 ),COLORGRAY;
STICKLINE(突破发散 ,60 ,40 ,3,0 ),COLORYELLOW;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
MACD大于0:=MACD
MACD上:= MACD REF(MACD,1);
mtmN:=4;
MTMN1:=4;
MTM:=CLOSE-REF(CLOSE,MTMN);
MTMMA:=MA(MTM,MTMN1);
MTM大:=MTM MTMMA;
N1:=3;
N2:=6;
N3:=12;
N4:=24;
bbi:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
BBI上:= BBI REF(BBI,1);
价大BBI:=C
L3:=8;
bias3 := (CLOSE-MA(CLOSE,L3))/MA(CLOSE,L3)*100;
BIAS大:=BIAS3
N:=4;
M:=4;
散户:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:=EMA(J,6);
庄大:=庄家
雷达主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3)*480,2);
雷达大0:=雷达主力
MM1:=二一位上大 AND MACD大于0 AND MACD上 AND MTM大 AND 价大BBI AND BBI上 AND BIAS大 AND 庄大,COLORMAGENTA;
MM:二一位上大 AND MACD上 AND MTM大 AND 价大BBI AND BBI上 AND BIAS大 AND 庄大 AND 雷达大0,COLORMAGENTA;
X3:MM AND HJ AND 发散;
STICKLINE(MM ,90,60 ,3,0 ),COLORMAGENTA;
STICKLINE(X3 ,90,0 ,3,0 ),COLORRED;