最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 集合竞价选股公式抓住每日强势股

    正文概述    2024-05-04 04:40:09  

    以下是集合竞价公式源码和使用说明


    集合竞价选股公式源码:

       Var2:=(3*CLOSE+LOW+OPEN+HIGH)/6;

       Var3:=(20*Var2+19*REF(Var2,1)+18*REF(Var2,2)+17*REF(Var2,3)+16*REF(Var2,4)+15*REF(Var2,5)+14*REF(Var2,6)+13*REF(Var2,7)+

       12*REF(Var2,8)+11*REF(Var2,9)+10*REF(Var2,10)+9*REF(Var2,11)+8*REF(Var2,12)+7*REF(Var2,13)+6*REF(Var2,14)+5*REF(Var2,15)

       +4*REF(Var2,16)+3*REF(Var2,17)+2*REF(Var2,18)+REF(Var2,20))/210;

       Var4:=MA(Var3,13);

       Var5:=EMA(MA(CLOSE,3),34);

       Var6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

       Var7:=MA(Var6,5);

       Var8:=MA(Var6,10);

       STICKLINE(IF(Var3 Var5,Var3 =1.015*Var4,Var3 =1.005*Var4),Var3,Var4,10,1),COLOR006600;

       STICKLINE(Var3 1.005*Var4,Var3,Var4,10,1),COLORff00ff;

       DRAWTEXT(FILTER(MA(Var6,10) Var7,1),Var8,'↑'),COLORRED;

       DRAWTEXT(FILTER(MA(Var6,10) =Var6,1),Var8,'↓'),COLOR00ff00;

       多空安全线:Var5,COLORWHITE;

       〖关注点〗:STICKLINE(COUNT(Var3 1.005*Var4ANDVar3 =REF(Var3,1),2)=2OR

       COUNT(IF(Var3 Var5,Var3 =1.015*Var4,Var3 =1.005*Var4)ANDVar3 =REF(Var3,1),2)=2,Var3,Var4,10,0),COLORYELLOW;

       DRAWTEXT(REF(CROSS(Var3,Var4),2)ANDVar3 1.005*Var4,Var4,'★买入点'),COLORwhite;

       DRAWTEXT(CROSS(Var6,Var7)ANDVar7 Var8,Var3*0.95,'▲多空争夺'),COLORyellow;

       {DRAWTEXT(CROSS(Var7,Var6)ANDVar7 Var8,Var3*1.05,'▼洗盘'),COLORwhite;}

       Var9:=1/WINNER(CLOSE);

       VarA:=MA(CLOSE,13);

       VarB:=100-ABS((CLOSE-VarA)/VarA*100);

       VarC:=LLV(LOW,75);

       VarD:=HHV(HIGH,75);

       VarE:=(VarD-VarC)/100;

       VarF:=SMA((CLOSE-VarC)/VarE,20,1);

       Var10:=SMA((OPEN-VarC)/VarE,20,1);

       Var11:=3*VarF-2*SMA(VarF,15,1);

       Var12:=3*Var10-2*SMA(Var10,15,1);

       Var13:=100-Var12;

       Var14:=100-Var11;

       Var15:=MA(WINNER(CLOSE*0.95)*100,3);

       Var16:=100-IF(Var9 5,IF(Var9 100,Var9,VarB-10),0);

       Var17:=Var15 VarB;

       Var18:=REF(LOW,1)*0.9;

       Var19:=LOW*0.9;

       Var1A:=(Var19*VOL+Var18*(CAPITAL-VOL))/CAPITAL;

       Var1B:=EMA(Var1A,30);

       Var1C:=CLOSE-REF(CLOSE,1);

       Var1D:=MAX(Var1C,0);

       Var1E:=ABS(Var1C);

       Var1F:=SMA(Var1D,7,1)/SMA(Var1E,7,1)*100;

       Var20:=SMA(Var1D,13,1)/SMA(Var1E,13,1)*100;

       Var21:=BARSCOUNT(CLOSE);

       Var22:=SMA(MAX(Var1C,0),6,1)/SMA(ABS(Var1C),6,1)*100;

       Var23:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

       Var24:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

       Var25:=SMA((SMA(Var24,4,1)-50)*2,3,1);

       Var26:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

       Var27:=SMA(Var26,4,1);

       Var28:=SMA(Var27,3,1);

       Var29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

       Var2A:=Var22 =25ANDVar23 -95ANDVar29 20ANDVar25 -30ANDVar28 30ANDVar1B-CLOSE =-0.25ANDVar1F 22ANDVar20 28

       ANDVar21

       DRAWTEXT(CROSS(Var2A,0.5)ANDCOUNT(Var2A=1,10)=1,Var4,'♂发射'),COLORRED;

       DRAWTEXT(CROSS(Var17,0.5)ANDCOUNT(Var17=1,10)=1,Var3,'激烈交锋'),COLORWHITE;

       Var326:=IF(CLOSE REF(CLOSE,1),88,0);

       Var327:=CLOSE/REF(CLOSE,1) 1.050ANDHIGH/CLOSE 1.010ANDVar326

       STICKLINE(Var327 90,L*0.99,L*0.95,4,0),COLORYELLOW;

       DRAWTEXT(Var327 90,LOW*0.95,'追涨'),COLORYELLOW;

       选股公式:

       VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;

       VAR3:=(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+

       12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)

       +4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210;

       VAR4:=MA(VAR3,13);

       ★买入点:REF(CROSS(VAR3,VAR4),2)ANDVAR3 1.005*VAR4;

       集合竞价:=MA(CLOSE,20);UBN:=集合竞价+2*STD(CLOSE,20);LBN:=集合竞价-2*STD(CLOSE,20);KKK:=(LBN-LOW)/LOW*200*(-3);

       选股公式:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);

       抓住每日:=EMA(选股公式,3);XA_Z3:=(抓住每日-REF(抓住每日,1))/REF(抓住每日,1)*100;

       强势股:FILTER(KKK 1AND抓住每日 13ANDXA_Z3 13ANDC REF(C,1)ANDC REF(C,1)ANDKDJ.J 10ANDREF(C O,1)ANDC REF(C,1)*1.04,5);

       N10:=5;P1:=2;P2:=3;

       MA5:=MA(CLOSE,5);

       MA10:=MA(CLOSE,10);

       MA60:=MA(CLOSE,60);

       PDAY1:=BARSLAST(CROSS(MA60,MA5));{5日下穿60日均线}

       PDAY2:=BARSLAST(CROSS(MA60,MA10));{10日均线下穿60日均线,至此形成鸭颈部}

       PDAY3:=BARSLAST(LOW=LLV(LOW,PDAY2));{形成头部,要反弹}

       PDAY4:=BARSLAST(CROSS(MA5,MA10));{反弹后,5日均线和10日均线}

       PDAY5:=BARSLAST(CROSS(MA10,MA5));{反弹不久,5日均线和10日均线形成死叉,形成嘴部}

       A1:=PDAY1 PDAY2ANDPDAY2 PDAY3ANDPDAY3 PDAY4ANDPDAY4 PDAY5ANDPDAY5

       A2:=COUNT(CROSS(MA10,MA5),PDAY2)=1;

       唐鸭头:A1ANDA2,COLORFFFF00;

       DRAWTEXT(唐鸭头,0.8,'唐鸭头'),COLORFFFF00;

       VAR1:=MA(CLOSE,5);

       VAR2:=MA(CLOSE,10);

       VAR3:=MA(CLOSE,60);

       VAR4:=BARSLAST(CROSS(VAR1,VAR3));

       VAR5:=BARSLAST(CROSS(VAR2,VAR3));

       VAR6:=BARSLAST(HIGH=HHV(HIGH,VAR5));

       VAR7:=BARSLAST(CROSS(VAR2,VAR1));

       VAR8:=BARSLAST(CROSS(VAR1,VAR2));

       VAR9:=VAR4 VAR5ANDVAR5 VAR6ANDVAR6 VAR7ANDVAR7 VAR8ANDVAR8

       VARA:=COUNT(CROSS(VAR2,VAR1),VAR5)=1;

       老鸭头:VAR9ANDVARAANDVAR3 REF(VAR3,1),COLORFF00FF;

       DRAWTEXT(老鸭头,0.8,'老鸭头'),COLORFF00FF;

       NA1:=MIN(MA(C,5),MA(C,10)) MA(C,60)ANDCROSS(MA(C,5),MA(C,10));

       NA2:=MIN(MA(C,5),MA(C,10))/MA(C,60) 1.05;

       NA3:=COUNT(V MA(V,10),10)

       青龙取水:NA1ANDNA2ANDNA3,COLORFF9900,LINETHICK2;

       DRAWTEXT(青龙取水,0.8,'青龙取水'),COLORFF9900;

       线:=MA(C,180) REF(MA(C,180),2)ANDCOUNT(CROSS(MA(C,5),MA(C,180)),6) =1ANDC/MA(C,180) 1.04,COLORBLUE;

       穿180线:=MA(C,180) REF(MA(C,180),2)ANDCOUNT(CROSS(MA(C,5),MA(C,180)),6) =1ANDC/MA(C,180) 1.04,COLORBLUE;

       DRAWTEXT(穿180线,0.8,'180'),COLORBLUE;

       VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

       VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;

       VAR34:=EMA(VAR33,5);

       VAR35:=3*VAR33-2*VAR34;

       绝买:CROSS(VAR35,VAR33)ANDVAR33 2.1ANDC O,COLORRED;

       DRAWTEXT(绝买,0.9,'绝买'),COLORRED;

       SS1:=(LOW+HIGH+CLOSE*2)/4;

       SS2:=MA(SS1,4);

       SS3:=HHV(SS2,10);

       SS4:=MA(SS3,3);

       SS5:=1.25*SS4-0.25*SS3;

       XKKJ:=IF(SS5 SS3,SS3,SS5);

       FF1:=LLV(SS2,10);

       FF2:=MA(FF1,3);

       FF3:=1.25*FF2-0.25*FF1;

       DKKJ:=IF(FF3 FF1,FF1,FF3);

       MA13:=MA(C,13);

       ZDHM:=CROSS(C,DKKJ)ANDCROSS(C,MA13)ANDCROSS(C,XKKJ);

       ZHM:=CROSS(C,MA13)ANDCROSS(C,XKKJ);

       的卢:ZDHMORZHM,COLORGREEN;

       DRAWTEXT(的卢,0.5,'的卢'),COLORGREEN;

       MA111:=MA(CLOSE,20);

       MA112:=MA(CLOSE,40);

       MA113:=MA(CLOSE,60);

       A11:=OPEN MA111OROPEN MA112OROPEN MA113,COLORRED;

       A12:=C MAX(MA111,MAX(MA112,MA113)),COLORRED;

       A13:=V/MA(V,30) 1.2,COLORRED;

       A14:=C/REF(C,1) 1.049,COLORRED;

       出水芙蓉:A11ANDA12ANDA13ANDA14,COLORWHITE;

       DRAWTEXT(出水芙蓉,0.3,'出水芙蓉'),COLORWHITE;

       J:=(C*2+H+L)/4;

       K:=(EMA(J,13)-EMA(J,21))*180;

       D:=EMA(K,2);

       KK:=(K-D);

       DD:=-1*(K-D);

       SS:=CROSS(KK,DD);

       VARBB:=EMA(EMA(CLOSE,5),5);

       LL:=(VARBB-REF(VARBB,1))/REF(VARBB,1)*1000;

       MM:=CROSS(LL,0);

       黄买蓝出:=SSANDMM,COLORYELLOW;

       DRAWTEXT(黄买蓝出,0.47,'黄买'),COLORYELLOW;

       RSV100:=(CLOSE-LLV(LOW,N10))/(HHV(HIGH,N10)-LLV(LOW,N10))*100;

       K10:=SMA(RSV100,P1,1);

       D10:=SMA(K10,P2,1);

       J10:=3*K10-2*D10;

       KDJ买点:=J10 0,COLOR0066FF;

       DRAWTEXT(KDJ买点,0.6,'KDJ买点'),COLOR0066FF;

       VAR201:=CLOSE-REF(CLOSE,1);

       VAR202:=IF(CLOSE-REF(CLOSE,1) =0,VAR201,0);

       VAR203:=REF(CLOSE,1)-CLOSE;

       VAR204:=IF(CLOSE-REF(CLOSE,1) =0,VAR203,0);

       VAR205:=SUM(VAR202,8)/SUM(VAR204,8);

       VAR206:=1-1/(1+VAR205);

       :=EMA(VAR206,3),COLORCYAN;

       VAR207:=LLV(LOW,50);

       VAR208:=HHV(HIGH,50);

       VAR209:=EMA(CLOSE,2);

       :=EMA((VAR209-VAR207)/(VAR208-VAR207),8),COLOR00FF00;




    集合竞价选股公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 集合竞价选股公式抓住每日强势股 加入收藏