通达信竞价绝杀A 2023版副图排序竞价 源码附图


参数:=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
相关股票指标公式

参数赋值:2.95
竞价量赋值:开盘金额/O/100
ZF赋值:(开盘价/DYNAINFO(3)-1)*100
如果当前流通股本<100000返回100000否则返回当前流通股本
竞价量比:=竞价量/REF(V的5日简单移动平均,1)*240
输出竞价龙头:(ZF*竞价量/LTP*10000)/100
FN2赋值:7
FN3赋值:10
FN4赋值:0
FN5赋值:0
FN6赋值:DAY!=1日前的DAY
FN7赋值:上次FN6距今天数+1
FN8赋值:成交量*(收盘价+最低价+最高价)/3
FN9赋值:FN7的FN8日累和/FN7的成交量日累和
FN10赋值:IF(FN6<=CONST(FN7),FN9,DRAWNULL)
FN11赋值:INDEXC的120日指数移动平均/收盘价的120日指数移动平均
FN12赋值:IF(收盘价<500 AND SETCODE<=2,(INDEXC/FN11+0.812*1日前的INDEXC/FN11+0.618*2日前的INDEXC/FN11+0.382*3日前的INDEXC/FN11+0.191*4日前的INDEXC/FN11)/3.003,DRAWNULL)
FN13赋值:FN10>FN12
FN14赋值:(收盘价的12日指数移动平均/收盘价的26日指数移动平均-1)*1000
FN15赋值:(INDEXC的12日指数移动平均/INDEXC的26日指数移动平均-1)*1000
FN16赋值:FN14的5日指数移动平均
FN17赋值:FN15的5日指数移动平均
FN18赋值:FN16-1日前的FN16
FN19赋值:FN17-1日前的FN17
FN20:=IF(FN18-FN19>0,(FN18-FN19)*5,0)
FN21:=FN20-1日前的FN20
FN22:=收盘价的20日简单移动平均
FN23:= 条件连续成立次数(收盘价 FN24:=BACKSET((FN23>=4)*FN23,FN23)
FN25:= 条件连续成立次数(收盘价>FN22)
FN26:=BACKSET((FN25>=4)*FN25,FN25)
FN27:= 条件连续成立次数(NOT(FN24 OR FN26))
FN28:= 条件连续成立次数(FN27日前的FN24>0)
FN29:= 条件连续成立次数(FN27日前的FN26>0)
FN30:=IF(FN4=1,0,FILTERX(FN28日内最低价最低值=最低价,FN28))
FN31:=IF(FN5=1,0,FILTERX(FN29日内最高价最高值=最高价,FN29))
FN32:=IF(FN4=1,0,REF(最高价,上次FN31距今天数))
FN33:=IF(FN5=1,0,REF(最低价,上次FN30距今天数))
FN34:=上次FN28=1距今天数
FN35:=REF(FN32,上次FN28距今天数)
FN36:=FN34日前的FN33
FN37:=FN35+(FN35-FN36)*0.191
FN38:=日期REF日期FN37日
FN39:= 到最后交易的周期<=60 AND 收盘价上穿FN38
FN40:=7日前的最高价=2*7+1日内最高价最高值
FN41:=BACKSET(FN40,7+1)
FN42:=FN41的7过滤 AND 最高价=7+1日内最高价最高值
FN43:=IF(FN4=1,0,上次FN42距今天数)
如果FN42返回 到最后交易的周期否则返回0
FN45:=IF(FN43,FN43日前的最高价,最高价)
FN46:=IF(FN43,FN43日前的FN44,FN44)
FN47:=FN43+1日前的FN45
FN48:=CONST(FN46)
FN49:=FN43+1日前的FN46
FN50:=CONST(FN49)
FN51:=FN43+1日前的FN47
如果 到最后交易的周期>FN50返回0否则返回1
FN53:=DRAWLINE( 到最后交易的周期=FN50,最高价, 到最后交易的周期=FN48,最高价,1)
FN54:=IF(FN53>1日前的FN53,DRAWNULL,FN53)
FN55:=FN2日前的最低价=2*FN2+1日内最低价最低值
FN56:=BACKSET(FN55,FN2+1)
FN57:=FN56的FN2过滤 AND 最低价=FN2+1日内最低价最低值
FN58:=IF(FN5=1,0,上次FN57距今天数)
如果FN57返回 到最后交易的周期否则返回0
FN60:=IF(FN58,FN58日前的最低价,最低价)
FN61:=IF(FN58,FN58日前的FN59,FN59)
FN62:=CONST(FN61)
FN63:=FN58+1日前的FN60
FN64:=FN58+1日前的FN61
FN65:=CONST(FN64)
FN66:=DRAWLINE( 到最后交易的周期=FN65,最低价, 到最后交易的周期=FN62,最低价,1)
FN67:=IF(FN66<1日前的FN66,DRAWNULL,FN66)
FN68:=BACKSET(BARSTATUS=2,上次FN42距今天数+1)
FN69:=FN68>1日前的FN68
FN70:=BACKSET(BARSTATUS=2,上次FN57距今天数+1)
FN71:=FN70>1日前的FN70
FN72:=BACKSET(FN69,REF(上次FN42距今天数,1)+2)
FN73:=FN72>1日前的FN72
FN74:=BACKSET(FN71,REF(上次FN57距今天数,1)+2)
FN75:=FN74>1日前的FN74
FN76:=上次FN71距今天数+1
FN77:=上次FN75距今天数+1
如果FN76=DRAWNULL AND FN77>0 AND FN42 AND FN4!=1返回最高价否则返回DRAWNULL
FN79:=上次FN69距今天数+1
FN80:=上次FN73距今天数+1
如果FN79=DRAWNULL AND FN80>0 AND FN57 AND FN5!=1返回最低价否则返回DRAWNULL
FN82:=CONST(0日内FN78-FN67最高值)
FN83:=DRAWLINE( 到最后交易的周期=FN65,最低价+FN82, 到最后交易的周期=FN62,最低价+FN82,1)
FN84:=5
FN85:=1
FN86:=FN84
FN87:=FN86日前的最高价=2*FN86+1日内最高价最高值
FN88:=FN87的FN86过滤
FN89:=BACKSET(FN88,FN86+1)
FN90:=FN89的FN86过滤
FN91:=REF(最高价,上次FN90距今天数)
FN92:=REF(收盘价和开盘价较大值,FN86)=2*FN86+1日内收盘价和开盘价较大值最高值
FN93:=FN92的FN86过滤
FN94:=BACKSET(FN93,FN86+1)
FN95:=FN94的FN86过滤
FN96:=REF(收盘价和开盘价较大值,上次FN95距今天数)
FN97:=FN86日前的最低价=2*FN86+1日内最低价最低值
FN98:=FN97的FN86过滤
FN99:=BACKSET(FN98,FN86+1)
FN100:=FN99的FN86过滤
FN101:=REF(最低价,上次FN100距今天数)
FN102:=REF(收盘价和开盘价的较小值,FN86)=2*FN86+1日内收盘价和开盘价的较小值最低值
FN103:=FN102的FN86过滤
FN104:=BACKSET(FN103,FN86+1)
FN105:=FN104的FN86过滤
FN106:=REF(收盘价和开盘价的较小值,上次FN105距今天数)
如果FN85=0返回FN91否则返回FN96
如果FN85=0返回FN101否则返回FN106
FN109:=FN107=1日前的FN107 AND FN84>0 AND 收盘价上穿FN107
FN110:=FN109 OR (1日前的FN109 AND 收盘价>FN107 AND 1日前的收盘价/2日前的收盘价<1.04 AND 收盘价>=开盘价)
FN111:=0.1
FN112:=收盘价>=ZTPRICE(1日前的收盘价,FN111) AND 开盘价<最高价
FN113:=收盘价>=ZTPRICE(1日前的收盘价,FN111) AND 开盘价=最高价
FN114:=最高价>=ZTPRICE(1日前的收盘价,FN111) AND 收盘价<最高价
FN115:=1+3*FN112+2*FN113+0.2*FN114
FN116:=(收盘价-1日前的收盘价)/1日前的收盘价*100
FN117:=FN116*FN115
FN118:=1日前的FN113 AND NOT(FN113) AND NOT(1日前的FN113=1最近9日一直存在)
FN119:=成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
FN120:=IF(收盘价>开盘价,FN119*(最高价-最低价),IF(收盘价<开盘价,FN119*(最高价-开盘价+(收盘价-最低价)),IF(收盘价=开盘价 AND 收盘价>1日前的收盘价,成交量*0.7,成交量*0.3)))
FN121:=IF(收盘价>开盘价,FN119*(最高价-收盘价+(开盘价-最低价)),IF(收盘价<开盘价,FN119*(最高价-最低价),IF(收盘价=开盘价 AND 收盘价<1日前的收盘价,成交量*0.7,成交量*0.3)))
FN122:=SUM((FN120-FN121)/当前流通股本,1)*1000
FN123:=成交量/10000
FN124:=IF(周期类型=1,5,IF(周期类型=2,15,IF(周期类型=3,30,IF(周期类型=4,60,IF(周期类型=5,TOTALFZNUM,1)))))
FN125:=MOD(FROM开盘价,FN124)
如果FN125<0.5返回FN124否则返回FN125
FN127:=IF( 到最后交易的周期=1 AND 周期类型<=5 AND DYNAINFO(8)>1,成交量*FN124/FN126/10000,DRAWNULL)
如果 到最后交易的周期=1 AND 周期类型<=5返回FN127否则返回FN123
FN129:=FN128/REF(FN128的5日简单移动平均,1)
FN130:=IF(FN129>30,1,IF(FN129>3 AND FN129<=30,33,IF(收盘价>=ZTPRICE(1日前的收盘价,FN111) AND FN129<=2,FN129*20,FN129)))
FN131:=DAY!=1日前的DAY
FN132:=上次FN131距今天数+1
FN133:=成交量*(INDEXC+INDEXL+INDEXH)/3
FN134:=成交量*(收盘价+最低价+最高价)/3
如果SETCODE<=2 AND 收盘价<300返回FN133否则返回FN134
FN136:=FN132的FN135日累和/FN132的成交量日累和
FN137:=IF(FN131<=CONST(FN132),FN136,DRAWNULL)
FN138:=1日前的FN137
如果SETCODE<=2 AND 收盘价<300返回INDEXC>FN138否则返回1
DPTQ赋值:IF(FN139=1 AND INDEXC>=INDEXO,1,IF(FN139=0 AND INDEXC<=INDEXO,(-1),0)),NODRAW
FN141:=EMA(100*(收盘价-100日内最低价最低值)/(100日内最高价最高值-100日内最低价最低值),13)/4
FN142:=收盘价的2日指数移动平均-收盘价的89日指数移动平均
FN143:=FN142的30日指数移动平均
FN144:=2*(FN142-FN143)*10
FN145:=POW(FN144,3)*0.1+POW(FN144,2)
FN146:=SMA((收盘价-1日前的收盘价)*成交量,3,1)/10000
FN147:=FN146的12日指数移动平均-FN146的26日指数移动平均
FN148:=FN147的9日指数移动平均
FN149:=(FN147-FN148)*2
FN150:=IF(SETCODE<=2 AND 收盘价<300 AND FN149>1日前的FN149,FN149-1日前的FN149,0)
FN151:=(收盘价-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*100
FN151的3日[1日权重]移动平均
FN152的3日[1日权重]移动平均
FN154:=FN39 OR 收盘价上穿FN83 OR 收盘价上穿FN54 OR FN110 AND FN152<90 AND FN153<80
FN155:=成交量>0
FN156:=IF(NAMELIKE(1),0,1)
FN157:=IF(NAMELIKE(2),0,1)
FN158:=FN156 AND FN157
FN159:=FN158 AND FN155 AND FN145>=1日前的FN145 AND FN13 AND 收盘价>=获利盘为80%的成本分布
FN160:=FINANCE(40)<300.00*100000000 AND FINANCE(7)<=20.00*100000000
如果收盘价<500返回FN160否则返回1
FN162:=IF(DPTQ!=(-1),1,IF(DPTQ=(-1) AND 收盘价>=ZTPRICE(1日前的收盘价,FN111) AND 收盘价=最高价,1,0))
输出优选①号:IF(竞价龙头>参数 AND FN162 AND FN161 AND FN159 AND (FN154 OR FN118),(FN122+FN21*2+FN117+FN130+FN150*10),0),NODRAW
AA赋值:(收盘价的12日指数移动平均/收盘价的26日指数移动平均-1)*1000
SL3赋值:AA的5日指数移动平均
BB赋值:(INDEXC的12日指数移动平均/INDEXC的26日指数移动平均-1)*1000
SL4赋值:BB的5日指数移动平均
SL5赋值:SL3-1日前的SL3
SL6赋值:SL4-1日前的SL4
SL7赋值:IF(SL5-SL6>0,(SL5-SL6)*5,0)
SL8赋值:SL7-1日前的SL7
SL9赋值:SMA((收盘价-1日前的收盘价)*成交量,3,1)/10000
SL10赋值:1
SL11赋值:SL9的12日指数移动平均-SL9的26日指数移动平均
SL12赋值:SL11的9日指数移动平均
SL13赋值:(SL11-SL12)*2
SL14赋值:HHVBARS(SL13,上次SL13<0距今天数+1)
SL15赋值:CROSS(BACKSET(CROSS(0,SL13),1日前的SL14+2),0.5)
SL16赋值:DRAWLINE(SL15,SL13,1日前的SL15,1日前的SL13,1)
SL17赋值:SL13>SL16 AND SL13>=1日前的SL13
SL18赋值:收盘价>=ZTPRICE(1日前的收盘价,0.1) AND 最低价=最高价
SL19赋值:BARSSINCE(收盘价)<1 OR BARSSINCE(收盘价)<34 AND 收盘价>=ZTPRICE(1日前的收盘价,0.1) AND 最低价=最高价
SL20赋值:收盘价>=ZTPRICE(1日前的收盘价,0.1) AND 最低价<最高价
SL21赋值:最高价>=ZTPRICE(1日前的收盘价,0.1) AND 收盘价<最高价
SL22赋值:1+3*SL20+1*SL18+0.2*SL21
SL23赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100
SL24赋值:SL23*SL22
SL25赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
SL26赋值:IF(收盘价>开盘价,SL25*(最高价-最低价),IF(收盘价<开盘价,SL25*(最高价-开盘价+(收盘价-最低价)),IF(收盘价=开盘价 AND 收盘价>1日前的收盘价,成交量*0.7,成交量*0.3)))
SL27赋值:IF(收盘价>开盘价,SL25*(最高价-收盘价+(开盘价-最低价)),IF(收盘价<开盘价,SL25*(最高价-最低价),IF(收盘价=开盘价 AND 收盘价<1日前的收盘价,成交量*0.7,成交量*0.3)))
SL28赋值:IF(SL10!=1,0,SUM((SL26-SL27)/当前流通股本,1)*1000)
J1赋值:成交量/10000
J2赋值:IF(周期类型=1,5,IF(周期类型=2,15,IF(周期类型=3,30,IF(周期类型=4,60,IF(周期类型=5,TOTALFZNUM,1)))))
J3赋值:MOD(FROM开盘价,J2)
如果J3<0.5返回J2否则返回J3
J4赋值:IF( 到最后交易的周期=1 AND 周期类型<=5 AND DYNAINFO(8)>1,成交量*J2/J6/10000,DRAWNULL)
如果 到最后交易的周期=1 AND 周期类型<=5返回J4否则返回J1
SL29赋值:J5/REF(J5的5日简单移动平均,1)
SL30:=IF(SL29>30,1,IF(SL29>3 AND SL29<=30,SL29,IF(收盘价>=ZTPRICE(1日前的收盘价,0.1) AND SL29<=2,SL29*20,SL29)))
SL31:=IF(收盘价>=1日前的收盘价 AND SL29>3,33,IF(收盘价<1日前的收盘价 AND SL29>3,0,IF(收盘价>=1日前的收盘价 AND SL29<=3,SL29*10,SL29)))
SL32:=SL10
SL33:=EMA(100*(收盘价-100日内最低价最低值)/(100日内最高价最高值-100日内最低价最低值),13)/4*SL32
SL34:=IF(C>0,EC-1日前的C和0较大值的83日简单移动平均/EMA(C-1日前的C的绝对值,83)*101,0)
SL35:=收盘价的2日指数移动平均-收盘价的89日指数移动平均
SL36:=SL35的30日指数移动平均*SL32
SL37:=2*(SL35-SL36)*10*SL32
SL38:=POW(SL37,3)*0.1+POW(SL37,2)*SL32
如果SL37>0.015返回SL38否则返回0
SL40:=D收盘价的12日指数移动平均的5的成交量日累和/3/当前流通股本日简单移动平均
SL41:=SL13-1日前的SL13
SL42:=开盘价>0
SL43:=EXIST(收盘价-1日前的收盘价的绝对值/1日前的收盘价>0.052,20) AND EXIST(收盘价/1日前的收盘价>1.15,2)!=1
SL44:=FINANCE(40)<300*100000000 AND FINANCE(7)<=20*100000000
SL45:=DAY!=1日前的DAY
SL46:=上次SL45距今天数+1
SL47:=成交量*(INDEXC+INDEXL+INDEXH)/3
SL48:=SL46的SL47日累和/SL46的成交量日累和
SL49:=IF(SL45<=CONST(SL46),SL48,DRAWNULL)
SL50:=1日前的SL49
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 收盘价>=ZTPRICE(1日前的收盘价,0.1) AND 收盘价=最高价,1,0))
SL54:=SL43 AND SL42 AND SL19=0 AND 成交额/10000>1000
SL55:=COUNT(最高价/1日前的收盘价>=1.081,5)>=2 AND 收盘价>=开盘价
SL56:=INDEXADV/(INDEXADV+INDEXDEC)
SL57:=SL10
如果SL57=1返回SL56*100否则返回0
SL59:=SL58>85 OR 1日前的SL58>85
如果0=1返回SL59否则返回0
SL61:=收盘价的12日指数移动平均-收盘价的26日指数移动平均
SL62:=SL61的9日指数移动平均
SL63:=上次YEAR>1日前的YEAR距今天数+1
SL64:=IF(SL63=DRAWNULL,收盘价的有效数据周期数+1,SL63)
SL65:=(收盘价/SL64日前的收盘价-1)*100
SL66:= 条件连续成立次数(SL61>SL62)
SL67:=(收盘价/SL66+1日前的收盘价-1)*100
SL68:=SL34>53 AND 收盘价>=开盘价
SL69:=(收盘价-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,画洋红色
风控开关赋值:IF(FN139=1 AND INDEXC>=INDEXO,1,IF(FN139=0 AND INDEXC<=INDEXO,(-1),0)),NODRAW
{FJ0赋值:(C的3日简单移动平均)
FJ1赋值:(C的5日简单移动平均)
FJ2赋值:(C的10日简单移动平均)
FJ3赋值:(C的20日简单移动平均)
FJ4赋值:(((((C的3日简单移动平均) > (REF(C的3日简单移动平均,1))) AND ((C的5日简单移动平均) > (REF(C的5日简单移动平均,1)))) AND (C > (C的3日简单移动平均))) AND ((C的3日简单移动平均) > (C的5日简单移动平均)))
FJ5赋值:(((ATAN(((FJ0 / (1日前的FJ0)) - 1) * 100)) * 180) / (3.1416))
FJ6赋值:(((ATAN(((FJ1 / (1日前的FJ1)) - 1) * 100)) * 180) / (3.1416))
FJ7赋值:(((ATAN(((FJ2 / (1日前的FJ2)) - 1) * 100)) * 180) / (3.1416))
FJ8赋值:(((ATAN(((FJ3 / (1日前的FJ3)) - 1) * 100)) * 180) / (3.1416))
输出疯子MA20:(((COUNT((((C / (1日前的C)) - 1) * 100) > 5.6,60)) AND ((开盘价) > 0)) AND (IF(((((FJ5 > 45) AND (FJ6 > 45)) AND (FJ7 > 60)) AND (FJ8 > 45)) AND ((C的250日简单移动平均) > (REF(C的250日简单移动平均,1))),1,0))),画绿色
}
输出涨速:DYNAINFO(24)
输出量比:开盘金额/开盘价/(REF(5的成交量日累和,1)/12)
输出竞额比:开盘金额/((FINANCE(7)/100000000)*1日前的收盘价)/100000
{按竞流比降序排序,不含次新股} 昨输出量比:开盘金额/开盘价/1日前的成交量
输出竞额W:IF(日期<=1501207,开盘金额/10000,0)
输出今开%:(O/1日前的C-1)*100
输出收益%:DYNAINFO(14)*100-今开%
输出开盘价:开盘价
当满足条件1时,在1和HYBLOCK位置书写文字
输出利润同比%:FINANCE(43)
输出收入同比%:FINANCE(44)
当满足条件1时,在1和GNBLOCK位置书写文字

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

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