N1:=6;
mtm:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(Abs(MTM),N1),N1);
买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND crOSS(ZLGJ,MA(ZLGJ,2)),1,0);
卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
VAR5:=COUNT(C/REF(C,1)>1.099,13)>1;
XG:=FILTER(买1=1,5);
VAR6:=VAR5 AND XG;
VAR7:=(REF(BARSLAST(VAR6),0)+1);
STICKLINE(IF(VAR6,120,0),10,0,1,0),COLORRED;
DRAWTEXT(VAR6,9.0,'暴龙')COLORYELLOW;