通达信竞价绝杀排序指标公式

{指标介绍:
1.黄金甲信号稳定的创业板票(主力净额大于1500万,占比大于8%,流通市值小于80亿);
2.情绪周期里面的三板以上的主板票(主力净额大于1500万,占比大于8%,流通市值小于150亿);
3.昨日涨停的创业板票,今日高开(主力净额大于800万,占比大于8%,流通市值小于80亿);
4.趋势票,主板或创业板票(沿5日均线上行,呈红肥绿瘦形态,多数分时低开高走,盘中有尖角波,围绕分时黄线上下振动,近几日主力净额持续流入)。}

参数:=2.95;
竞价量:=DYNAINFO(15)/O/100;
ZF:=(DYNAINFO(4)/DYNAINFO(3)-1)*100;
LTP:=IF(CAPITAL<100000,100000,CAPITAL);
竞价量比:=竞价量/REF(ma(V,5),1)*240;
竞价龙头:(ZF*竞价量/LTP*10000)/100;
FN2:=7;
FN3:=10;
FN4:=0;
FN5:=0;
FN6:=DAY!=REF(DAY,1);
FN7:=BArslAst(FN6)+1;
FN8:=vol*(CLOSE+LOW+HIGH)/3;
FN9:=SUM(FN8,FN7)/SUM(VOL,FN7);
FN10:=IF(FN6<=CONST(FN7),FN9,DRAWNULL);
FN11:=EMA(INDEXC,120)/EMA(CLOSE,120);
FN12:=IF(CLOSE<500 AND SETCODE<=2,(INDEXC/FN11+0.812*REF(INDEXC/FN11,1)+0.618*REF(INDEXC/FN11,2)+0.382*REF(INDEXC/FN11,3)+0.191*REF(INDEXC/FN11,4))/3.003,DRAWNULL);
FN13:=FN10>FN12;
FN14:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
FN15:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
FN16:=EMA(FN14,5);
FN17:=EMA(FN15,5);
FN18:=FN16-REF(FN16,1);
FN19:=FN17-REF(FN17,1);
FN20:=IF(FN18-FN19>0,(FN18-FN19)*5,0);
FN21:=FN20-REF(FN20,1);
FN22:=MA(CLOSE,20);
FN23:=BARSLASTCOUNT(CLOSE<FN22);
FN24:=BacKSET((FN23>=4)*FN23,FN23);
FN25:=BARSLASTCOUNT(CLOSE>FN22);
FN26:=BACKSET((FN25>=4)*FN25,FN25);
FN27:=BARSLASTCOUNT(NOT(FN24 OR FN26));
FN28:=BARSLASTCOUNT(REF(FN24>0,FN27));
FN29:=BARSLASTCOUNT(REF(FN26>0,FN27));
FN30:=IF(FN4=1,0,FILTERX(LLV(LOW,FN28)=LOW,FN28));
FN31:=IF(FN5=1,0,FILTERX(HHV(HIGH,FN29)=HIGH,FN29));
FN32:=IF(FN4=1,0,REF(HIGH,BARSLAST(FN31)));
FN33:=IF(FN5=1,0,REF(LOW,BARSLAST(FN30)));
FN34:=BARSLAST(FN28=1);
FN35:=REF(FN32,BARSLAST(FN28));
FN36:=REF(FN33,FN34);
FN37:=FN35+(FN35-FN36)*0.191;
FN38:=REFDATE(FN37,DATE);
FN39:=CURRBARSCOUNT<=60 AND crOSS(CLOSE,FN38);
FN40:=REF(HIGH,7)=HHV(HIGH,2*7+1);
FN41:=BACKSET(FN40,7+1);
FN42:=FILTER(FN41,7) AND HIGH=HHV(HIGH,7+1);
FN43:=IF(FN4=1,0,BARSLAST(FN42));
FN44:=IF(FN42,CURRBARSCOUNT,0);
FN45:=IF(FN43,REF(HIGH,FN43),HIGH);
FN46:=IF(FN43,REF(FN44,FN43),FN44);
FN47:=REF(FN45,FN43+1);
FN48:=CONST(FN46);
FN49:=REF(FN46,FN43+1);
FN50:=CONST(FN49);
FN51:=REF(FN47,FN43+1);
FN52:=IF(CURRBARSCOUNT>FN50,0,1);
FN53:=DRAWLINE(CURRBARSCOUNT=FN50,HIGH,CURRBARSCOUNT=FN48,HIGH,1);
FN54:=IF(FN53>REF(FN53,1),DRAWNULL,FN53);
FN55:=REF(LOW,FN2)=LLV(LOW,2*FN2+1);
FN56:=BACKSET(FN55,FN2+1);
FN57:=FILTER(FN56,FN2) AND LOW=LLV(LOW,FN2+1);
FN58:=IF(FN5=1,0,BARSLAST(FN57));
FN59:=IF(FN57,CURRBARSCOUNT,0);
FN60:=IF(FN58,REF(LOW,FN58),LOW);
FN61:=IF(FN58,REF(FN59,FN58),FN59);
FN62:=CONST(FN61);
FN63:=REF(FN60,FN58+1);
FN64:=REF(FN61,FN58+1);
FN65:=CONST(FN64);
FN66:=DRAWLINE(CURRBARSCOUNT=FN65,LOW,CURRBARSCOUNT=FN62,LOW,1);
FN67:=IF(FN66<REF(FN66,1),DRAWNULL,FN66);
FN68:=BACKSET(BARSTATUS=2,BARSLAST(FN42)+1);
FN69:=FN68>REF(FN68,1);
FN70:=BACKSET(BARSTATUS=2,BARSLAST(FN57)+1);
FN71:=FN70>REF(FN70,1);
FN72:=BACKSET(FN69,REF(BARSLAST(FN42),1)+2);
FN73:=FN72>REF(FN72,1);
FN74:=BACKSET(FN71,REF(BARSLAST(FN57),1)+2);
FN75:=FN74>REF(FN74,1);
FN76:=BARSLAST(FN71)+1;
FN77:=BARSLAST(FN75)+1;
FN78:=IF(FN76=DRAWNULL AND FN77>0 AND FN42 AND FN4!=1,HIGH,DRAWNULL);
FN79:=BARSLAST(FN69)+1;
FN80:=BARSLAST(FN73)+1;
FN81:=IF(FN79=DRAWNULL AND FN80>0 AND FN57 AND FN5!=1,LOW,DRAWNULL);
FN82:=CONST(HHV(FN78-FN67,0));
FN83:=DRAWLINE(CURRBARSCOUNT=FN65,LOW+FN82,CURRBARSCOUNT=FN62,LOW+FN82,1);
FN84:=5;
FN85:=1;
FN86:=FN84;
FN87:=REF(HIGH,FN86)=HHV(HIGH,2*FN86+1);
FN88:=FILTER(FN87,FN86);
FN89:=BACKSET(FN88,FN86+1);
FN90:=FILTER(FN89,FN86);
FN91:=REF(HIGH,BARSLAST(FN90));
FN92:=REF(MAX(CLOSE,OPEN),FN86)=HHV(MAX(CLOSE,OPEN),2*FN86+1);
FN93:=FILTER(FN92,FN86);
FN94:=BACKSET(FN93,FN86+1);
FN95:=FILTER(FN94,FN86);
FN96:=REF(MAX(CLOSE,OPEN),BARSLAST(FN95));
FN97:=REF(LOW,FN86)=LLV(LOW,2*FN86+1);
FN98:=FILTER(FN97,FN86);
FN99:=BACKSET(FN98,FN86+1);
FN100:=FILTER(FN99,FN86);
FN101:=REF(LOW,BARSLAST(FN100));
FN102:=REF(MIN(CLOSE,OPEN),FN86)=LLV(MIN(CLOSE,OPEN),2*FN86+1);
FN103:=FILTER(FN102,FN86);
FN104:=BACKSET(FN103,FN86+1);
FN105:=FILTER(FN104,FN86);
FN106:=REF(MIN(CLOSE,OPEN),BARSLAST(FN105));
FN107:=IF(FN85=0,FN91,FN96);
FN108:=IF(FN85=0,FN101,FN106);
FN109:=FN107=REF(FN107,1) AND FN84>0 AND CROSS(CLOSE,FN107);
FN110:=FN109 OR (REF(FN109,1) AND CLOSE>FN107 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04 AND CLOSE>=OPEN);
FN111:=0.1;
FN112:=CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND OPEN<HIGH;
FN113:=CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND OPEN=HIGH;
FN114:=HIGH>=ZTPRICE(REF(CLOSE,1),FN111) AND CLOSE<HIGH;
FN115:=1+3*FN112+2*FN113+0.2*FN114;
FN116:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
FN117:=FN116*FN115;
FN118:=REF(FN113,1) AND NOT(FN113) AND NOT(REF(EVERY(FN113=1,9),1));
FN119:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
FN120:=IF(CLOSE>OPEN,FN119*(HIGH-LOW),IF(CLOSE<OPEN,FN119*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL*0.7,VOL*0.3)));
FN121:=IF(CLOSE>OPEN,FN119*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,FN119*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL*0.7,VOL*0.3)));
FN122:=SUM((FN120-FN121)/CAPITAL,1)*1000;
FN123:=VOL/10000;
FN124:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
FN125:=MOD(FROMOPEN,FN124);
FN126:=IF(FN125<0.5,FN124,FN125);
FN127:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*FN124/FN126/10000,DRAWNULL);
FN128:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,FN127,FN123);
FN129:=FN128/REF(MA(FN128,5),1);
FN130:=IF(FN129>30,1,IF(FN129>3 AND FN129<=30,33,IF(CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND FN129<=2,FN129*20,FN129)));
FN131:=DAY!=REF(DAY,1);
FN132:=BARSLAST(FN131)+1;
FN133:=VOL*(INDEXC+INDEXL+INDEXH)/3;
FN134:=VOL*(CLOSE+LOW+HIGH)/3;
FN135:=IF(SETCODE<=2 AND CLOSE<300,FN133,FN134);
FN136:=SUM(FN135,FN132)/SUM(VOL,FN132);
FN137:=IF(FN131<=CONST(FN132),FN136,DRAWNULL);
FN138:=REF(FN137,1);
FN139:=IF(SETCODE<=2 AND CLOSE<300,INDEXC>FN138,1);
DPTQ:=IF(FN139=1 AND INDEXC>=INDEXO,1,IF(FN139=0 AND INDEXC<=INDEXO,(-1),0)),NODRAW;
FN141:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
FN142:=EMA(CLOSE,2)-EMA(CLOSE,89);
FN143:=EMA(FN142,30);
FN144:=2*(FN142-FN143)*10;
FN145:=POW(FN144,3)*0.1+POW(FN144,2);
FN146:=SMA((CLOSE-REF(CLOSE,1))*VOL,3,1)/10000;
FN147:=EMA(FN146,12)-EMA(FN146,26);
FN148:=EMA(FN147,9);
FN149:=(FN147-FN148)*2;
FN150:=IF(SETCODE<=2 AND CLOSE<300 AND FN149>REF(FN149,1),FN149-REF(FN149,1),0);
FN151:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FN152:=SMA(FN151,3,1);
FN153:=SMA(FN152,3,1);
FN154:=FN39 OR CROSS(CLOSE,FN83) OR CROSS(CLOSE,FN54) OR FN110 AND FN152<90 AND FN153<80;
FN155:=VOL>0;
FN156:=IF(NAMELIKE(1),0,1);
FN157:=IF(NAMELIKE(2),0,1);
FN158:=FN156 AND FN157;
FN159:=FN158 AND FN155 AND FN145>=REF(FN145,1) AND FN13 AND CLOSE>=COST(80);
FN160:=FINANCE(40)<300.00*100000000 AND FINANCE(7)<=20.00*100000000;
FN161:=IF(CLOSE<500,FN160,1);
FN162:=IF(DPTQ!=(-1),1,IF(DPTQ=(-1) AND CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND CLOSE=HIGH,1,0));
优选①号:IF(竞价龙头>参数 AND FN162 AND FN161 AND FN159 AND (FN154 OR FN118),(FN122+FN21*2+FN117+FN130+FN150*10),0),NODRAW;
AA:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
SL3:=EMA(AA,5);
BB:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
SL4:=EMA(BB,5);
SL5:=SL3-REF(SL3,1);
SL6:=SL4-REF(SL4,1);
SL7:=IF(SL5-SL6>0,(SL5-SL6)*5,0);
SL8:=SL7-REF(SL7,1);
SL9:=SMA((CLOSE-REF(CLOSE,1))*VOL,3,1)/10000;
SL10:=1;
SL11:=EMA(SL9,12)-EMA(SL9,26);
SL12:=EMA(SL11,9);
SL13:=(SL11-SL12)*2;
SL14:=HHVBARS(SL13,BARSLAST(SL13<0)+1);
SL15:=CROSS(BACKSET(CROSS(0,SL13),REF(SL14,1)+2),0.5);
SL16:=DRAWLINE(SL15,SL13,REF(SL15,1),REF(SL13,1),1);
SL17:=SL13>SL16 AND SL13>=REF(SL13,1);
SL18:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;
SL19:=BARSSINCE(CLOSE)<1 OR BARSSINCE(CLOSE)<34 AND CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;
SL20:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW<HIGH;
SL21:=HIGH>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<HIGH;
SL22:=1+3*SL20+1*SL18+0.2*SL21;
SL23:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
SL24:=SL23*SL22;
SL25:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
SL26:=IF(CLOSE>OPEN,SL25*(HIGH-LOW),IF(CLOSE<OPEN,SL25*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL*0.7,VOL*0.3)));
SL27:=IF(CLOSE>OPEN,SL25*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,SL25*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL*0.7,VOL*0.3)));
SL28:=IF(SL10!=1,0,SUM((SL26-SL27)/CAPITAL,1)*1000);
J1:=VOL/10000;
J2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
J3:=MOD(FROMOPEN,J2);
J6:=IF(J3<0.5,J2,J3);
J4:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*J2/J6/10000,DRAWNULL);
J5:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,J4,J1);
SL29:=J5/REF(MA(J5,5),1);
SL30:=IF(SL29>30,1,IF(SL29>3 AND SL29<=30,SL29,IF(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND SL29<=2,SL29*20,SL29)));
SL31:=IF(CLOSE>=REF(CLOSE,1) AND SL29>3,33,IF(CLOSE<REF(CLOSE,1) AND SL29>3,0,IF(CLOSE>=REF(CLOSE,1) AND SL29<=3,SL29*10,SL29)));
SL32:=SL10;
SL33:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*SL32;
SL34:=IF(C>0,EMA(MAX(C-REF(C,1),0),83)/EMA(ABS(C-REF(C,1)),83)*101,0);
SL35:=EMA(CLOSE,2)-EMA(CLOSE,89);
SL36:=EMA(SL35,30)*SL32;
SL37:=2*(SL35-SL36)*10*SL32;
SL38:=POW(SL37,3)*0.1+POW(SL37,2)*SL32;
SL39:=IF(SL37>0.015,SL38,0)/45*SL32;
SL40:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
SL41:=SL13-REF(SL13,1);
SL42:=DYNAINFO(4)>0;
SL43:=EXIST(ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.052,20) AND EXIST(CLOSE/REF(CLOSE,1)>1.15,2)!=1;
SL44:=FINANCE(40)<300*100000000 AND FINANCE(7)<=20*100000000;
SL45:=DAY!=REF(DAY,1);
SL46:=BARSLAST(SL45)+1;
SL47:=VOL*(INDEXC+INDEXL+INDEXH)/3;
SL48:=SUM(SL47,SL46)/SUM(VOL,SL46);
SL49:=IF(SL45<=CONST(SL46),SL48,DRAWNULL);
SL50:=REF(SL49,1);
SL51:=INDEXC>=SL50;
SL52:=IF(SL51=1 AND INDEXC>=INDEXO,1,IF(SL51=0 AND INDEXC<=INDEXO,(-1),0));
SL53:=IF(SL52!=(-1),1,IF(SL52=(-1) AND CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH,1,0));
SL54:=SL43 AND SL42 AND SL19=0 AND AMOUNT/10000>1000;
SL55:=COUNT(HIGH/REF(CLOSE,1)>=1.081,5)>=2 AND CLOSE>=OPEN;
SL56:=INDEXADV/(INDEXADV+INDEXDEC);
SL57:=SL10;
SL58:=IF(SL57=1,SL56*100,0);
SL59:=SL58>85 OR REF(SL58,1)>85;
SL60:=IF(0=1,SL59,0);
SL61:=EMA(CLOSE,12)-EMA(CLOSE,26);
SL62:=EMA(SL61,9);
SL63:=BARSLAST(YEAR>REF(YEAR,1))+1;
SL64:=IF(SL63=DRAWNULL,BARSCOUNT(CLOSE)+1,SL63);
SL65:=(CLOSE/REF(CLOSE,SL64)-1)*100;
SL66:=BARSLASTCOUNT(SL61>SL62);
SL67:=(CLOSE/REF(CLOSE,SL66+1)-1)*100;
SL68:=SL34>53 AND CLOSE>=OPEN;
SL69:=(CLOSE-SL40)/SL40*200 ;
优选②号:IF(竞价龙头>参数 AND SL60=0 AND SL54 AND SL44 AND SL55 AND SL68 AND SL17=1,(SL28+SL8*3+SL24+SL31+SL41*5+SL69),0),NODRAW,COLORMAGENTA;
风控开关:=IF(FN139=1 AND INDEXC>=INDEXO,1,IF(FN139=0 AND INDEXC<=INDEXO,(-1),0)),NODRAW;
{FJ0:=(MA(C,3));
FJ1:=(MA(C,5));
FJ2:=(MA(C,10));
FJ3:=(MA(C,20));
FJ4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));
FJ5:=(((ATAN(((FJ0 / (REF(FJ0,1))) - 1) * 100)) * 180) / (3.1416));
FJ6:=(((ATAN(((FJ1 / (REF(FJ1,1))) - 1) * 100)) * 180) / (3.1416));
FJ7:=(((ATAN(((FJ2 / (REF(FJ2,1))) - 1) * 100)) * 180) / (3.1416));
FJ8:=(((ATAN(((FJ3 / (REF(FJ3,1))) - 1) * 100)) * 180) / (3.1416));
疯子MA20:(((COUNT((((C / (REF(C,1))) - 1) * 100) > 5.6,60)) AND ((DYNAINFO(4)) > 0)) AND (IF(((((FJ5 > 45) AND (FJ6 > 45)) AND (FJ7 > 60)) AND (FJ8 > 45)) AND ((MA(C,250)) > (REF(MA(C,250),1))),1,0))),COLORGREEN;};
涨速:DYNAINFO(24);
量比:DYNAINFO(15)/OPEN/(REF(SUM(VOL,5),1)/12);
竞额比:DYNAINFO(15)/((FINANCE(7)/100000000)*REF(CLOSE,1))/100000;{按竞流比降序排序,不含次新股}
昨量比:DYNAINFO(15)/OPEN/REF(VOL,1);
竞额W:IF(DATE<=1501207,DYNAINFO(15)/10000,0);
今开%:(O/REF(C,1)-1)*100;
收益%:DYNAINFO(14)*100-今开%;
开盘价:OPEN;
板块:DRAWTEXT(1,1,HYBLOCK),NODRAW;
利润同比%:FINANCE(43);
收入同比%:FINANCE(44);
概念:DRAWTEXT(1,1,GNBLOCK),NODRAW;

 



未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图