通达信蓝降红升主图指标公式

2020-04-11 14:47:27
分享到:

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

DEA:=EMA(DIFF,9);

MA(C,8),COLORWHITE;

MA(C,21),COLORYELLOW;

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

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

空:STICKLINE(DIFF<=DEA,C,O,3.5,0),COLORBLUE;

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

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

DRAWTEXT(CROSS(DEA,DIFF),H+0.2,'卖'),COLORGREEN;

郑重声明:东方财经网旨在传播互联网信息,该文观点仅代表作者本人,与本站无关。不构成任何投资建议,据此操作,风险自担。