BOLL:=MA(CLOSE,20); UB:=BOLL+2*STD(CLOSE,20); LB:=BOLL-2*STD(CLOSE,20); DRAWBAND(UB,RGB(228,228,228),LB,RGB(228,228,228)); DRAWKLINE(H,O,L,C); MA5:MA(CLOSE,5); MA20:MA(CLOSE,20); BOLL:=MA(CLOSE,20); UB:=BOLL+2*STD(CLOSE,20); LB:=BOLL-2*STD(CLOSE,20); Var1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未來} Var2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2); STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;{高位黃色} STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;{底位紅色} STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;{底位紅色} |
|