通达信波段主图指标

2016-05-05 10:58:00来源:本站整理浏览:191

通达信波段主图指标

源码

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);

指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),,COLORFFFFFF,LINETHICK2;
界:MA(CLOSE,27),COLOR00FFFF,LINETHICK2;

IF(买线>=卖线,界,DRAWNULL),COLORRED,LINETHICK2;

B买:IF(CROSS(指导线,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;
持仓:IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;
S卖:IF(CROSS(界,指导线) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;
空仓:IF(买线<卖线,C,DRAWNULL),COLORGREEN,NODRAW;

DRAWTEXT(CROSS(买线,卖线),界,'○'),LINETHICK2, COLORYELLOW;
DRAWTEXT(CROSS(卖线,买线),界,'▼'),LINETHICK2, COLORGREEN;
 


 


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式