通达信双涨回马套装指标 涨停回马枪 源码分享 附图

{双涨回马主图源码如下}
买线:=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);

界:=MA(CLOSE,27);

ZT:=C/REF(C,1)>1.0993 AND C=H;

STICKLINE(ZT,O,C,2,0),COLORRED;

DT:=C/REF(C,1)<0.913 AND C=L;

STICKLINE(DT,O,C,2,0),COLORGREEN;

MA3:MA(C,3),COLORRED,LINETHICK1;

MA7:MA(C,7),COLORYELLOW,LINETHICK1;

MA10:MA(C,10),COLORGREEN,LINETHICK1;

YCX:=MA3>=REF(MA3,1);

H1:=MAX(MAX(MA3,MA7),MA10);

L1:=MIN(MIN(MA3,MA7),MA10);

一阳穿三线:= H1<C AND O<L1 AND YCX AND MA3>REF(MA3,1);



ZTT:=C>REF(C,1)*1.091 AND C=H;



XG:=REF(ZTT,5) AND REF(ZTT,4) AND C>O AND C>REF(C,1) AND C>REF(O,5) AND REF(ZTT,6)=0;

DRAWICON(XG,LOW-0.2,1);

DRAWICON(XG,LOW-0.5,9);



{双涨回马副图源码如下}

买线:=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);

界:=MA(CLOSE,27);

B买:=IF(CROSS(指导,界) OR CROSS(买线,卖线),C,DRAWNULL);

持仓:=IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;

S卖:=IF(CROSS(界,指导) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;

空仓:=IF(买线<卖线,C,DRAWNULL),COLORGREEN,NODRAW;

ZT:=C/REF(C,1)>1.0993 AND C=H;

DT:=C/REF(C,1)<0.913 AND C=L;

MA3:=MA(C,3),COLORRED,LINETHICK1;

MA7:=MA(C,7),COLORYELLOW,LINETHICK1;

MA10:=MA(C,10),COLORGREEN,LINETHICK1;

YCX:=MA3>=REF(MA3,1);

H1:=MAX(MAX(MA3,MA7),MA10);

L1:=MIN(MIN(MA3,MA7),MA10);

一阳穿三线:= H1<C AND O<L1 AND YCX AND MA3>REF(MA3,1);

ZTT:=C>REF(C,1)*1.091 AND C=H;

XG:=REF(ZTT,5) AND REF(ZTT,4) AND C>O AND C>REF(C,1) AND C>REF(O,5) AND REF(ZTT,6)=0;

STICKLINE(XG,50,38,2.5,0),COLORYELLOW ;



STICKLINE(XG,38,12,2.5,0),COLORRED;



STICKLINE(XG,12,0,2.5,0),COLORYELLOW;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图