抄底,好用,不错的好东西,分享给大家了,想用就来下载吧
N:=12;
M:=26;
DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);
DEA:=EMA(DIFF,9);
MA(C,8),colorwhite;
MA(C,21),coloryellow;
多头:STICKLINE(DIFF>DEA,C,O,3,-1),colorred;
STICKLINE(DIFF>DEA,H,L,0,0),colorwhite;
空头:STICKLINE(DIFF<=DEA,C,O,3,0),colorwhite;
STICKLINE(DIFF<=DEA,H,L,0,0),colorwhite;
DRAWTEXT(CROSS(DIFF,DEA),L*0.98,'B'),coloryellow;
DRAWTEXT(CROSS(DEA,DIFF),H*1.02,'S'),colorgreen;
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
MA(C,8),colorwhite;
MA(C,21),coloryellow;
多头1:STICKLINE(DIFF1>DEA1,C,O,3,0),colorred;
STICKLINE(DIFF>DEA1,H,L,0,0),colorred;
空头1:STICKLINE(DIFF1<=DEA1,C,O,3,0),coloryellow;
STICKLINE(DIFF1<=DEA1,H,L,0,0),coloryellow;
DRAWTEXT(CROSS(DIFF1,DEA1),L*0.98,'B'),colorwhite;
DRAWTEXT(CROSS(DEA1,DIFF1),H*1.02,'S'),colorgreen;