最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信条件选股公式八

    正文概述    2024-05-04 04:00:04  


    1、{准备买入} 准备买入LY:=10;BL:=40;CJQS:=XMA(CLOSE,LY);JBQS:=XMA(CLOSE,BL);N:=REF(JBQS,BL/2+1-CURRBARSCOUNT)/REF(JBQS,BL/2+2-CURRBARSCOUNT);M:=REF(CJQS,LY/2+1-CURRBARSCOUNT)/REF(CJQS,LY/2+2-CURRBARSCOUNT);JB上轨:=IF(CURRBARSCOUNT BL/2,JBQS*1.REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*1.1);JB下轨:=IF(CURRBARSCOUNT BL/2,JBQS*0.9,REF(JBQS,BL/2+1-CURRBARSCOUNT)*POW(N,BL/2+1-CURRBARSCOUNT)*0.9);CJ上轨:=IF(CURRBRSCOUNT LY/2,CJQS*1.05,REF(CJQS,LY/2+1-CURRBARSCOUNT)*POW(M,LY/2+1-CUBARSCOUNT)*1.05);CJ下轨:=IF(CURRBARSCOUNT LY/2,CJQS*0.95,REF(CJQS,LY/2+1-CUBARSCOUNT)*POW(M,LY/2+1-CURRBAROUNT)*0.95);XG:O =CJ下轨;黑马DIFF0:=(EM)-EMA(DCSE,))*1;:=EMA(DFF0,);D0:=2*(DIFF00);黑马:MACREF(0,1)*2.5ACD0


    2、{} M21:=ma(C,21); M55:=MA(C,55); A0:=M21 REF(M21,1)ANDM55 REF(M55,1); A1:=COUNT(V REF(V,1),2) A3:=.K kdJ.D; A4:=macd.DIF A5:=.CCI A6:=C .BOLL; {st:=IF(NAMELIKE('S'),0,1)ANDIF(NAMELIKE('*'),0,1);} S2:=DYNAINFO(4) A0ANDA1ANDA3ANDA4ANDA5ANDA6ANDS2;


    3、{飞奔小金牛}AAA2:=SUM(IF(CLOSE REF(CLOSE,1),*C,0),0); AAA3:=SUM(IF(CLOSE1; PMB:=REF(PMA,1) 1ANDPMA; 密码:=(EMA(MA(B1万元,2),2))/100000; 二日比:=密码/REF(密码,1); 选股:=PMBAND密码 REF(密码,1)AND二日比 均价线:=AMOUNT/V/100; 均价线2:=MA(均价线,3); 均价线5:=MA(均价线,5); 均价线10:=MA(均价线,10); 均价线30:=MA(均价线,30); :C 均价线2AND均价线2 AAA3:=SUM(IF(CLOSE REF(CLOSE,1),VOL*C,0),0); AAA4:=SUM(IF(CLOSE=REF(CLOSE,1),VOL*C,0),0); BB1:=0; B1万元:=VOL*CLOSE/100; B1差:=B1万元-REF(B1万元,1); B2万元:=VOL*CLOSE/100; B2比:=B2万元/REF(B2万元,1); 净流入万元:=(AAA2-AAA3-0.5*AAA4); PM:=ma(净流入万元,1); PMA:=PM/REF(PM,1) PMB:=REF(PMA,1) 1ANDPMA; 密码:=(EMA(MA(B1万元,2),2))/100000; 二日比:=密码/REF(密码,1); 选股:=PMBAND密码 REF(密码,1)AND二日比 均价线:=AMOUNT/V/100; 均价线2:=MA(均价线,3); 均价线5:=MA(均价线,5); 均价线10:=MA(均价线,10); 均价线30:=MA(均价线,30); 突破:C 均价线2AND均价线2 REF(均价线2,1)ANDREF(均价线2,1) REF(均价线2,2) AND REF(均价线2,2) REF(均价线2,3)AND选股ANDMA(C,60) REF(MA(C,60),1);


    4、{三回档}MA10:=EMA(C,10); VV1:=crOSS(MA5,MA10); VVV1:=COUNT(VV1,5) MV5:=EMA(V,5); MV10:=EMA(V,10); VV2:=CROSS(MV5,MV10); VVV2:=COUNT(VV2,5) DIF:="macd.DIF"(12,26,9); DEA:="MacD.DEA"(12,26,9); VV3:=CROSS(DIF,DEA); VVV3:=COUNT(VV3,5) VVV4:=Abs((C-MA10)/MA10)*100 2ANDC REF(C,1); XG:VVV1ANDVVV2ANDVVV3ANDVVV4;


    5、{预警选股} jj:=(HIGH+LOW+CLOSE)/3; qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW); qj1:=qj0*(MIN(OPEN,CLOSE)-LOW); qj2:=qj0*(jj-MIN(CLOSE,OPEN)); qj3:=qj0*(HIGH-MAX(OPEN,CLOSE)); qj4:=qj0*(MAX(CLOSE,OPEN)-jj); DDX:=IF(HIGH=LOW,4*qJ0,((qj1+qj2)-(qj3+qj4)))/sum(vol,10)*100; DDY:=((qj2+qj4)-(qj1+qj3))/sum(vol,10)*100; DDZ:=((qj1+qj2)-(qj3+qj4))/((qj1+qj2)+(qj3+qj4))*100*17; V1:=v/ma(ref(v,1),5); V2:=indexv/ma(ref(indexv,1),5); v0:=v1/v2; ST:=STRFIND(stkname,'ST',1) S1:=STRFIND(stkname,'S',1) 停牌:=(DYNAINFO(4)=0); 去除ST:=not(ST)andnot(停牌)andnot(S1); 预警:DDX 2andDDZ 100andDDY 3andvol/CAPITAL*100 3andV0 3.5andCAPITAL/1000000 =10andCAPITAL/1000000 =0.5and去除ST


    6、{牛线} MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;马线:MA(牛线,6);Var0:=SMA(MAX(CLOSE-ref(c,1),0),12,1)/SMA(ABS(CLOSE-ref(c,1)),15,1)*100;s:=C-REF(C,1);DX:=100*EMA(EMA(s,6),6)/EMA(EMA(ABS(s),6),6);买:IF(LLV(DX,2)=LLV(DX,7)ANDCOUNT(DX 0,2)ANDCROSS(DX,MA(DX,2)),1,0);


    7、{出现红柱}STICKLINE(18,100,0,5,0),COLORBLUE;VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);VAR03:=CROSS(VAR02,VAR01);VAR04:=REF(VAR02,2) REF(VAR02,1)ANDVAR02 REF(VAR02,1);VAR05:=COUNT(VAR03,7) 0ANDVAR04;VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);VAR08:=EMA(VAR07,10);VAR09:=EMA(C,5);VAR10:=LLV(LOW,33);VAR11:=EMA(IF(LOW =VAR10,VAR09,0),3)*40;VAR12:=IF(VAR11 100,VAR11*0.312,VAR11);底部爆发:VAR12,COLORWHITE;STICKLINE(VAR12 0,0,VAR12,3,0),COLORWHITE;STICKLINE(VAR12 0,0,VAR12,2,0),COLOR555555;STICKLINE(VAR12 0,0,VAR12,1,0),COLORYELLOW;STICKLINE(VAR02 0,0,VAR02,5,0),COLOR3A7841;海岸:VAR02,COLORGREEN;浪花:VAR01,COLORCYAN;STICKLINE(VAR05ANDCOUNT(VAR05,5)=1,0,VAR12,4,0),COLORRED;


    8、{macd金叉选股} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;A1:=DIF A2:=DEA A3:=DIF A4:=DEA CROSS(DIF,DEA)ANDA1ANDA2ANDA3ANDA4


    9、{二次翻红} DIF:=Ema(CLOSE,6)-EMA(CLOSE,19); DEA:=EMA(DIF,9); macd:=2*(DIF-DEA); FH1:=REF(MacD,1) REF(MACD,2)ANDREF(MACD,2) REF(MACD,3)ANDREF(MACD,3) REF(MACD,4); FH2:=MACD =0ANDCOUNT(MACD REF(MACD,1),1)=1; FH3:=FH1ANDFH2ANDEMA(C,13) REF(EMA(C,13),1); FH4:=FH1ANDFH2ANDABS((DIF-DEA)/C) 0.018; FH5:=FH1ANDFH2ANDMACD 0.10; 二次翻红:=(FH3ORFH4ORFH5); 低买:=crOSS(DIF,DEA)ANDDIF 二次翻红OR低买;


    10、{峰选股} A1:=COST(85); A2:=COST(15); A3:=A1-A2; A4:=(A1+A2)/2; A5:=A3/A4*100 B1:=HHV(H,120); B2:=LLV(L,120); B3:=B1-B2; B4:=(A4-B2) A2:=COST(15); A3:=A1-A2; A4:=(A1+A2)/2; A5:=A3/A4*100 B1:=HHV(H,120); B2:=LLV(L,120); B3:=B1-B2; B4:=(A4-B2) B3/2; ERIC:A5ANDB4ANDWINNER(C) =0.15;


    11、{通达信DMI金叉选股} N:=14;MM:=6; MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N); HD:=HIGH-REF(HIGH,1); LD:=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD 0 HD LD,HD,0),N); DMM:=EXPMEMA(IF(LD 0 LD HD,LD,0),N); PDI:=DMP*100/MTR; MDI:=DMM*100/MTR; ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM); ADXR:=EXPMEMA(ADX,MM); CROSS(PDI,MDI); MTR:=EXPMEma(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N); HD:=HIGH-REF(HIGH,1); LD:=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD 0 HD LD,HD,0),N); DMM:=EXPMEMA(IF(LD 0 LD HD,LD,0),N); pdi:=DMP*100/MTR; mdi:=DMM*100/MTR; ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM); ADXR:=EXPMEMA(ADX,MM); XG:crOSS(PDI,MDI)ANDCROSS(V,MA(V,5))ANDV REF(V,1);


    12、{绿箭头} DIF1:=EMA(CLOSE,13)-EMA(CLOSE,34); DEA1:=EMA(DIF1,13); MACD1:=2*(DIF1-DEA1),STICK; MACD2:=EMA(MACD1,3); STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,3.2,0),COLOR000055; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,2.7,0),COLOR000077; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,2.1,0),COLOR000099; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,1.5,0),COLOR0000BB; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,0.9,0),COLOR0000DD; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,0.3,0),COLOR0000FF; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,3.2,0),COLOR555555; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,2.7,0),COLOR777777; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,2.1,0),COLOR999999; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,1.5,0),COLORBBBBBB; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,0.9,0),COLORDDDDDD; STICKLINE(MACD1 MACD2ANDMACD1 0,0,MACD1,0.3,0),COLORFFFFFF; STICKLINE(MACD1=0ORMACD1 =0,0,0,50,1),COLORWHITE; DIF:DIF1,COLOR33FF33; DEA:DEA1,COLORYELLOW; MACD:MACD1,NODRAW,COLORMAGENTA; 强度:IF(DIF1 =DEA1,DIF1,DRAWNULL),COLORRED,LINETHICK1; :IF((TROUGHBARS(3,15,1)=0)AND(HIGH LOW+0.01),0.2,(-0)),COLORGREEN,LINETHICK2;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信条件选股公式八 加入收藏