主图
MA7:MA(C,7);
MA14:MA(C,14);
MA43:MA(C,43);
买入:=CROSS(C,MA(C,14)) AND MA43>REF(MA43,1);
加仓:=CROSS(C,MA(C,7));
减仓:=CROSS(MA7,C);
清仓:=CROSS(MA14,C);
STICKLINE(买入,C,O,2,0),COLORYELLOW;
DRAWTEXT(ABS(买入)>0,L, '买'),COLORRED;
DRAWTEXT(ABS(加仓)>0,L, '加'),COLORYELLOW;
DRAWTEXT(ABS(减仓)>0,L, '减'),COLORWHITE;
DRAWTEXT(ABS(清仓)>0,L, '清'),COLORGREEN;
=====================================
选股和预警
MA7:=MA(C,7);
MA14:=MA(C,14);
MA43:=MA(C,43);
买入:CROSS(C,MA(C,14)) AND MA43>REF(MA43,1);
626455095.jpg
|