上18H:WMA((HHV(HIGH,18),9/2,1),3);下18L:WMA(SMA(LLV(LOW,18),9/2,1),3); :(上18H+下18L)/2;DRAWBAND(上18H,RGB(0,0,155),通道,RGB(0,0,155));DRAWBAND(通道,RGB(0,40,0),下18L,RGB(0,40,0));WMA(SMA(HHV(HIGH,18),9/2,1),3),COLOR0080FF,DOTLINE;WMA(SMA(LLV(LOW,18),9/2,1),3),COLOR0080FF,DOTLINE;(上18H+下18L)/2,COLORFFFFFF;MA5:WMA(C,5);IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK3;{-金}现价:IF (DYNAINFO(4)=0,C,DYNAINFO(7)),COLOR0077FF,LINETHICK0;TYB:WMA(((C+(H+L)/2)/2*0.618+(C+O)/2*0.382),2),LINETHICK0;CCIA:=(TYB-MA(TY