股票配资按天配资 20240716 通达信:绝对龙头选股指标公式
欧欧 欧欧量化抓妖记 2024年07月16日 08:08 江西
图片
今日,A股小幅震荡整理,个股跌多涨少,两市成交萎缩至6775亿元。
一、通达信选股公式如何设置:1、条件选股公式的添加:公式管理器—条件选股公式—其他类型点击'新建'按钮。然后在弹出的窗口中,填写指标的名称、代码等信息,将指标源码复制粘贴到代码编辑区域中,并根据需要填写指标的相关属性信息。最后点击'保存'按钮即可完成指标的创建和导入。图片
图片
2、条件选股公式的使用:通达信选股器—条件选股—在条件选股公式栏找到自己需要的公式—加入条件—选股入板块,确定即可。二、选股指标公式及效果如下:CTA1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25;CTA2:=REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85;CTA3:=CTA1 AND CTA2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);CTA4:=IF(DATETODAY(DATE)<9890,1,1);CTA5:=IF(DATE<2342.459961*500,1,1);CTA6:=MAX(EMA(CLOSE,40),EMA(CLOSE,60));CTA7:=CLOSE>REF(HHV(HIGH,3),1)*CTA4 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07;CTA8:=CLOSE>CTA6 AND CTA3 AND CTA7;CTA9:=MA(VOL,5)+MA(VOL,5)>VOL;CTA10:=CTA1 AND CTA2*CTA4 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*CTA5;CTA11:=CTA7*CTA4 AND CTA10 AND CTA9;CTA12:=CTA1 AND CTA2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);CTA13:=(CLOSE-REF(CLOSE,1)*CTA4)/REF(CLOSE,1)*100>7;CTA14:=CTA12 AND CTA13;CTA15:=CTA8 AND CTA14;CTA16:=MAX(EMA(CLOSE,5),EMA(CLOSE,10));CTA17:=MAX(CTA16,EMA(CLOSE,14));CTA18:=MAX(MAX(MAX(CTA17,EMA(CLOSE,18)),EMA(CLOSE,40)),EMA(CLOSE,60))*CTA5;CTA19:=MIN(MIN(EMA(CLOSE,5),EMA(CLOSE,10)),EMA(CLOSE,14));CTA20:=MIN(MIN(MIN(CTA19,EMA(CLOSE,18)),EMA(CLOSE,40)),EMA(CLOSE,60))*CTA5;CTA21:=CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*CTA4)/REF(CLOSE,1)>0.09;CTA22:=CLOSE>CTA18 AND LOW<CTA20 AND CTA21;CTA23:=FILTER(CTA22>0,0)=1;CTA24:=MA(REF(HHV(CLOSE,26),1),2);CTA25:=POW(CLOSE-MA(CLOSE,26),2);CTA26:=MA(CTA25,13);CTA27:=SQRT(CTA26);CTA28:=MA(CLOSE,26)+2*CTA27;CTA29:=CROSS(CLOSE,CTA24) AND HIGH>REF(CTA28,1);CTA30:=CTA29 OR (CLOSE>CTA24 AND CROSS(CLOSE,REF(CTA28,1))) AND CLOSE/OPEN>0.998;CTA31:=KD.K;CTA32:=KD.D;CTA33:=RSI.RSI1;CTA34:=RSI.RSI3;CTA35:=CLOSE-REF(CLOSE,1);CTA36:=IF(CTA35>=0,CTA35,0)*CTA5;CTA37:=IF(CTA35<0,-CTA35,0)*CTA5;CTA38:=MEMA(CTA36,10);CTA39:=MEMA(CTA37,10);CTA40:=MEMA(CTA36,6);CTA41:=MEMA(CTA37,6);CTA42:=MA(100*CTA38/(CTA38+CTA39),10)*CTA5;CTA43:=MA(100*CTA40/(CTA40+CTA41),6)*CTA5;CTA44:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847;CTA45:=COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1;CTA46:=CTA44 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(CTA45,1);CTA47:=CTA46 AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;CTA48:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;CTA49:=COUNT(CTA48<35,100)>=95;CTA50:=CTA30 AND CTA47>0 AND NOT(DYNAINFO(4)=0) AND CTA49;CTA51:=COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2;CTA52:=CTA50 AND REF(CTA51,1) AND VOL>REF(VOL,1);CTA53:=COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4;CTA54:=CTA52 AND (REF(CTA53,1) OR CLOSE=HIGH);CTA55:=CROSS(CTA43,CTA42) OR CROSS(MACD.MACD,0);CTA56:=COUNT(CROSS(MACD.MACD,0),3)=1 AND MACD.MACD<0.15;CTA57:=REF(CTA56 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1);CTA58:=CTA55 OR CTA57 OR CROSS(CTA31,CTA32) OR CROSS(CTA33,CTA34);CTA59:=CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049));CTA60:=CTA54 AND CTA58 AND REF(CTA59,1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;CTA61:=CTA8+CTA11+CTA14+CTA23+CTA60>=2;CTA62:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20);CTA63:=CTA62 AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120);CTA64:=CTA63 AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);CTA65:=CLOSE>REF(CLOSE,1)*1.1-0.01;CTA66:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*CTA4>=20;CTA67:=VOL/REF(VOL,1)*CTA4>1.9;CTA68:=CTA64 AND CTA65 AND CTA66 AND CTA67;CTA69:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05;CTA70:=CTA69 AND CLOSE/LLV(CLOSE,10)<1.4;CTA71:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);CTA72:=CAPITAL<10000000;CTA73:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;CTA74:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;CTA75:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;CTA76:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;CTA77:=CTA73 AND CTA74 AND CTA75 AND CTA76;CTA78:=KDJ.K>REF(KDJ.K,1)*CTA4;CTA79:=KDJ.D>REF(KDJ.D,1)*CTA4 AND KDJ.D<70;CTA80:=KDJ.J>REF(KDJ.J,1)*CTA4;CTA81:=CTA78 AND CTA79 AND CTA80;CTA82:=EMA(CLOSE,40) AND CTA70 AND CTA71 AND CTA72 AND CTA77 AND CTA81;CTA83:=FILTER(CTA82,15)*CTA4;CTA84:=CTA68 OR CTA83;龙头:(CTA84 AND CTA61)*CTA4 OR CTA23 OR CTA15;图片
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。