IF(生命线 REF(生命线,1),生命线,DRAWNULL),COLORRED,LINETHICK3;
IF(生命线 REF(生命线,1),生命线,DRAWNULL)COLORGREEN,LINETHICK3;
人线:=MA(CLOSE,20),COLORRED;
天线:=人线+2*STD(CLOSE,20);
地线:=人线-2*STD(CLOSE,20);
FX:=天线 REF(天线,1) AND 地线 REF(地线,1) AND C
ZTST:=MACD.DIF 0 AND MACD.DEA
KX:=C O AND C/O =1.03 AND C =MA(C,5) AND L =REF(H,1) AND (C =REF(H,1) OR C =REF(C,1));
JD5:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)NODRAW,COLOR00FF00;
JD10:=(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.14115926)NODRAW,COLOR00FF00;
JD20:=(ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.14115926)NODRAW,COLOR00FF00;
JD:=(JD10 =45 AND JD5 =45);
JX1:=MA(C,5) MA(C,10) AND MA(C,10) MA(C,20);
乖离1:=(埋伏线-主力线)/主力线*100,NODRAW;
乖离2:=(主力线-生命线)/生命线*100,NODRAW;
间距:=乖离1/乖离2,NODRAW;
ZT:=FX AND ZTST AND XS=1 AND KX AND (JD OR (MACD.DEA =0 AND REF(MACD.DEA 0,1))) AND JX1 AND (REF(JX1,1) OR MACD.MACD =REF(MACD.MACD,1)*2) AND REF(O,1) =REF(生命线,1) AND ( (MACD.MACD =REF(MACD.MACD,1)*2 AND REF(MACD.MACD,1) 0) OR 间距 =2.5 OR (MACD.DEA =0 AND REF(MACD.DEA 0,1)));
STICKLINE(ZT,C,O,2,0),COLORYELLOW;
TDFX:=天线 REF(天线,1);
乖离率:=(L-MA(C,5))/MA(C,5)*100,NODRAW;
SF:=(REF(C,1)-REF(O,1))*0.66+REF(O,1);
五日附近:= 乖离率 {回踩5日线2%以内}
XB:=埋伏线 REF(埋伏线,1);
XL:=(REF(ZT,1) AND NOT(REF(ZT,2))=1) AND JX1 AND XB AND MACD.DIF MACD.DEA AND XS=1 AND O =(REF(C,1)-REF(O,1))*0.5+REF(O,1);
DRAWICON(XL AND COUNT(XL,4) =3 ,LOW*0.99,25);
DRAWTEXT(XL AND COUNT(XL,4) =3,L*0.98,'激买'),COLORFF00FF;
STICKLINE(XL AND COUNT(XL,4) =3 AND REF(C,1)/REF(O,1) =1.07 AND XS=1,(REF(C,1)-REF(O,1))*0.5+REF(O,1),(REF(C,1)-REF(O,1))*0.5+REF(O,1),30,0),COLORFF00FF;
STICKLINE(XL AND COUNT(XL,4) =3 AND REF(C,1)/REF(O,1) =1.05 AND REF(C,1)/REF(O,1) 1.07 AND XS=1,(REF(C,1)-REF(O,1))*0.33+REF(O,1),(REF(C,1)-REF(O,1))*0.33+REF(O,1),30,0),COLORFF00FF;
STICKLINE(XL AND COUNT(XL,4) =3 AND REF(C,1)/REF(O,1) 1.05 AND XS=1,REF(O,1),REF(O,1),30,0),COLORFF00FF;
HC:=L =生命线*1.007 AND O 生命线 AND 生命线 REF(生命线,1);
WJ:=COUNT(ZT,13) =1 AND HC AND COUNT(HC,13)=1 AND DYNAINFO(8) 0 AND IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);
DRAWTEXT(WJ AND XS=1,L*0.992,'稳买'),COLORFFFFFF;
STICKLINE(WJ AND XS=1,生命线*0.97,生命线*0.97,30,0),COLORFFFFFF;
DRAWTEXT(WJ AND XS=1,生命线*0.96,'稳买安全垫'),COLORFFFFFF;
换手:(V/CAPITAL)*100*XS,NODRAW;
量比:V/REF(MA(V,5),1)*XS,NODRAW,COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,GNBLOCK);
DRAWTEXT_FIX(1,0.0,0.10,0,'超强激进买入+超强稳健买入!决战牛熊!')COLOR00FFFF,LINETHICK7;
DRAWTEXT(CROSS(DATE,XSR) OR DATE=XSR,REF(主力线,1),'本指标已过期 订阅'),COLOR00FFFF;