操盘线:=20;MID:=ma(C,操盘线);VART1:=POW((C-MID),2);VART2:=MA(VART1,操盘线);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;主力操盘线:REF(MID,1),COLORFFFFFF;涨:IF(主力操盘线REF(主力操盘线,1),主力操盘线,DRAWNULL),COLORRED,LINETHICK2;跌:IF(主力操盘线REF(主力操盘线,1),主力操盘线,DRAWNULL),