首页 > 编程语言 >通达信快牛5号选股指标公式源码

通达信快牛5号选股指标公式源码

时间:2024-03-09 09:04:25浏览次数:29  
标签:EMA 22 HIGH 通达信 源码 LOW 选股 CLOSE REF

{ 通达信快牛5号选股指标公式源码 }

X_1:=vol/CAPITAL;
X_2:=VOL/700000000;
X_3:=IF(X_1=0,X_2,X_1);
X_4:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_5:=2.5*MAX(X_3,X_4);
X_6:=DMA(CLOSE,X_5);
X_7:=SMA(20*(X_6/REF(X_6,1)-1),2,1);
X_8:=EMA(X_7,2);
X_9:=0.24;
X_10:=CLOSE>=REF(CLOSE,1);
X_11:=IF(X_7>X_9 AND X_8>=0.005 AND X_10,1,0);
X_12:=crOSS(X_11,0.5) AND COUNT(X_11>0.5,10)=1;
X_13:=kdj.J-REF(kdJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND macd.MacD>0 AND MACD.DEA>0;
X_14:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAst(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_15:=FILTER(X_14,28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_16:=X_13 OR X_15 AND X_12;
X_17:=9;
X_18:=20;
X_19:=10;
X_20:=34;
X_21:=EMA(CLOSE,17);
X_22:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_23:=(20*X_22+19*REF(X_22,1)+18*REF(X_22,2)+17*REF(X_22,3)+16*REF(X_22,4)+15*REF(X_22,5)+14*REF(X_22,6)+13*REF(X_22,7)+12*REF(X_22,8)+11*REF(X_22,9)+10*REF(X_22,10)+9*REF(X_22,11)+8*REF(X_22,12)+7*REF(X_22,13)+6*REF(X_22,14)+5*REF(X_22,15)+4*REF(X_22,16)+3*REF(X_22,17)+2*REF(X_22,18)+REF(X_22,20))/210;
X_24:=EMA(X_23,13);
X_25:=EMA(CLOSE,5);
X_26:=EMA(X_25,8);
X_27:=EMA(X_26,13);
X_28:=EMA(X_27,50);
X_29:=100*(CLOSE-LLV(LOW,X_20))/(HHV(CLOSE,X_20)-LLV(LOW,X_20));
X_30:=REF(X_29,1)<1 AND X_29>1;
X_31:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_32:=LLV(X_31,3);
X_33:=MA(X_31,12);
X_34:=1;
X_35:=LLV(LOW,10);
X_36:=HHV(HIGH,25);
X_37:=EMA((CLOSE-X_35)/(X_36-X_35)*4,4)*X_34*30;
X_38:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_39:=EMA(X_38,6);
X_40:=EMA(X_38,5);
X_41:=12;
X_42:=26;
X_43:=9;
X_44:=EMA(CLOSE,X_41)-EMA(CLOSE,X_42);
X_45:=EMA(X_44,X_43);
X_46:=(X_44-X_45)*2;
X_47:=9;
X_48:=3;
X_49:=3;
X_50:=(CLOSE-LLV(LOW,X_47))/(HHV(HIGH,X_47)-LLV(LOW,X_47))*100;
X_51:=SMA(X_50,X_48,1);
X_52:=SMA(X_51,X_49,1);
X_53:=3*X_51-2*X_52;
X_54:=EXIST(X_30,3);
X_55:=CLOSE/REF(CLOSE,1)>1+0.01*X_17;
X_56:=X_32>X_33 AND X_31=X_32;
X_57:=CROSS(X_39,X_40);
X_58:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*X_17,X_19);
X_59:=BArslAST(X_33>X_37)<x_19;
X_60:=REF(CLOSE,1)<ref(x_24,1) and="" close="">X_24;
X_61:=CLOSE/REF(CLOSE,1)>1+0.01*X_17;
X_62:=X_24/X_28<1+0.01*X_18;
X_63:=IF(X_55+X_58+X_61=3,1,0);
X_64:=(HIGH-CLOSE)/(CLOSE-OPEN)<0.33;
X_65:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW<ref(low,1) and="" low<ref(low,2);<br=""> X_66:=CLOSE/REF(CLOSE,1)-1>=0.08;
X_67:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND X_64;
X_68:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND X_64;
X_69:=IF(FILTER(X_67 OR X_68 OR X_65 OR X_66,34),1,0) AND X_63;
X_70:=X_16 OR X_69;
X_71:=VOL;
X_72:=X_71>MA(VOL,89);
X_73:=expma(CLOSE,5);
X_74:=EXPMA(CLOSE,29);
X_75:=X_73>X_74;
X_76:=REF(CLOSE,1);
X_77:=SMA(MAX(CLOSE-X_76,0),12,1)/SMA(Abs(CLOSE-X_76),12,1)*100;
X_78:=SMA(MAX(CLOSE-X_76,0),56,1)/SMA(ABS(CLOSE-X_76),56,1)*100;
X_79:=X_77>X_78 AND X_75 AND X_72;
X_80:=HHV(HIGH,30);
X_81:=LLV(LOW,30);
X_82:=REF((X_80/X_81-1)*100<=30,1);
X_83:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_84:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_83);
X_85:=EMA(X_84,200)*1.1;
X_86:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_87:=CROSS(CLOSE,X_85) AND REF(CLOSE*1.097,1) X_88:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
X_89:=NOT(X_88=0) AND X_70 AND X_87;
X_90:=X_88=0 AND X_70 AND X_87;
妖股起飞:X_89 OR X_90;

 

标签:EMA,22,HIGH,通达信,源码,LOW,选股,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18062221

相关文章

  • 通达信分时涨停OBV指标公式源码
    {通达信分时涨停OBV指标公式源码}早盘OBV值保持20,30以上出绿钻有涨停可能,第一市场处于强势每天涨停100只以上打开账户准备好9点25分打60涨幅排行榜看高开的最好5点以下,最好选择上午10点以前10点后的绿钻几乎无意义,第二选择第一次高开突破平台作为目标高开不要太多也可开盘打8......
  • 通达信MA筹码主图指标公式源码
    {通达信MA筹码主图指标公式源码}M1:=5;M2:=10;M3:=20;M4:=60;M5:=120;M6:=144;M7:=189;M8:=250;X_1:=(COst(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+CLOSE;X_2:=REF(HHV(X_1,20),0);STICKLINE(X_1>CLOSE,X_2,X_1,2,0),COLORGRAY;......
  • 通达信突破龙头指标公式源码
    {通达信突破龙头指标公式源码}HJ_1:=DYNAINFO(4)>0ANDHHV(HIGH,10)/LLV(LOW,10)<1.25ANDREF(CLOSE,1)<llv(low,15)+(hhv(high,15)-llv(low,15))*0.85and=""close="">OPENANDCLOSE>=HHV(HIGH,10);HJ_2:=IF(DATETODAY(DATE)<999999999,1,......
  • 通达信骑牛图指标公式源码
    {通达信骑牛图指标公式源码}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即可,但是遇到一些流程比较繁琐的调用就显得非常的麻烦了。而高效的去封装这些服务的请求与响应实体不仅......