B1:=MA(C,1); B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1); SMA2:=MA(B2,3); 程序化指標:IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2); 紅:=B2>SMA2; 綠:=B2<SMA2; IF(紅,B2,DRAWNULL),COLORRED,LINETHICK3; IF(綠,B2,DRAWNULL),COLORGREEN,LINETHICK1; MA120:=MA(C,120); MA250:=MA(C,250); STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,H,C,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,C,3,1),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,H,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,O,C,3,0),COLORRED; STICKLINE(C<MA120 AND MA120<ref(ma120,1) and="" c>o,h,c,0,0),colorcyan; STICKLINE(C<MA120 AND MA120<ref(ma120,1) and="" c>o,o,l,0,0),colorcyan; STICKLINE(C<MA120 AND MA120<ref(ma120,1) and="" c>o,o,c,3,1),colorcyan; STICKLINE(C<MA120 AND MA120<ref(ma120,1) and="" c STICKLINE(C<MA120 AND MA120<ref(ma120,1) and="" c STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,H,C,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,C,3,1),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,H,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,O,C,3,0),COLORGREEN; STICKLINE(C<MA250 AND C>O,H,C,0,0),COLORBLUE; STICKLINE(C<MA250 AND C>O,O,L,0,0),COLORBLUE; STICKLINE(C<MA250 AND C>O,O,C,3,1),COLORBLUE; STICKLINE(C<MA250 AND C<=O,H,L,0,0),COLORBLUE; STICKLINE(C<MA250 AND C<=O,O,C,3,0),COLORBLUE; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,H,C,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,C,3,1),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,H,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,O,C,3,0),COLORYELLOW; |
|