请高手把通达信“买入必涨”主图指标公式改成选股公式,谢谢!
B1:=EMA((2*CLOSE+HIGH+LOW)/4,5);趋势:MA(C,90),COLORRED;MA14:MA(CLOSE,14);码:COST(50),COL...
B1:=EMA((2*CLOSE+HIGH+LOW)/4,5);
趋势: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; 展开
趋势: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; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询