操盘线:=MA(CLOSE,18);
角度:=ATAN((操盘线/REF(操盘线,1)-1)*100)*180/3.1416;
多头线:=EMA(C,1.5),COLOR0000CC;
空头线:=EMA(C,5),COLORMAGENTA;
均衡线:=EMA(空头线,5),COLORGREEN;
VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
黑牛起爆:=FILTER(VARF1 AND VARF2,2)AND C>REF(C,1)*1.05 AND 角度>=0 ;
STICKLINE(黑牛起爆,0.72,0.8,5,0),COLORYELLOW;
STICKLINE(黑牛起爆,0.72,0.8,3,0),COLORFF00FF;
STICKLINE(黑牛起爆,0.72,0.88,1,0),COLORRED;
DRAWTEXT(FILTER(黑牛起爆=1,1), 0.8,'★黑牛起爆'),COLORRED;