首页 > 编程语言 >通达信龙头选股公式源码副图

通达信龙头选股公式源码副图

时间:2024-02-05 18:55:06浏览次数:33  
标签:10 MA 20 HJ 通达信 源码 选股 CLOSE REF

{ 股票指标 }

HJ_1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<llv(low,15)+(hhv(high,15)-llv(low,15))*0.85 and="" close="">OPEN AND CLOSE>=HHV(HIGH,10);
HJ_2:=IF(DATETODAY(DATE)<999999999,1,DRAWNULL);
HJ_3:=Ema(CLOSE,5);
HJ_4:=EMA(CLOSE,10);
HJ_5:=EMA(CLOSE,14);
HJ_6:=EMA(CLOSE,18);
HJ_7:=EMA(CLOSE,40);
HJ_8:=EMA(CLOSE,60);
HJ_9:=IF(DATE<999999999,1,DRAWNULL);
HJ_10:=MAX(HJ_7,HJ_8);
HJ_11:=CLOSE>HJ_10 AND HJ_1 AND (CLOSE>REF(HHV(HIGH,3),1)*HJ_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
HJ_12:=vol;
HJ_13:=MA(HJ_12,5);
HJ_14:=HJ_13+HJ_13>HJ_12;
HJ_15:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*HJ_2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*HJ_9;
HJ_16:=(CLOSE>REF(HHV(HIGH,3),1)*HJ_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*HJ_2 AND HJ_15 AND HJ_14;
HJ_17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*HJ_2<llv(low,15)+(hhv(high,15)-llv(low,15))*0.85 and="" close="">OPEN AND CLOSE>=HHV(HIGH,10);
HJ_18:=(CLOSE-REF(CLOSE,1)*HJ_2)/REF(CLOSE,1)*100>7;
HJ_19:=HJ_17 AND HJ_18;
HJ_20:=DATETODAY(DATE);
HJ_21:=HJ_20>9344 AND HJ_20<999999999;
HJ_22:=(HJ_11 AND HJ_19)*HJ_21;
HJ_23:=EMA(CLOSE,5);
HJ_24:=EMA(CLOSE,10);
HJ_25:=EMA(CLOSE,14);
HJ_26:=EMA(CLOSE,18);
HJ_27:=EMA(CLOSE,40);
HJ_28:=EMA(CLOSE,60);
HJ_29:=MAX(MAX(MAX(MAX(MAX(HJ_23,HJ_4),HJ_25),HJ_26),HJ_27),HJ_28)*HJ_9;
HJ_30:=MIN(MIN(MIN(MIN(MIN(HJ_23,HJ_4),HJ_25),HJ_26),HJ_27),HJ_28)*HJ_9;
HJ_31:=CLOSE>HJ_29 AND LOW<hj_30 and="" (close="">REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*HJ_2)/REF(CLOSE,1)>0.09);
HJ_32:=FILTER(HJ_31>0,0)=1;
HJ_33:=DATETODAY(DATE);
HJ_34:=HJ_33>9350 AND HJ_33<999999999;
HJ_35:=HJ_32*HJ_34;
HJ_36:=MA(REF(HHV(CLOSE,26),1),2);
HJ_37:=MA(CLOSE,26);
HJ_38:=POW(CLOSE-HJ_37,2);
HJ_39:=MA(HJ_38,13);
HJ_40:=SQRT(HJ_39);
HJ_41:=HJ_37+2*HJ_40;
HJ_42:=REF(HJ_41,1);
HJ_43:=crOSS(CLOSE,HJ_36) AND HIGH>REF(HJ_41,1) OR (CLOSE>HJ_36 AND CROSS(CLOSE,REF(HJ_41,1))) AND CLOSE/OPEN>0.998;
HJ_44:=macd.MacD;
HJ_45:=kd.K;
HJ_46:=KD.D;
HJ_47:=rsi.RSI1;
HJ_48:=RSI.RSI3;
HJ_49:=CLOSE-REF(CLOSE,1);
HJ_50:=IF(HJ_49>=0,HJ_49,0)*HJ_9;
HJ_51:=IF(HJ_49<0,-HJ_49,0)*HJ_9;
HJ_52:=MEMA(HJ_50,10);
HJ_53:=MEMA(HJ_51,10);
HJ_54:=MEMA(HJ_50,6);
HJ_55:=MEMA(HJ_51,6);
HJ_56:=MA(100*HJ_52/(HJ_52+HJ_53),10)*HJ_9;
HJ_57:=MA(100*HJ_54/(HJ_54+HJ_55),6)*HJ_9;
HJ_58:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;
HJ_59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
HJ_60:=COUNT(HJ_59<35,100)>=95;
HJ_61:=HJ_43 AND HJ_58>0 AND NOT(DYNAINFO(4)=0) AND HJ_60 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(HJ_57,HJ_56) OR CROSS(HJ_44,0) OR REF(COUNT(CROSS(HJ_44,0),3)=1 AND HJ_44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(HJ_45,HJ_46) OR CROSS(HJ_47,HJ_48)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;
HJ_62:=HJ_11+HJ_16+HJ_19+HJ_32+HJ_61>=2;
HJ_63:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
HJ_64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
HJ_65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*HJ_2>=20;
HJ_66:=VOL/REF(VOL,1)*HJ_2>1.9;
HJ_67:=HJ_63 AND HJ_64 AND HJ_65 AND HJ_66;
HJ_68:=MA(CLOSE,5);
HJ_69:=MA(CLOSE,10);
HJ_70:=MA(CLOSE,20);
HJ_71:=MA(CLOSE,30);
HJ_72:=MA(CLOSE,60);
HJ_73:=CLOSE>HJ_68 AND HJ_68>HJ_69 AND HJ_69>HJ_70 AND CLOSE>HJ_72;
HJ_74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
HJ_75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
HJ_76:=CAPITAL<10000000;
HJ_77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
HJ_78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
HJ_79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
HJ_80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
HJ_81:=HJ_77 AND HJ_78 AND HJ_79 AND HJ_80;
HJ_82:=kdj.K>REF(KDJ.K,1)*HJ_2;
HJ_83:=KDJ.D>REF(KDJ.D,1)*HJ_2 AND KDJ.D<70;
HJ_84:=KDJ.J>REF(KDJ.J,1)*HJ_2;
HJ_85:=HJ_82 AND HJ_83 AND HJ_84;
HJ_86:=HJ_7 AND HJ_74 AND HJ_75 AND HJ_76 AND HJ_81 AND HJ_85;
HJ_87:=FILTER(HJ_86,15)*HJ_2;
HJ_88:=HJ_67 OR HJ_87;
龙头:DATE<999999999 AND ((HJ_88 AND HJ_62)*HJ_2 OR HJ_35 OR HJ_22);

 

标签:10,MA,20,HJ,通达信,源码,选股,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18008656

相关文章

  • 通达信蜘蛛金操盘源码副图
    {股票指标}主力资金:Ema(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3)+100,COLORRED,LINETHICK2;进入启动区:65;快速拉伸区:80;筹码集中区:50;抄底阶段:20;DRAWTEXT(crOSS(主力资金,抄底阶段),主力资金,'抄底'),COLORFA8282;DRAWTEXT(CROSS(主力资金,筹码集中......
  • 通达信买卖顶底主图源码
    {股票指标}RSV:=Ema((MA(H,2)+MA(L,2))/2,2);原形:=MA(RSV,13),COLOR00AAEE;偏移:=xma(RSV,18),COLOR00FF00;运动趋势:=(原形+偏移)/2,COLORFFFFFF,LINETHICK2;DRAWBAND(运动趋势*1.1,RGB(00,100,100),运动趋势*1.125,RGB(00,100,100));DRAWBAND(运动趋势*1.125,RGB(10......
  • 通达信分时出击源码副图
    {股票指标}X_1:=ma((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50,17)+9;X_2:=MA(X_1,7)*1.372;X_3:=crOSS(X_2,50);X_4:=TIME2<132000;X_5:=EMA(CLOSE,8);X_6:=EMA(X_5,20);X_7:=CROSS(X_5,X_6);X_8:=X_5<ema(close,120);X_9:=EMA(SMA((CLOSE-LLV(LOW,10......
  • 通达信金石探庄源码副图
    {股票指标}VAR3:=(2*CLOSE+HIGH+LOW)/4;VAR4:=LLV(LOW,34);VAR5:=HHV(HIGH,34);空:Ema((VAR3-VAR4)/(VAR5-VAR4)*100,13),COLORYELLOW;多:EMA(0.667*REF(空,1)+0.333*空,2),COLORF00FF0;高抛低吸分界线:50,crOSSDOT,COLORYELLOW;危险小心套牢:IF(CROSS(多,空)AND......
  • 通达信五线上翘选股公式源码副图
    {股票指标}AAA:=(ma(CLOSE,13)+MA(CLOSE,17))/2;CCC:=(stD(CLOSE,13)+STD(CLOSE,17))/2;BBB:=AAA+2.1*CCC;DDD:=AAA+0.72*CCC;ZZZ:=IF(CCC>1.88,MA(DDD,3),DDD);起爆:=ZZZ*1.02;加仓:=ZZZ*0.97;优选2:=O>加仓ANDL>REF(H,1);优选1:O>起爆AND加仓ANDL>REF(H,1)......
  • 通达信葡萄熟了主图源码
    {股票指标}高:HHV(Ema(EMA(EMA(EMA(EMA(L,2),2),2),2),2),2),COLORLIBLUE,LINETHICK1;低:LLV(EMA(EMA(EMA(EMA(EMA(L,2),2),2),2),2),1),COLORRED,LINETHICK2;{30分钟MA}MA4:=MA(C,4),COLORBLUE,LINETHICK4;A8:=MA(C,8),COLORRED;A24:=MA(C,24),COLORRED;A40:=MA(C,40......
  • 通达信启动黑马源码主图
    {成交量卖点}VASS1:=HHV(H,20);VASS2:=LLV(L,20);VASS3:=REF((VASS1/VASS2-1)*100<=30,1);VAR6:=REF(CLOSE,1);VAR7:=SMA(maX(CLOSE-VAR6,0),6,1)/SMA(Abs(CLOSE-VAR6),6,1)*100;stICKLINE(crOSS(84,VAR7),CLOSE,OPEN,2.8,0),COLORGREEN;A1:=ABS(((3.48*CLOSE+HIGH+LOW)/......
  • [转]gdb源码安装,指定使用的python版本
    转自:https://www.cnblogs.com/shengulong/p/8053370.html gdb调试python的时候,需要根据不同的python版本2.6、2.7、3.x安装相应的gdb;如何指定关联的python版本?下面gdb源码,解压后,进入目录:./configure-h并没有发现--with-python的选项。没有也没有问题,没有也可以自己加:whi......
  • A027 《满天星》编程 源码
    一、课程介绍本节课学习函数定义与使用,并借此绘制出漫天星光。二、重难点解析函数的定义和调用对函数的理解:把实现某种功能的多行代码包装成一个函数,并取好函数名。后面可以通过调用这个函数实现相应的功能,从而实现简化代码的效果、复用的作用。我们平常使用的方法如forward()等......
  • 大模型推理框架 vLLM 源码解析(一)
    1.QuickStart创建如下代码,命名为run.pyfromvllmimportLLM,SamplingParamsprompts=[ "HaveyoufollowedmarsggboinZhihu?", "你一键三连了吗?"]#输入promptssampling_params=SamplingParams(temperature=0.8,top_k=50)#采样策略llm=LLM(model=&q......