你的位置:新手股票配资入门=什么是配资股票=股票配资首选平台 > 新手股票配资入门 > 20240420 通达信:红利支点选股指标公式
20240420 通达信:红利支点选股指标公式
发布日期:2024-05-19 12:46    点击次数:116

欧欧 欧欧量化抓妖记 2024-04-20 08:08 广西一、通达信选股公式如何设置:1、条件选股公式的添加:公式管理器—条件选股公式—其他类型点击'新建'按钮。然后在弹出的窗口中,填写指标的名称、代码等信息,将指标源码复制粘贴到代码编辑区域中,并根据需要填写指标的相关属性信息。最后点击'保存'按钮即可完成指标的创建和导入。

图片

图片

2、条件选股公式的使用:通达信选股器—条件选股—在条件选股公式栏找到自己需要的公式—加入条件—选股入板块,确定即可。二、选股指标公式及效果如下:CTA1:=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);CTA2:=1.06*CTA1;CTA3:=MA(CLOSE,5);CTA4:=MA(CLOSE,10);CTA5:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;CTA6:=CLOSE>REF(CLOSE,1)*1.098 AND CLOSE=HIGH;CTA7:=REF(COUNT(CTA3>CTA4,7)>=1 AND (CTA3>REF(CTA3,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) AND CROSS(CLOSE,CTA3) AND CLOSE>CTA2 AND CTA3>REF(CTA3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015;CTA8:=MA(CLOSE,20);CTA9:=CLOSE>MA(CLOSE,5);CTA10:=MA(CLOSE,5)>MA(CLOSE,10);CTA11:=CLOSE>MA(CLOSE,10);CTA12:=MA(CLOSE,5)>MA(CLOSE,20);CTA13:=CLOSE>MA(CLOSE,20);CTA14:=REF(CTA8,1);CTA15:=CTA8>CTA14;CTA16:=IF(CTA9,10,0-10)+IF(CTA10,10,0-10)+IF(CTA11,10,0-10)+IF(CTA12,10,0-10)+IF(CTA13,10,0-10)+IF(CTA15,10,0-10);CTA17:=REF(CTA16,1)<=0 AND CTA16>0;CTA18:=CTA16>10 AND CTA16>=REF(CTA16,1) AND CTA16>=REF(CTA16,2);CTA19:=CTA16=60;CTA20:=CTA17 OR CTA18 OR CTA19;CTA21:=BARSLAST(NOT(CTA19));CTA22:=1;CTA23:=CTA7 AND CTA19=1 AND CTA21=1 AND CTA22;CTA24:=1;CTA25:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05;CTA26:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1);CTA27:=CTA25 AND CTA26;CTA28:=REF(CLOSE,2)/REF(CLOSE,3)<1.099;CTA29:=CTA27 AND CTA28;CTA30:=COUNT(REF(CTA24,3),8) AND CTA29;CTA31:=MA(CLOSE,20);CTA32:=CLOSE>MA(CLOSE,5);CTA33:=MA(CLOSE,5)>MA(CLOSE,10);CTA34:=CLOSE>MA(CLOSE,10);CTA35:=MA(CLOSE,5)>MA(CLOSE,20);CTA36:=CLOSE>MA(CLOSE,20);CTA37:=REF(CTA31,1);CTA38:=CTA31>CTA37;CTA39:=IF(CTA32,10,0-10)+IF(CTA33,10,0-10)+IF(CTA34,10,0-10)+IF(CTA35,10,0-10)+IF(CTA36,10,0-10)+IF(CTA38,10,0-10);CTA40:=REF(CTA39,1)<=0 AND CTA39>0;CTA41:=CTA39>10 AND CTA39>=REF(CTA39,1) AND CTA39>=REF(CTA39,2);CTA42:=CTA39=60;CTA43:=CTA40 OR CTA41 OR CTA42;CTA44:=BARSLAST(NOT(CTA42));CTA45:=CTA30 AND CTA42=1 AND CTA44=1;CTA46:=1;CTA47:=HIGH/REF(CLOSE,1)>1.031 AND BETWEEN(OPEN/REF(OPEN,7),1.05,0.85);CTA48:=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);CTA49:=CTA46 AND CTA47 AND CTA48;CTA50:=CTA49 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(OPEN,1)>REF(CLOSE,1);CTA51:=CTA45 OR CTA50;CTA52:=(MIN(CLOSE,OPEN)-LOW)/LOW*100;CTA53:=(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))/MIN(CLOSE,OPEN)*100;CTA54:=(HIGH-MAX(CLOSE,OPEN))/MAX(CLOSE,OPEN)*100;CTA55:=CTA54>CTA53 AND CTA54>3 AND CTA52<1 AND CLOSE>OPEN;CTA56:=120;CTA57:=MA(CLOSE,CTA56);CTA58:=POW(CLOSE-CTA57,2);CTA59:=MA(CTA58,CTA56);CTA60:=SQRT(CTA59);CTA61:=CTA57+2*CTA60;CTA62:=CTA57-2*CTA60;CTA63:=REF(CTA57,1);CTA64:=REF(CTA61,1);CTA65:=REF(CTA62,1);CTA66:=MA(CLOSE,7);CTA67:=MA(CLOSE,20);CTA68:=MA(CLOSE,30);CTA69:=MA(CLOSE,144);CTA70:=MA(CLOSE,8);CTA71:=1;CTA72:=1;CTA73:=HIGH>=HHV(HIGH,20);CTA74:=CTA73=1 AND BARSLAST(REF(CTA73=1,1))>=2;CTA75:=COUNT(CTA73,5)>=1;CTA76:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);CTA77:=SUM(IF(CLOSE=REF(CLOSE,1),0,CTA76),0);CTA78:=MA(CTA77,30);CTA79:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);CTA80:=SUM(IF(CLOSE=REF(CLOSE,1),0,CTA79),0);CTA81:=CTA80;CTA82:=CTA81>REF(HHV(CTA81,30),1);CTA83:=CTA77>CTA78;CTA84:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;CTA85:=SMA(CTA84,3,1);CTA86:=SMA(CTA85,3,1);CTA87:=3*CTA85-2*CTA86;CTA88:=REF(CTA72,1);CTA89:=COUNT(CTA88,5)>=1;CTA90:=BARSLAST(CLOSE>1.099*REF(CLOSE,1));CTA91:=IF(CLOSE>REF(CLOSE,CTA90),10,0);CTA92:=VOL>REF(VOL,1)*1.9;CTA93:=ATAN((MA(CLOSE,6)/REF(MA(CLOSE,6),1)-1)*100)*57.299999;CTA94:=OPEN<=REF(CLOSE,1) AND CTA71<(-2);CTA95:=COUNT(CTA94,2)>=1;CTA96:=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);CTA97:=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);CTA98:=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);CTA99:=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));CTA100:=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);CTA101:=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);CTA102:=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);CTA103:=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));CTA104:=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));CTA105:=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));CTA106:=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);CTA107:=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);CTA108:=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);CTA109:=CTA89 AND CTA71>2.5 AND REF(CTA95,1) AND REF(CTA71<2.4,1) AND CTA68>0 AND CTA96 AND CTA97 AND CTA98 AND CTA99 AND CTA100 AND CTA101 AND CTA102 AND CTA103 AND CTA104 AND CTA105 AND CTA106 AND CTA107 AND CTA108;CTA110:=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;CTA111:=CTA23 OR CTA51 OR CTA109 OR CTA110;CTA112:=IF(NAMELIKE(233),0,1) AND IF(NAMELIKE(234),0,1);CTA113:=DYNAINFO(4)>0;CTA114:=CTA112 AND CTA113;ZF:=(C-L)/C*100 <5;HSL:=V/CAPITAL*100>5;XG:CTA111 AND NOT(REF(CTA111,1)) AND CTA114 AND ZF AND HSL;

图片

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。