公式源码:
T:=DATE>901224 AND DATE<1190930;
MID2 := MA(CLOSE,21)*T,COLORWHITE;
UPPER2:=MID2 + 1.382*STD(CLOSE,21)*T,COLORYELLOW;
LOWER2:=MID2 - 1.382*STD(CLOSE,21)*T,COLORYELLOW;
UP2:=MID2 + 2.56*STD(CLOSE,21)*T,COLORFF00FF;
LOOW2:=MID2 - 2.56*STD(CLOSE,21)*T,COLORFF00FF;
MID:MID2,COLORWHITE;
UPPER:UPPER2,COLORRED;
UP:UP2,COLORRED;
LOWER:LOWER2,COLORFF0000;
LOOW:LOOW2,COLORFF0000;