通达信多头买入卖出副图指标
2016-06-07 09:16:00来源:本站整理浏览:241
通达信多头买入卖出副图指标
源码
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA(C,8),COLORWHITE;
MA(C,21),COLORYELLOW;
多头:STICKLINE(DIFF>DEA,C,O,6,0),COLORRED;
STICKLINE(DIFF>DEA,H,L,0,0),COLORRED;
空头:STICKLINE(DIFF<=DEA,C,O,6,0), ;
STICKLINE(DIFF<=DEA,H,L,0,0), ;
DRAWTEXT(CROSS(DIFF,DEA),L-0.2,'^买入'),COLORWHITE;
DRAWTEXT(CROSS(DEA,DIFF),H+0.2,'^卖出'),COLORGREEN;
- 上一篇公式:通达信变盘点副图指标
- 下一篇公式:通达信优化黄买蓝出副图指标