N:=20;
MID:=MA(C,N);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
布林中轨:REF(MID,1),COLORFFFFFF;
布林上轨:REF(UPPER,1),COLOR00FFFF;
LB:=REF(LOWER,1),COLORFF00FF;
N:=20;
MID:=MA(C,N);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
布林中轨:REF(MID,1),COLORFFFFFF;
布林上轨:REF(UPPER,1),COLOR00FFFF;
LB:=REF(LOWER,1),COLORFF00FF;