首页 > 编程语言 >通达信突破龙头指标公式源码

通达信突破龙头指标公式源码

时间:2024-03-09 09:03:37浏览次数:24  
标签: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),COLORRED;
stICKLINE(龙头,0,50,6,0),COLOR009999;
STICKLINE(龙头,0,50,5,0),COLOR009999;
STICKLINE(龙头,0,50,4,0),COLOR009999;
STICKLINE(龙头,0,50,2,0),COLOR00BBBB;
STICKLINE(龙头,0,50,1,0),COLOR00DDDD;
STICKLINE(龙头,0,50,0.4,0),COLORYELLOW;
STICKLINE(龙头,50,10,0.5,0),COLORRED;

 

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

相关文章

  • 通达信骑牛图指标公式源码
    {通达信骑牛图指标公式源码}SHORT:=7;MID:=22;LONG:=44;转换线:=(HHV(H,SHORT)+LLV(L,SHORT))/2,COLORRED,LINETHICK2;基准线:(HHV(H,MID)+LLV(L,MID))/2,COLORFF8040,LINETHICK2;迟行带:=REFX(C,MID),COLORGRAY,LINETHICK2;A:=REF((转换线+基准线)/2,MID);B:=REF((HHV......
  • 通达信短线起航指标公式源码
    {通达信短线起航指标公式源码}OSC:=100*(CLOSE-MA(CLOSE,20));MaoSC:=EXPMEMA(OSC,6);bias:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;BIASMA:=MA(BIAS,6);F:=100*(C-REF(C,1))/REF(C,1);P1:=IF(C<ref(o,1)and=""f<0,1,0);<br="">P2:=IF(C<r......
  • 通达信分时资金流量主图指标公式
    {通达信分时资金流量主图指标公式}资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),stICK,COLORRED;资金流出:=-SUM(IF(C<ref(c,1),v,0),fromopen),stick,color00ff00;资金出入:=资金流入+资金流出,COLORSTICK;资金流量:=资金出入,COLORFFFFFF,LINETHICK1;资金比:=资金出入/S......
  • 通达信分时大宗买卖指标公式源码
    {通达信分时大宗买卖指标公式源码}大单买量:=SUM(IF(C>REF(C,1)ANDV>4000,V/1000,0),0),NODRAW;大单卖量:=SUM(IF(C<ref(c,1)and=""v="">4000,V/1000,0),0),NODRAW;买单总量:=SUM(IF(C>REF(C,1),V/1000,0),0),NODRAW;卖单总量:=SUM(IF(C<ref(c,1),v1000,0)......
  • 通达信资金主力拉升选股指标公式源码
    {通达信资金主力拉升选股指标公式源码}VAR1:=(HIGH+LOW+CLOSE*2)/4;VAR2:=EMA(VAR1,21);VAR3:=stD(VAR1,21);VAR4:=((VAR1-VAR2)/VAR3*100+200)/4;VAR5:=(EMA(VAR4,89)-25)*1.56;VAR6:=EMA(VAR5,5)*1.22;VAR7:=EMA(VAR6,3);VAR8:=3*VAR6-2*VAR7;VAR1A:=IF(crOSS(VAR6,......
  • 通达信千载难买黄金坑,黄金坑群来了源码
    {通达信千载难买黄金坑,黄金坑群来了源码}RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100; 短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLO......
  • app直播源码,封装调用第三方服务的请求与响应
    在开发app直播源码的过程中,经常会遇到调用一些第三方的请求与响应,如果只是简单的两种请求与响应那么我们只需要去简单的去封装请求头与请求体即可,并且拼接第三方调用的key即可,但是遇到一些流程比较繁琐的调用就显得非常的麻烦了。而高效的去封装这些服务的请求与响应实体不仅......
  • 基于苍穹外卖写的springboot学习笔记,私聊拿源码
    一.关于md5加密的了解与使用1.分析MD5加密是一种不可逆的加密算法。也就是说我们只能正向加密,无法反向解密。于是乎,当我们用它作为密码加密方式时,我们只能加密码从数据库拿来与前端传来的数据加密后进行比较。2.使用方法他是由springboot框架提供二.关于swagge......
  • 通达信超能共振主图指标公式源码副图
    {通达信超能共振主图指标公式源码副图}N1:=3;N2:=5;N3:=8;N4:=13;RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;Lwr1:=SMA(RSV,N1,1);LWR2:=Sma(LWR1,N1,1);A1:=LWR1>LWR2;Z1:=LWR1<lwr2;RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;K:=......
  • 通达信远超金钻指标公式源码副图
    {通达信远超金钻指标公式源码副图}X_1:=12;X_2:=26;X_3:=200;X_4:=9;X_5:=34;X_6:=1;X_7:=1;DRAWTEXT_FIX(1=1,0.7,0,0,5),COLOR666666;X_8:=Ema(CLOSE,X_1)-EMA(CLOSE,X_2);X_9:=EMA(X_8,X_3);X_10:=(X_8-X_9)*2*X_7;ZS:IF(X_10<0,0,X_10*X_10),COLORRED,LINETHIC......