beyond202104 发表于 2023-8-28 16:39:47

捉妖金钻主图 金钻指标(通达信公式 主图 源码 测试图)


{公式名称: 捉妖金钻主图公式描述: 金钻指标无参数公式类型: 技术指标公式-其他类型画线方法: 主图叠加公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无参数精灵:无用法注释:无公式源码:}XA_1:=MA(CLOSE,5);XA_2:=MA(CLOSE,36);XA_3:=XA_2*0.99;XA_4:=XA_2*0.97;XA_5:=XA_3/XA_1;XA_6:=XA_5>=1 AND XA_5<1.02;XA_7:=CROSS(CLOSE,XA_1) AND CROSS(CLOSE,XA_3);XA_8:=(HIGH+LOW)/2;XA_9:=XA_3;XA_10:=XA_6 AND XA_7 AND XA_3>XA_1 AND OPEN<XA_1;XA_11:=FILTER(XA_10,40)*1;DRAWTEXT(XA_11,LOW*0.99,'顶'),COLORYELLOW;DRAWICON(XA_11,LOW*0.975,29);DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.55,0,0,DYBLOCK),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,GNBLOCK),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.5,0.03,0,FGBLOCK),COLORMAGENTA;A3:MA(CLOSE,3),DOTLINE;A13:MA(CLOSE,13),DOTLINE;A21:MA(CLOSE,21),DOTLINE;XA_12:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;XA_13:=BARSLASTCOUNT(CLOSE>REF(CLOSE,1));XA_14:=CLOSE>REF(CLOSE,1);XA_15:=XA_14*XA_12;XA_16:=SUM(XA_15,XA_13) AND REFXV(CLOSE<REF(CLOSE,1),1);XA_17:=SUM(XA_15,XA_13);DRAWTEXT(XA_16=1 AND XA_13>=3 AND XA_17<=10,HIGH*1.01,VARCAT(VAR2STR(XA_17,1),'顶2')),COLORMAGENTA;DRAWTEXT(XA_16=1 AND XA_13>=3 AND XA_17>10,HIGH*1.01,VARCAT(VAR2STR(XA_17,1),'3')),COLORYELLOW;XA_18:=BARSLASTCOUNT(CLOSE<REF(CLOSE,1));XA_19:=CLOSE<REF(CLOSE,1);XA_20:=XA_19*XA_12;XA_21:=SUM(XA_20,XA_18) AND REFXV(CLOSE>REF(CLOSE,1),1);XA_22:=SUM(XA_20,XA_18);DRAWTEXT(XA_21=1 AND XA_18>=3 AND XA_22<(-10),LOW*0.99,VARCAT(VAR2STR(XA_22*(-1),1),'买')),COLORGREEN;DRAWTEXT_FIX(1,0.915,0.93,0,'3-'),COLORYELLOW;DRAWNUMBER_FIX(1,0.96,0.93,0,CONST(XA_13)),COLORRED;DRAWTEXT_FIX(1,0.98,0.93,0,4),COLORYELLOW;DRAWTEXT_FIX(1,0.915,1,0,5),COLORGREEN;DRAWNUMBER_FIX(1,0.96,1,0,CONST(XA_18)),COLORGREEN;DRAWTEXT_FIX(1,0.98,1,0,4),COLORGREEN;XA_23:=REF(CLOSE,1);XA_24:=CLOSE/REF(CLOSE,1)>1.099 AND HIGH>LOW;XA_25:=IF(CLOSE>=1,10000,100000);XA_26:=1.1*XA_23-49/XA_25;XA_27:=1.05*XA_23-49/XA_25;XA_28:=0.9*XA_23+51/XA_25;XA_29:=0.95*XA_23+51/XA_25;XA_30:=NAMELIKE(6) OR NAMELIKE(7);XA_31:=IF(XA_30,CLOSE>=XA_27,CLOSE>=XA_26);XA_32:=IF(XA_30,CLOSE<=XA_29,CLOSE<=XA_28);XA_33:=IF(XA_30,HIGH>=XA_27,HIGH>=XA_26);XA_34:=IF(XA_30,LOW<=XA_29,LOW<=XA_28);STICKLINE(XA_33,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;STICKLINE(XA_34,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;STICKLINE(XA_31,OPEN,CLOSE,1,0),COLORMAGENTA;STICKLINE(XA_32,OPEN,CLOSE,1,0),COLORLICYAN;




失芯狂芯c 发表于 2023-9-25 11:57:43

找了很久的东西!

静若繁花564 发表于 2023-10-19 15:21:29

感谢分享好资源

怕代时 发表于 2023-12-1 19:41:22

楼主好人一个!

吴承骅偾 发表于 2023-12-23 12:51:52

谢谢楼主,共同发展

哥特萧邦妒 发表于 2024-1-6 20:37:24

不错的内容!

李情新趾 发表于 2024-3-30 00:16:04

如果想获取全部资源,怎么操作?
页: [1]
查看完整版本: 捉妖金钻主图 金钻指标(通达信公式 主图 源码 测试图)