通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道4:=(1-7/100)*DD;
MID:=MA(C,12);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,12);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
BOLL:=REF(MID,1),COLORFFFFFF;
LB:=REF(LOWER,1),COLORFF00FF;
BB:=V > MA(V,5) ;
DD1:=V < MA(V,5);
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202;
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202;
年线:=EMA(C,250);
CG:IF(MA(CLOSE,17) < FS,FS,MA(CLOSE,17)),COLORF4E202;
A:=CG-(EMA(C,3)-CG),COLORFFCCCC;
通道3:(1+7/100)*DD,COLORRED;
UB:REF(UPPER,1),COLORGREEN;
IF(BB,UB,DRAWNULL),COLORRED,LINETHICK3;
QQ:EMA((年线-(EMA(C,3)-年线)),5),LINETHICK2;
IF(CG=FS,CG,CG), COLORYELLOW,LINETHICK2;