N:=60;M:=23;N3:=125;N4:=390;MID:=MA(C,M);VART1:=POW((C-MID),2);VART2:=MA(VART1,M);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3; :=IF(CURRBARSCOUNT<=100,REF(MID,1),DRAWNULL),DOTLINE,COLOR00FFFF;日布:REF(UPPER,1),DOTLINE, COLOR00FF00;3:=MA(CLOSE,N3);BOLL4:=MA(CLOSE,N4);最新价:IF(CURRBARSCOUNT<=50000,CONST(IF(C>0,C,H)),DRAWNULL),DOTLINE, COLORFF00FF ; 周布:IF(CURRBARSCOUNT<=10000 AND ((BOLL3+2*STD(C,N3))-C)*100/C<20, BOLL3+2*STD(C,N3),DRAWNULL),LINETHICK2, COLORBLUE;月布:IF(CURRBARS