CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道2:=AA*(200-102)/100;
通道4:=(1-7/100)*DD;
VAR4:=EXPMA(CLOSE,9);
LDN:=EXPMA(VAR4*0.86,5);
A:= C<通道2 AND C<通道4 AND C>LDN AND L<LDN AND DMI.ADX>40;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
XG:A AND CCI<-100;
DRAWBAND(XG,RGB(255,0,255),0,RGB(0,0,0));
DRAWTEXT(XG,0.8, ' 火神进场'),COLORYELLOW;