发一个【简单买卖主图】-不加密-无未来--通达信
发一个【简单买卖主图】-不加密-无未来--通达信
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA(C,7),COLORWHITE;
MA(C,21),COLORYELLOW;
多头:STICKLINE(DIFF>DEA,C,O,2,0),COLORRED;
STICKLINE(DIFF>DEA,H,L,0,0),COLORRED;
空头:STICKLINE(DIFF<=DEA,C,O,1,0),COLORF0F000;
STICKLINE(DIFF<=DEA,H,L,0,0),COLORF0F000;
DRAWTEXT(CROSS(DIFF,DEA),L-0.2,'+买入'),COLORWHITE;
DRAWTEXT(CROSS(DEA,DIFF),H+0.2,'+卖出'),COLORGREEN;
涨停:=(C-REF(C,1))/REF(C,1)*100>9.88;
STICKLINE(涨停,C,O,3,0),COLORYELLOW;
STICKLINE(涨停,C,O,2,0),COLORYELLOW;
STICKLINE(涨停,C,O,1,0),COLORYELLOW;
{当买入信号出现时,注意股价与macd不可以出现顶背离,
同样卖出信号出现时,中长线操作如果股价在21线上运行,
且21线多头向上,macd并没有出现顶背离,可减仓,等再次金叉时再买回来}
- 上一篇:财务突破选股公式-通信达专用(源码 预警/选股 通达信 贴图 2016/11/22
- 下一篇:通达信江恩指标 2016/11/21