MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
拉升线:IF(CURRBARSCOUNT=1 AND REF(C,1)REF(C,1) AND MA1>REF(MA1,1),CONST(REF(C,1)*1.01),DRAWNULL);
A1:STICKLINE(CURRBARSCOUNT=1 AND C>=REF(C,1),拉升线,拉升线*0.998,20,0),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1 AND 拉升线=CONST(REF(C,1)*1.01),L*0.99,'上穿此线介入'),COLORYELLOW;
DRAWKLINE(H,拉升线,L,C);
注意:要把主图类型改为收盘线。
要选量比大于1.5的。
要选股,后面加一行:XG:拉升线=CONST(REF(C,1)*1.01) AND CROSS(C,CONST(REF(C,1)*1.01));
前面的都在冒号后面加上等号。