股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信强牛启动选股指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 7 天前

X_1:=EMA((EMA(CLOSE*vol,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)+EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,18); X_2:=1.06*X_1; X_3:=MA(CLOSE,5); X_4:=MA(CLOSE,10); X_5:=REF(COUNT(X_3>X_4,7)>=1 AND (X_3>REF(X_3,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) ANDcrOSS(CLOSE,X_3) AND CLOSE>X_2 AND X_3>REF(X_3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015; X_6:=MA(CLOSE,20); X_7:=CLOSE>MA(CLOSE,5); X_8:=MA(CLOSE,5)>MA(CLOSE,10); X_9:=CLOSE>MA(CLOSE,10); X_10:=MA(CLOSE,5)>MA(CLOSE,20); X_11:=CLOSE>MA(CLOSE,20); X_12:=REF(X_6,1); X_13:=X_6>X_12; X_14:=IF(X_7,10,0-10)+IF(X_8,10,0-10)+IF(X_9,10,0-10)+IF(X_10,10,0-10)+IF(X_11,10,0-10)+IF(X_13,10,0-10); X_15:=X_14=60; X_16:=BARSLAST(NOT(X_15)); X_17:=COUNT(REF(CLOSE/REF(CLOSE,1)>1.097,1),20); X_18:=X_5 AND X_15=1 AND X_16=1 AND X_17; X_19:=CLOSE/REF(CLOSE,1)>1.097; X_20:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05; X_21:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1); X_22:=X_20 AND X_21; X_23:=REF(CLOSE,2)/REF(CLOSE,3)<1.099; X_24:=X_22 AND X_23; X_25:=COUNT(REF(X_19,3),8) AND X_24; X_26:=MA(CLOSE,20); X_27:=CLOSE>MA(CLOSE,5); X_28:=MA(CLOSE,5)>MA(CLOSE,10); X_29:=CLOSE>MA(CLOSE,10); X_30:=MA(CLOSE,5)>MA(CLOSE,20); X_31:=CLOSE>MA(CLOSE,20); X_32:=REF(X_26,1); X_33:=X_26>X_32; X_34:=IF(X_27,10,0-10)+IF(X_28,10,0-10)+IF(X_29,10,0-10)+IF(X_30,10,0-10)+IF(X_31,10,0-10)+IF(X_33,10,0-10); X_35:=X_34=60; X_36:=BARSLAST(NOT(X_35)); X_37:=X_25 AND X_35=1 AND X_36=1; X_38:=REF(CLOSE/REF(CLOSE,1)>1.097,7); X_39:=HIGH/REF(CLOSE,1)>1.031 AND BETWEEN(OPEN/REF(OPEN,7),1.05,0.85); X_40:=REF(OPEN,1)>REF(MA(CLOSE,5),1) AND REF(CLOSE,1)<REF(MA(CLOSE,10),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1); X_41:=X_38 AND X_39 AND X_40; X_42:=X_41 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(OPEN,1)>REF(CLOSE,1); X_43:=X_37 OR X_42; X_44:=MA(CLOSE,30); X_45:=(CLOSE/REF(CLOSE,1)-1)*100; X_46:=IF((CLOSE/REF(CLOSE,1)-1)*100>=10-0.01*100/REF(CLOSE,1),1,0); X_47:=REF(X_46,1); X_48:=COUNT(X_47,5)>=1; X_49:=OPEN<=REF(CLOSE,1) AND X_45<(-2); X_50:=COUNT(X_49,2)>=1; X_51:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)/REF(CLOSE,3)>1.095 AND OPEN>REF(CLOSE,1) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)/REF(OPEN,1)>1.03 AND REF(HIGH,1)/REF(CLOSE,2)>1.03); X_52:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.909 AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(OPEN,2)>REF(CLOSE,3) AND REF(HIGH,1)/REF(OPEN,1)>1.03); X_53:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(CLOSE,2)/REF(HIGH,1)>1.03 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)>1.05); X_54:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)>REF(CLOSE,2) AND OPEN>REF(OPEN,1)); X_55:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(HIGH,2)>REF(CLOSE,3) AND REF(LOW,2)<REF(OPEN,3) AND REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.05 AND OPEN/REF(LOW,2)<0.98); X_56:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.901 AND REF(CLOSE,1)=REF(LOW,1) AND REF(OPEN,2)/REF(CLOSE,3)>1.03 AND REF(OPEN,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND REF(OPEN,2)/REF(LOW,2)>1.05); X_57:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(CLOSE,3)/REF(CLOSE,4)<0.901 AND REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,3)>REF(CLOSE,4) AND REF(CLOSE,3)<REF(OPEN,4) AND REF(OPEN,3)/REF(CLOSE,3)>1.05); X_58:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(HIGH,3)>REF(CLOSE,4) AND REF(LOW,3)<REF(LOW,4)); X_59:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(OPEN,4)>REF(CLOSE,5) AND REF(CLOSE,3)/REF(CLOSE,4)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,2)/REF(CLOSE,3)<0.98 AND REF(CLOSE,2)>REF(CLOSE,1)); X_60:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(OPEN,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,1)<REF(CLOSE,2)); X_61:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,4)<REF(MA(CLOSE,10),4) AND REF(HIGH,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,1)/REF(CLOSE,2)<0.95 AND CROSS(REF(MA(CLOSE,5),1),REF(MA(CLOSE,10),1)) AND OPEN/REF(OPEN,4)>1.03); X_62:=NOT(REF(CLOSE,4)/REF(CLOSE,5)<1.099 AND REF(CLOSE,5)/REF(CLOSE,6)>1.099 AND REF(LOW,1)>REF(CLOSE,5) AND OPEN>REF(CLOSE,5) AND REF(CLOSE,1)/REF(CLOSE,2)>0.96); X_63:=NOT(COUNT(EVERY(REF(CLOSE,1)/REF(CLOSE,2)>1.09,5),8) AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(HIGH,1)/REF(OPEN,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<0.91); X_64:=X_48 AND X_45>2.5 AND REF(X_50,1) AND REF(X_45<2.4,1) AND X_44>0 AND X_51 AND X_52 AND X_53 AND X_54 AND X_55 AND X_56 AND X_57 AND X_58 AND X_59 AND X_60 AND X_61 AND X_62 AND X_63; X_65:=REF(CLOSE,10)/REF(CLOSE,11)>1.099 AND OPEN/REF(OPEN,10)<1.03 AND REF(CLOSE,3)/REF(CLOSE,4)<0.95 AND REF(CLOSE,2)/REF(CLOSE,3)<1.02 AND REF(CLOSE,1)/REF(CLOSE,2)<1.01 AND HIGH/REF(CLOSE,1)>1.041; X_66:=X_18 OR X_43 OR X_64 OR X_65; X_67:=IF(NAMELIKE(233),0,1) AND IF(NAMELIKE(234),0,1); X_68:=DYNAINFO(4)>0; X_69:=X_67 AND X_68; X_70:=NOT(INBLOCK(121)); X_71:=CLOSE>MA(CLOSE,250); X_72:=CLOSE>MA(CLOSE,3); X_73:=CLOSE>MA(CLOSE,10); X_74:=X_71 AND X_72 AND X_73 AND X_66 AND NOT(REF(X_66,1)) AND X_69 AND X_70; 强牛:FILTER(X_74=1,10);








回复

举报

QQ|

GMT+8, 2024-11-27 12:12

快速回复 返回顶部 返回列表