通达信买入必涨源码副图

买入必涨源码

趋势:MA(C,90),COLORRED;

MA14:MA(CLOSE,14);

码:COST(50),COLORYELLOW;

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

多头:STICKLINE(DIFF>DEA,C,O,5,0),COLORRED;

STICKLINE(DIFF>DEA,H,L,0,0),COLORRED;

空头:STICKLINE(DIFF<=DEA,C,O,5,0),COLORGRAY;

STICKLINE(DIFF<=DEA,H,L,0,0),COLORGRAY;

DRAWTEXT(CROSS(DIFF,DEA),L-0.2,'买入'),COLORWHITE;                  

DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA1:=EMA(DIFF1,9);

多头1:STICKLINE(DIFF1>DEA1,C,O,5,0),COLORRED;

STICKLINE(DIFF>DEA1,H,L,0,0),COLORRED;

空头1:STICKLINE(DIFF1<=DEA1,C,O,5,0),COLORGRAY;

STICKLINE(DIFF1<=DEA1,H,L,0,0),COLORGRAY;

DRAWTEXT(CROSS(DIFF1,DEA1),L-0.2,'买入'),COLORWHITE;