再发一个可以逃避大顶的(博客操盘)原吗
ema13:ema(c,13),colorwhite;
ema21:ema(c,21),coloryellow;
ema34:ema(c,34),colorff00ff;
ema120:ema(c,120),colorffcccc;
ema250:ma(c,250),colorffcc66;
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
stickline(x2>x3 and c>ema13,low,high,0.1,1),colorred;
stickline(x2>x3 and c>ema13,close,open,5,1),colorred;
stickline(x2<x3 and c<ema13,low,high,0.1,1),colorffff54;
stickline(x2<x3 and c<ema13,close,open,5,0),colorffff54;
drawtext(CROSS(X2,X3),l-0.09,'B'),colorwhite,linethick2,align1;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5));
gr2:=ema13>ema21 and ema21>ema34 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*v/capital;
DRAWTEXT(filter(rsi6>95 and 换手>=7,3) or filter(bias5>9,3) or gr8,h*1.04,'S'),color00ff00,linethick2,align1;
bb13:=atan(ema13-ref(ema13,1))*3.1416*10;
ema8:=ema(c,8);
DRAWTEXT(filter(bb13>1 and ema13>ref(ema13,1),10),ema8,'∠45'),colorwhite,linethick2,align0;
现价:CLOSE,POINTDOT,Color000F89;
Th:=HHVBARS(H,21);
TL:=LLVBARS(L,55);
tL21:=(tL+20=21) ;
tL55:=(tL+54=55);
tL89:=(tL+88=89);
th21:=(th+20=21);
th55:=(th+54=55);
th89:=(th+88=89);
A5:=(ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)
<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))*-0.5 ;
B5:=(ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)
>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3))*-0.5 ;
A10:=(ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,110),3))*-1;
B10:=(ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3))*-1 ;
A20:=(ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)
<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3))*-1.5 ;
B20:=(ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)
>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3))*-1.5 ;
A50:=(ZIG(3,50)>REF(ZIG(3,50),1) AND REF(ZIG(3,50),1)
<=REF(ZIG(3,50),2) AND REF(ZIG(3,50),2)<=REF(ZIG(3,50),3))*-2 ;
B50:=(ZIG(3,50)<REF(ZIG(3,50),1) AND REF(ZIG(3,50),1)
>=REF(ZIG(3,50),2) AND REF(ZIG(3,50),2)>=REF(ZIG(3,50),3))*-2;
A100:=(ZIG(3,100)>REF(ZIG(3,100),1) AND REF(ZIG(3,100),1)
<=REF(ZIG(3,100),2) AND REF(ZIG(3,100),2)<=REF(ZIG(3,100),3))*-2;
B100:=(ZIG(3,100)<REF(ZIG(3,100),1) AND REF(ZIG(3,100),1)
>=REF(ZIG(3,100),2) AND REF(ZIG(3,100),2)>=REF(ZIG(3,100),3))*-2;
STICKLINE(((B5 and B10) or (B5 and B20) or (B5 and B50) or (B20 and B10) or
(B50 and B10) or (B50 and B20)) and (TH or TL),H+0.3,H+0.5,20,0) ,colorffffff;
STICKLINE(((B5 and B10 and B20) or (B5 and B10 and B50) or (B5 and B20 and B50) or
(B10 and B20 and B50)) and (TH or TL),H+0.3,H+0.6,40,1), color00ffff;
STICKLINE((B5 and B10 and B20 and B50) and (TH or TL),H+0.3,H+0.6,60,1), coloree00ee;
STICKLINE(B5 and (TH or TL),H+0.3,H+0.4,20,0), color00dd00;Sample Text