通达信重磅私募竞价绝杀排序指标 源码 贴图
VAR1:=1;
VAR2:=DYNAINFO(15)/OPEN/100;
VAR3:=(DYNAINFO(4)/DYNAINFO(3)-1)*100;
VAR4:=IF(CAPITAL<100000,100000,CAPITAL);
VAR6:=VAR3*VAR2/VAR4*10000/100;
VAR169:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
VAR170:=EMA(VAR169,5);
VAR171:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
VAR172:=EMA(VAR171,5);
VAR173:=VAR170-REF(VAR170,1);
VAR174:=VAR172-REF(VAR172,1);
VAR175:=IF(VAR173-VAR174>0,(VAR173-VAR174)*5,0);
VAR176:=VAR175-REF(VAR175,1);
VAR177:=SMA((CLOSE-REF(CLOSE,1))*VOL,3,1)/10000;
VAR178:=1;
VAR179:=EMA(VAR177,12)-EMA(VAR177,26);
VAR180:=EMA(VAR179,9);
VAR181:=(VAR179-VAR180)*2;
VAR182:=HHVBARS(VAR181,BARSLAST(VAR181<0)+1);
VAR183:=CROSS(BACKSET(CROSS(0,VAR181),REF(VAR182,1)+2),0.5);
VAR184:=DRAWLINE(VAR183,VAR181,REF(VAR183,1),REF(VAR181,1),1);
VAR185:=VAR181>VAR184 AND VAR181>=REF(VAR181,1);
VAR186:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;
VAR187:=BARSSINCE(CLOSE)<1 OR BARSSINCE(CLOSE)<34 AND CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;
VAR188:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW<HIGH;
VAR189:=HIGH>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<HIGH;
VAR190:=1+3*VAR188+1*VAR186+0.2*VAR189;
VAR191:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR192:=VAR191*VAR190;
VAR193:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR194:=IF(CLOSE>OPEN,VAR193*(HIGH-LOW),IF(CLOSE<OPEN,VAR193*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL*0.7,VOL*0.3)));
VAR195:=IF(CLOSE>OPEN,VAR193*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,VAR193*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL*0.7,VOL*0.3)));
VAR196:=IF(VAR178!=1,0,SUM((VAR194-VAR195)/CAPITAL,1)*1000);
VAR197:=VOL/10000;
VAR198:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
VAR199:=MOD(FROMOPEN,VAR198);
VAR200:=IF(VAR199<0.5,VAR198,VAR199);
VAR201:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*VAR198/VAR200/10000,DRAWNULL);
VAR202:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,VAR201,VAR197);
VAR203:=VAR202/REF(MA(VAR202,5),1);
VAR205:=IF(CLOSE>=REF(CLOSE,1) AND VAR203>3,33,IF(CLOSE<REF(CLOSE,1) AND VAR203>3,0,IF(CLOSE>=REF(CLOSE,1) AND VAR203<=3,VAR203*10,VAR203)));
VAR208:=IF(CLOSE>0,EMA(MAX(CLOSE-REF(CLOSE,1),0),83)/EMA(ABS(CLOSE-REF(CLOSE,1)),83)*101,0);
VAR214:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR215:=VAR181-REF(VAR181,1);
VAR216:=DYNAINFO(4)>0;
VAR217:=EXIST(ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.052,20) AND EXIST(CLOSE/REF(CLOSE,1)>1.15,2)!=1;
VAR218:=FINANCE(40)<300*100000000 AND FINANCE(7)<=20*100000000;
VAR228:=VAR217 AND VAR216 AND VAR187=0 AND AMOUNT/10000>1000;
VAR229:=COUNT(HIGH/REF(CLOSE,1)>=1.081,5)>=2 AND CLOSE>=OPEN;
VAR230:=INDEXADV/(INDEXADV+INDEXDEC);
VAR231:=VAR178;
VAR232:=IF(VAR231=1,VAR230*100,0);
VAR233:=VAR232>85 OR REF(VAR232,1)>85;
VAR234:=IF(0=1,VAR233,0);
VAR242:=VAR208>53 AND CLOSE>=OPEN;
VAR243:=(CLOSE-VAR214)/VAR214*200;
竞价绝杀:IF(VAR6>VAR1 AND VAR234=0 AND VAR228 AND VAR218 AND VAR229 AND VAR242 AND VAR185=1,VAR196+VAR176*3+VAR192+VAR205+VAR215*5+VAR243,0),COLORMAGENTA;
未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:1
VAR2赋值:开盘金额/开盘价/100
VAR3赋值:(开盘价/DYNAINFO(3)-1)*100
如果当前流通股本<100000返回100000否则返回当前流通股本
VAR6赋值:VAR3*VAR2/VAR4*10000/100
VAR169:=(收盘价的12日指数移动平均/收盘价的26日指数移动平均-1)*1000
VAR170:=VAR169的5日指数移动平均
VAR171:=(INDEXC的12日指数移动平均/INDEXC的26日指数移动平均-1)*1000
VAR172:=VAR171的5日指数移动平均
VAR173:=VAR170-1日前的VAR170
VAR174:=VAR172-1日前的VAR172
VAR175:=IF(VAR173-VAR174>0,(VAR173-VAR174)*5,0)
VAR176:=VAR175-1日前的VAR175
VAR177:=SMA((收盘价-1日前的收盘价)*成交量,3,1)/10000
VAR178:=1
VAR179:=VAR177的12日指数移动平均-VAR177的26日指数移动平均
VAR180:=VAR179的9日指数移动平均
VAR181:=(VAR179-VAR180)*2
VAR182:=HHVBARS(VAR181,上次VAR181<0距今天数+1)
VAR183:=CROSS(BACKSET(CROSS(0,VAR181),1日前的VAR182+2),0.5)
VAR184:=DRAWLINE(VAR183,VAR181,1日前的VAR183,1日前的VAR181,1)
VAR185:=VAR181>VAR184 AND VAR181>=1日前的VAR181
VAR186:=收盘价>=ZTPRICE(1日前的收盘价,0.1) AND 最低价=最高价
VAR187:=BARSSINCE(收盘价)<1 OR BARSSINCE(收盘价)<34 AND 收盘价>=ZTPRICE(1日前的收盘价,0.1) AND 最低价=最高价
VAR188:=收盘价>=ZTPRICE(1日前的收盘价,0.1) AND 最低价<最高价
VAR189:=最高价>=ZTPRICE(1日前的收盘价,0.1) AND 收盘价<最高价
VAR190:=1+3*VAR188+1*VAR186+0.2*VAR189
VAR191:=(收盘价-1日前的收盘价)/1日前的收盘价*100
VAR192:=VAR191*VAR190
VAR193:=成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
VAR194:=IF(收盘价>开盘价,VAR193*(最高价-最低价),IF(收盘价<开盘价,VAR193*(最高价-开盘价+(收盘价-最低价)),IF(收盘价=开盘价 AND 收盘价>1日前的收盘价,成交量*0.7,成交量*0.3)))
VAR195:=IF(收盘价>开盘价,VAR193*(最高价-收盘价+(开盘价-最低价)),IF(收盘价<开盘价,VAR193*(最高价-最低价),IF(收盘价=开盘价 AND 收盘价<1日前的收盘价,成交量*0.7,成交量*0.3)))
VAR196:=IF(VAR178!=1,0,SUM((VAR194-VAR195)/当前流通股本,1)*1000)
VAR197:=成交量/10000
VAR198:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))))
VAR199:=MOD(FROM开盘价,VAR198)
如果VAR199<0.5返回VAR198否则返回VAR199
VAR201:=IF( 到最后交易的周期=1 AND PERIOD<=5 AND DYNAINFO(8)>1,成交量*VAR198/VAR200/10000,DRAWNULL)
如果 到最后交易的周期=1 AND PERIOD<=5返回VAR201否则返回VAR197
VAR203:=VAR202/REF(VAR202的5日简单移动平均,1)
VAR205:=IF(收盘价>=1日前的收盘价 AND VAR203>3,33,IF(收盘价<1日前的收盘价 AND VAR203>3,0,IF(收盘价>=1日前的收盘价 AND VAR203<=3,VAR203*10,VAR203)))
VAR208:=IF(收盘价>0,E收盘价-1日前的收盘价和0较大值的83日简单移动平均/EMA(收盘价-1日前的收盘价的绝对值,83)*101,0)
VAR214:=D收盘价的12日指数移动平均的5的成交量日累和/3/当前流通股本日简单移动平均
VAR215:=VAR181-1日前的VAR181
VAR216:=开盘价>0
VAR217:=EXIST(收盘价-1日前的收盘价的绝对值/1日前的收盘价>0.052,20) AND EXIST(收盘价/1日前的收盘价>1.15,2)!=1
VAR218:=FINANCE(40)<300*100000000 AND FINANCE(7)<=20*100000000
VAR228:=VAR217 AND VAR216 AND VAR187=0 AND 成交额/10000>1000
VAR229:=COUNT(最高价/1日前的收盘价>=1.081,5)>=2 AND 收盘价>=开盘价
VAR230:=INDEXADV/(INDEXADV+INDEXDEC)
VAR231:=VAR178
如果VAR231=1返回VAR230*100否则返回0
VAR233:=VAR232>85 OR 1日前的VAR232>85
如果0=1返回VAR233否则返回0
VAR242:=VAR208>53 AND 收盘价>=开盘价
VAR243:=(收盘价-VAR214)/VAR214*200
如果VAR6>VAR1 AND VAR234=0 AND VAR228 AND VAR218 AND VAR229 AND VAR242 AND VAR185=1返回VAR196+VAR176*3+VAR192+VAR205+VAR215*5+VAR243否则返回0