通达信波段主图指标
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;
- 上一篇公式:仿指南针超跌起爆,同花顺资金抄底(有图有真相)
- 下一篇公式:通达信绝佳顶底主图指标