通达信【金宝主图】套装指标 捕捉起涨点 源码分享 附图


{金宝主图 源码如下}



XA_1:=CLOSE*VOL;
XA_2:=EMA((EMA(XA_1,3)/EMA(VOL,3)+EMA(XA_1,6)/EMA(VOL,6)+EMA(XA_1,12)/EMA(VOL,12)+EMA(XA_1,24)/EMA(VOL,24))/4,13);
XA_3:=1.08*XA_2;
XA_4:=EMA(XA_3-(EMA(CLOSE,3)-XA_3),5);
A7:IF(XA_4<=XA_3,XA_4,XA_3),COLORYELLOW,LINETHICK2;
XA_5:=2*XA_3-A7;
A9:IF(XA_5>=XA_3,XA_5,XA_3),COLORYELLOW,LINETHICK2;
观望:IF(A7=A9,A7,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_6:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
XA_7:=XA_3>=REF(XA_3,1) AND A7XA_3 AND OPEN>XA_3;
STICKLINE(XA_7,OPEN,(OPEN+CLOSE)/2,3,0),COLORYELLOW;
STICKLINE(XA_7,CLOSE,(OPEN+CLOSE)/2,3,0),COLORRED;
XA_8:=CROSS(CLOSE,XA_3) AND XA_6;
DRAWTEXT(XA_8,LOW,'突破2'),COLORYELLOW;
XA_9:=CROSS(CLOSE,A7);
DRAWTEXT(XA_9,LOW,'突破3'),COLORYELLOW;



{金宝突破3F 源码如下}



XA_1:=CLOSE*VOL;
XA_2:=EMA((EMA(XA_1,3)/EMA(VOL,3)+EMA(XA_1,6)/EMA(VOL,6)+EMA(XA_1,12)/EMA(VOL,12)+EMA(XA_1,24)/EMA(VOL,24))/4,13);
XA_3:=1.08*XA_2;
XA_4:=EMA(XA_3-(EMA(CLOSE,3)-XA_3),5);
A7:=IF(XA_4<=XA_3,XA_4,XA_3),COLORYELLOW,LINETHICK2;
XA_9:=CROSS(CLOSE,A7);
突破3:XA_9;



{金宝突破2F 源码如下}



XA_1:=CLOSE*VOL;
XA_2:=EMA((EMA(XA_1,3)/EMA(VOL,3)+EMA(XA_1,6)/EMA(VOL,6)+EMA(XA_1,12)/EMA(VOL,12)+EMA(XA_1,24)/EMA(VOL,24))/4,13);
XA_3:=1.08*XA_2;
XA_6:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
XA_8:=CROSS(CLOSE,XA_3) AND XA_6;
突破2:XA_8;



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

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

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

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