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)
XG:=FILTER(买1=1,5);
VAR6:=VAR5 AND XG;{九毛八公式指标网www.9m8.cn}
VAR7:=(REF(BARSLAST(VAR6),0)+1);
STICKLINE(IF(VAR6,120,0),10,0,1,0),COLORRED;
DRAWTEXT(VAR6,9.0,'暴龙')COLORYELLOW;