龙头启动:妖启 AND COUNT(妖启,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),NODRAW,COLORBLUE;
STICKLINE(龙头启动,0,0.75,2,0),COLORBLUE;
DRAWTEXT(龙头启动,0.35,'龙头启动'),COLORWHITE;
DRAWTEXT(龙头启动,0.35,' 火箭'),COLORRED;
妖升:=FILTER(ACB23,13),COLORGREEN;
龙头主升:妖升 AND COUNT(妖升,18)=1 AND (IF(CODELIKE('60'),1,0) OR IF(CODELIKE('00'),1,0)),NODRAW,COLORWHITE;
STICKLINE(龙头主升,1,1.75,2,0),COLORWHITE;
DRAWTEXT(龙头主升,1.35,'龙头主升'),COLORRED;
DRAWTEXT(龙头主升,1.35,' '),COLORYELLOW;
主力攻击:=EMA(CLOSE,5),COLORRED;
主力攻击线:=(MA(CLOSE,4)+MA(CLOSE,6)+MA(CLOSE,5)+MA(CLOSE,10))/4,COLORWHITE;
主力控盘线:=EMA(CLOSE, 21),COLORYELLOW,LINETHICK2;
攻击控盘买:=CROSS(主力攻击,主力攻击线)AND REF(主力攻击,1)<REF(主力控盘线,1);
创业板块XG:={主力攻击线>主力控盘线 AND} C>REF(C,1)*1.045 AND C<REF(C,1)*1.07 AND L<主力攻击线 AND IF(CODELIKE('300'),1,0) AND C>主力攻击线,COLORMAGENTA;
TTA:=(2*CLOSE+OPEN+HIGH+LOW)*100;
FFA:=TTA/EMA(TTA,4)-1;
趋势动能:=ROUND2(FFA*100,1);