M5:MA(C,5),COLORGRAY;
M10:MA(C,10),COLORGRAY;
M20:MA(C,20),COLORGRAY;
M60:MA(C,60),COLORWHITE;
上揚(yáng)M5:=M5>=REF(M5,1);
下降M5:=M5<REF(M5,1);
M5上:IF(上揚(yáng)M5,M5,DRAWNULL),COLORRED,LINETHICK1;
M5下:IF(下降M5,M5,DRAWNULL),COLORGREEN;
上揚(yáng)M10:=M10>REF(M10,1);
下降M10:=M10<REF(M10,1);
M10上:IF(上揚(yáng)M10,M10,DRAWNULL),COLORRED,LINETHICK1;
M10下:IF(下降M10,M10,DRAWNULL),COLORGREEN;
上揚(yáng)M20:=M20>REF(M20,1);
下降M20:=M20<REF(M20,1);
M20上:IF(上揚(yáng)M20,M20,DRAWNULL),COLORRED,LINETHICK1;
M20下:IF(下降M20,M20,DRAWNULL),COLORGREEN;
上揚(yáng)M60:=M60>=REF(M60,1);
下降M60:=M60<REF(M60,1);
M60上:IF(上揚(yáng)M60,M60,DRAWNULL),COLORFF8000,LINETHICK1;
M60下:IF(下降M60,M60,DRAWNULL),COLOR800000;
DRAWTEXT(CURRBARSCOUNT=5,HIGH,'5')DRAWABOVE;
DRAWTEXT(CURRBARSCOUNT=10,HIGH,'10')DRAWABOVE;
DRAWTEXT(CURRBARSCOUNT=20,HIGH,'20')DRAWABOVE;
買線:=C>M10 AND C>M20 AND 上揚(yáng)M20 AND 上揚(yáng)M10 AND 上揚(yáng)M5 AND C>M5;
賣線:=C<M5 AND C<M20 OR M5<=M20 OR 下降M5;
STICKLINE(賣線 AND O>C,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(賣線 AND O<C,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(買線 AND O>C,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(買線 AND O<C,OPEN,CLOSE,3,0),COLORRED;
變盤1:=CROSS(M5,M10) AND CROSS(M5,M20) AND C>M20;
STICKLINE(變盤1 AND C>O,OPEN,CLOSE,3.2,0),COLORYELLOW;
變盤2:=CROSS(C,M10) AND CROSS(C,M20) AND 下降M20;
STICKLINE(變盤2 AND C>O,OPEN,CLOSE,3,0),COLORCYAN;
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。