Var3a:=SMA(SMA(Var2a,3,1),3,1);
Var4a:=EMA(Var3a,5);
Var5a:=LLV(LOW,26);
Var6a:=HHV(HIGH,34);
Var7a:=EMA((CLOSE-Var5a)/(Var6a-Var5a)*4,4)*25;
var8a:=(2*c+h+l)/4;
var9a:=llv(low,9);
var10a:=hhv(high,9);
Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(Var2w,3);
Var3w:=EMA(Var2w,7);
M1:= EMA(Var3w,5);
mb1:=CROSS(MW,M1) AND M1<20;
mg1:=if(CROSS(M1,MW) AND REF(MW,1)>80,80 ,0) ;
波段:=ema((var8a-var9a)/(var10a-var9a)*100,9),colorRED;
b1:=ema(0.667*ref(波段,1)+0.333*波段,2),color00ff00;
stickline(波段>b1,波段,b1,10,1),colorred;
stickline(波段<=b1,波段,b1,10,1),color00ff00;
波段雄鹰顶:if((BARSLAST(mg1>0)<2),80,100),color00ff00;
波段雄鹰底:IF((mb1),20,0),linethick2,coloryellow;
drawtext(波段雄鹰底,25,'★'),colorf00ff0;
drawtext(波段雄鹰底,15,'波段雄鹰底'),colorf0f000;
drawicon((BARSLAST(mg1>0)<2),80,2);
drawtext((BARSLAST(mg1>0)<2),90,'波段雄鹰顶');
============================
{百万预警}
Var1p:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
Var2p:=SMA(Var1p,7,1);
Var3p:=SMA(Var2p,5,1);
百万预警:IF(CROSS(Var2p,Var3p) AND Var2p<20,85,0),linethick2 , color000999;