通达信双涨停战法选股指标公式

合集下载

通达信指标公式源码 涨停后缩量板副图主图选股指标

通达信指标公式源码 涨停后缩量板副图主图选股指标

涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.90,1,0);缩量涨停:=EVERY(涨停,2);DRAWTEXT(缩量涨停,H*1.03,'缩量涨停'),COLORGREEN;UU:=3;A88:=SUM(C*V,UU);B88:=SUM(V,UU);市场价值线:MA(A88/B88,7)COLORYELLOW,LINETHICK3;VAR41:=REF(CLOSE,1);VAR42:=((SMA(MAX((CLOSE - VAR41),0),7,1) / SMA(ABS((CLOSE -VAR41)),7,1)) * 100);VAR43:=((SMA(MAX((CLOSE - VAR41),0),13,1) / SMA(ABS((CLOSE -VAR41)),13,1)) * 100);VAR44:=((BARSLAST((VAR43 < 23)) <= 3) AND CROSS(VAR42,VAR43)); VAR45:=((((CLOSE - MA(CLOSE,23)) / MA(CLOSE,20)) * 100) < -12.5);VAR46:=LLV(LOW,5);VAR47:=HHV(HIGH,10);VAR48:=EMA((((CLOSE - VAR46) / (VAR47 - VAR46)) * 100),4);VAR49:=EMA(((0.667 * REF(VAR48,1)) + (0.333 * VAR48)),2);{VAR50:=1011131;VAR51:=(IF((DATE <= VAR50),VAR45,0) OR IF((DATE <= VAR50),VAR1,0));} DRAWTEXT((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),LOW*1.008,'急跌后超级大黑马'),COLORMAGENTA;DRAWICON((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),L-0.10,26);DRAWICON((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),L-0.38,26);持股线1:MA(CLOSE,15),COLORMAGENTA,LINETHICK5;MA10:MA(CLOSE,50),COLORBB0000;DRAWKLINE(H,O,L,C);{筹码峰}时长:=120;换手次数:=2;选择方式:=1;统计时长:IF(选择方式=1,CONST(SUMBARS(V/FINANCE(7)*100,换手次数)),时长),NODRAW;KK:=统计时长;高:=CONST(HHV(H,KK));低:=CONST(LLV(L,KK));XX:=(高-低);均价:=AMOUNT/V/100,NODRAW;L0:=低+XX*0/9;L1:=低+XX*1/9;L2:=低+XX*2/9;L3:=低+XX*3/9;L4:=低+XX*4/9;L5:=低+XX*5/9;L6:=低+XX*6/9;L7:=低+XX*7/9;L8:=低+XX*8/9;L9:=低+XX*9/9;MLZ:=SUM((CURRBARSCOUNT<KK+1)*V,KK),COLORWHITE;ML1:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L0-0.001,L1+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML1*200)),(L0+L1*0.99)*0. 49,(L0+L1*0.99)*0.5,18,0),COLORFF5555;ML2:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L1,L2+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML2*200)),(L1+L2*0.99)*0. 4999,(L1+L2*0.99)*0.5,18,0),COLORFFAA55;ML3:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L2,L3+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML3*200)),(L2+L3*0.99)*0. 4999,(L2+L3*0.99)*0.5,18,0),COLORAAFF55;ML4:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L3,L4+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML4*200)),(L3+L4*0.99)*0.4999,(L3+L4*0.99)*0.5,18,0),COLOR5FFF00;ML5:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L4,L5+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML5*200)),(L4+L5*0.99)*0. 4999,(L4+L5*0.99)*0.5,18,0),COLORFFFFF0;ML6:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L5,L6+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML6*200)),(L5+L6*0.99)*0. 4999,(L5+L6*0.99)*0.5,18,0),COLORFF0FFF;ML7:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L6,L7+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML7*200)),(L6+L7*0.99)*0. 4999,(L6+L7*0.99)*0.5,18,0),COLOR509FDD;ML8:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L7,L8+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML8*200)),(L7+L8*0.99)*0. 4999,(L7+L8*0.99)*0.5,18,0),COLORAA5DDD;ML9:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L8,L9+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML9*200)),(L8+L9*0.99)*0. 4999,(L8+L9*0.99)*0.5,18,0),COLOR0055DD;STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW;HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BARSLAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(HJ_11,HJ_12);HJ_15:=MAX(HJ_14,HJ_13);HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;HJ_17:=HJ_10<150;HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;HJ_21:=VOL/MA(VOL,5)<3.5;HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;暴利:=FILTER(HJ_25,15);MA54:=MA(CLOSE,54)NODRAW;PL1:=(((CLOSE-MA54)/MA54)<0.1);PL2:=(((CLOSE-MA10)/MA10)<0.3);偏离率:=(((PL1=1) AND (PL2=1))*0.2);平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);妖股突破:=平台突破=-0.1;XDF:=(暴利OR 妖股突破);VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05); FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2); 妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA;DRAWICON(妖股,H*1.0395,7);DRAWTEXT(XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,L*0.975,' 妖股'),COLORYELLOW;DRAWTEXT(XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,L*0.995,' 妖股'),COLORRED;DRAWTEXT_FIX(1,0.1,0.98,0,'艳红色线是持股线,黄线是反映市场价值线,接近收盘时股价上了黄色线就买进,股价在黄线之下的坚决不买,下黄线(收盘破红必跑) 毫不犹豫清仓,切记切记,做股票万万不要痴心妄想')COLORYELLOW; LC11:=REF(CLOSE,1),NODRAW;RSI11:=((SMA(MAX((CLOSE - LC11),0),3,1) / SMA(ABS((CLOSE - LC11)),3,1)) * 100);FF:=EMA(CLOSE,3);日:=150;昨前:=3;高1:=REF(HHV(H,日),昨前);低1:=REF(LLV(L,日),昨前);H1:=高1-(高1-低1)*0.191;H2:=高1-(高1-低1)*0.382;H3:=高1-(高1-低1)*0.5;H4:=高1-(高1-低1)*0.618;H5:=高1-(高1-低1)*0.809;顶:REFDATE(高1,DATE),COLORRED;低点:REFDATE(低1,DATE),DOTLINE,COLORRED;收盘破红必跑:MA(CLOSE,7)COLORRED,LINETHICK3;CG:MA((LOW+HIGH+CLOSE*2)/4,10);FL:HHV(CG,3);FS:IF(CG<FL,(CG-(FL-CG)),FL);FL1:HHV(CG,5);FS1:IF(CG<FL1,(CG-(FL1-CG)),FL1);FL2:HHV(CG,7);FS2:IF(CG<FL2,(CG-(FL2-CG)),FL2);FL3:HHV(CG,9),COLORFFABA3,LINETHICK2;FS3:IF(CG<FL3,(CG-(FL3-CG)),FL3);ZLZC1:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.618));ZLZC2:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.5));ZLZC3:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.382));POLYLINE:(FS3>MA(FS3,5),FS3);LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);MTM1:=C-REF(C,1);DX:=100*EMA(EMA(MTM1,6),6)/EMA(EMA(ABS(MTM1),6 ),6);买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDCROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(买=1,5),LOW-0.03,'拉升'),COLORGREEN; DRAWTEXT(FILTER(买=1,5),LOW-0.22,'拉升'),COLORWHITE;A63:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A64:=SMA(A63,3,1);A5:=SMA(A64,3,1);A6:=3*A64-2*A5;A76:=C-REF(C,1);A68:=100*EMA(EMA(A76,6),6)/EMA(EMA(ABS(A76),6),6);买88:=LLV(A68,2)=LLV(A68,7) AND COUNT(A68<0,2) ANDCROSS(A68,MA(A68,2));DRAWTEXT(FILTER(买88=1,5),H+0.05,'买进'),COLORYELLOW; DRAWTEXT(FILTER(买88=1,5),LOW-0.25,'买进'),COLORYELLOW; STICKLINE(买88,OPEN,CLOSE,2.5,0)COLORMAGENTA;STICKLINE(买88,OPEN,CLOSE,1,0),COLORWHITE;。

通达信涨停公式

通达信涨停公式

通达信涨停公式选股小公式1,30个交易日内,股价跌幅达到一半的股票:xghhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的 2倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)<0.3;3,两天内,累计下跌等于或超过20%选股.xgref(c,2)-c)/c>0.2;4,股价是25天以来新低.xg:c5,选股:EXPMA5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1)) and c>ema(c,5);6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3。

2. BIAS指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD交叉同时,KD指标中的D值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorff00ff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS3<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。

xg:v/capital*100>3 and (c/ref(c,1)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xgref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13,kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10),4)=2;15,选出10天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,n);16,一阳上穿10,20,30日线,量能是前一天3倍。

通达信指标公式源码 涨停后缩量板副图主图选股指标

通达信指标公式源码 涨停后缩量板副图主图选股指标

涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.90,1,0);缩量涨停:=EVERY(涨停,2);DRAWTEXT(缩量涨停,H*1.03,'缩量涨停'),COLORGREEN;UU:=3;A88:=SUM(C*V,UU);B88:=SUM(V,UU);市场价值线:MA(A88/B88,7)COLORYELLOW,LINETHICK3;VAR41:=REF(CLOSE,1);VAR42:=((SMA(MAX((CLOSE - VAR41),0),7,1) / SMA(ABS((CLOSE -VAR41)),7,1)) * 100);VAR43:=((SMA(MAX((CLOSE - VAR41),0),13,1) / SMA(ABS((CLOSE -VAR41)),13,1)) * 100);VAR44:=((BARSLAST((VAR43 < 23)) <= 3) AND CROSS(VAR42,VAR43)); VAR45:=((((CLOSE - MA(CLOSE,23)) / MA(CLOSE,20)) * 100) < -12.5);VAR46:=LLV(LOW,5);VAR47:=HHV(HIGH,10);VAR48:=EMA((((CLOSE - VAR46) / (VAR47 - VAR46)) * 100),4);VAR49:=EMA(((0.667 * REF(VAR48,1)) + (0.333 * VAR48)),2);{VAR50:=1011131;VAR51:=(IF((DATE <= VAR50),VAR45,0) OR IF((DATE <= VAR50),VAR1,0));} DRAWTEXT((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),LOW*1.008,'急跌后超级大黑马'),COLORMAGENTA;DRAWICON((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),L-0.10,26);DRAWICON((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),L-0.38,26);持股线1:MA(CLOSE,15),COLORMAGENTA,LINETHICK5;MA10:MA(CLOSE,50),COLORBB0000;DRAWKLINE(H,O,L,C);{筹码峰}时长:=120;换手次数:=2;选择方式:=1;统计时长:IF(选择方式=1,CONST(SUMBARS(V/FINANCE(7)*100,换手次数)),时长),NODRAW;KK:=统计时长;高:=CONST(HHV(H,KK));低:=CONST(LLV(L,KK));XX:=(高-低);均价:=AMOUNT/V/100,NODRAW;L0:=低+XX*0/9;L1:=低+XX*1/9;L2:=低+XX*2/9;L3:=低+XX*3/9;L4:=低+XX*4/9;L5:=低+XX*5/9;L6:=低+XX*6/9;L7:=低+XX*7/9;L8:=低+XX*8/9;L9:=低+XX*9/9;MLZ:=SUM((CURRBARSCOUNT<KK+1)*V,KK),COLORWHITE;ML1:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L0-0.001,L1+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML1*200)),(L0+L1*0.99)*0. 49,(L0+L1*0.99)*0.5,18,0),COLORFF5555;ML2:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L1,L2+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML2*200)),(L1+L2*0.99)*0. 4999,(L1+L2*0.99)*0.5,18,0),COLORFFAA55;ML3:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L2,L3+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML3*200)),(L2+L3*0.99)*0. 4999,(L2+L3*0.99)*0.5,18,0),COLORAAFF55;ML4:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L3,L4+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML4*200)),(L3+L4*0.99)*0.4999,(L3+L4*0.99)*0.5,18,0),COLOR5FFF00;ML5:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L4,L5+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML5*200)),(L4+L5*0.99)*0. 4999,(L4+L5*0.99)*0.5,18,0),COLORFFFFF0;ML6:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L5,L6+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML6*200)),(L5+L6*0.99)*0. 4999,(L5+L6*0.99)*0.5,18,0),COLORFF0FFF;ML7:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L6,L7+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML7*200)),(L6+L7*0.99)*0. 4999,(L6+L7*0.99)*0.5,18,0),COLOR509FDD;ML8:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L7,L8+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML8*200)),(L7+L8*0.99)*0. 4999,(L7+L8*0.99)*0.5,18,0),COLORAA5DDD;ML9:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L8,L9+0.001))*V,KK)/MLZ;STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML9*200)),(L8+L9*0.99)*0. 4999,(L8+L9*0.99)*0.5,18,0),COLOR0055DD;STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW;HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;HJ_9:=FILTER(HJ_8,10);HJ_10:=BARSLAST(HJ_9);HJ_11:=REF(HIGH,HJ_10+2);HJ_12:=REF(HIGH,HJ_10+1);HJ_13:=REF(HIGH,HJ_10);HJ_14:=MAX(HJ_11,HJ_12);HJ_15:=MAX(HJ_14,HJ_13);HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;HJ_17:=HJ_10<150;HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;HJ_21:=VOL/MA(VOL,5)<3.5;HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;暴利:=FILTER(HJ_25,15);MA54:=MA(CLOSE,54)NODRAW;PL1:=(((CLOSE-MA54)/MA54)<0.1);PL2:=(((CLOSE-MA10)/MA10)<0.3);偏离率:=(((PL1=1) AND (PL2=1))*0.2);平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);妖股突破:=平台突破=-0.1;XDF:=(暴利OR 妖股突破);VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05); FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2); 妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA;DRAWICON(妖股,H*1.0395,7);DRAWTEXT(XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,L*0.975,' 妖股'),COLORYELLOW;DRAWTEXT(XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA,L*0.995,' 妖股'),COLORRED;DRAWTEXT_FIX(1,0.1,0.98,0,'艳红色线是持股线,黄线是反映市场价值线,接近收盘时股价上了黄色线就买进,股价在黄线之下的坚决不买,下黄线(收盘破红必跑) 毫不犹豫清仓,切记切记,做股票万万不要痴心妄想')COLORYELLOW; LC11:=REF(CLOSE,1),NODRAW;RSI11:=((SMA(MAX((CLOSE - LC11),0),3,1) / SMA(ABS((CLOSE - LC11)),3,1)) * 100);FF:=EMA(CLOSE,3);日:=150;昨前:=3;高1:=REF(HHV(H,日),昨前);低1:=REF(LLV(L,日),昨前);H1:=高1-(高1-低1)*0.191;H2:=高1-(高1-低1)*0.382;H3:=高1-(高1-低1)*0.5;H4:=高1-(高1-低1)*0.618;H5:=高1-(高1-低1)*0.809;顶:REFDATE(高1,DATE),COLORRED;低点:REFDATE(低1,DATE),DOTLINE,COLORRED;收盘破红必跑:MA(CLOSE,7)COLORRED,LINETHICK3;CG:MA((LOW+HIGH+CLOSE*2)/4,10);FL:HHV(CG,3);FS:IF(CG<FL,(CG-(FL-CG)),FL);FL1:HHV(CG,5);FS1:IF(CG<FL1,(CG-(FL1-CG)),FL1);FL2:HHV(CG,7);FS2:IF(CG<FL2,(CG-(FL2-CG)),FL2);FL3:HHV(CG,9),COLORFFABA3,LINETHICK2;FS3:IF(CG<FL3,(CG-(FL3-CG)),FL3);ZLZC1:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.618));ZLZC2:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.5));ZLZC3:=(HHV(H,144)-((HHV(H,144)-LLV(L,144))*0.382));POLYLINE:(FS3>MA(FS3,5),FS3);LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);MTM1:=C-REF(C,1);DX:=100*EMA(EMA(MTM1,6),6)/EMA(EMA(ABS(MTM1),6 ),6);买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDCROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(买=1,5),LOW-0.03,'拉升'),COLORGREEN; DRAWTEXT(FILTER(买=1,5),LOW-0.22,'拉升'),COLORWHITE;A63:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A64:=SMA(A63,3,1);A5:=SMA(A64,3,1);A6:=3*A64-2*A5;A76:=C-REF(C,1);A68:=100*EMA(EMA(A76,6),6)/EMA(EMA(ABS(A76),6),6);买88:=LLV(A68,2)=LLV(A68,7) AND COUNT(A68<0,2) ANDCROSS(A68,MA(A68,2));DRAWTEXT(FILTER(买88=1,5),H+0.05,'买进'),COLORYELLOW; DRAWTEXT(FILTER(买88=1,5),LOW-0.25,'买进'),COLORYELLOW; STICKLINE(买88,OPEN,CLOSE,2.5,0)COLORMAGENTA;STICKLINE(买88,OPEN,CLOSE,1,0),COLORWHITE;。

通达信四种涨停板主图指标公式

通达信四种涨停板主图指标公式

通达信四种涨停板主图指标公式N:=21;N1:=10;Q:=10;TTJ:=BARSLAST((VOL=HHV(VOL,N)));K0:=TTJ=0;K111:=SUMBARS(K0,1);K2:=SUMBARS(K0,2);K3:=SUMBARS(K0,3);K4:=SUMBARS(K0,4);K5:=SUMBARS(K0,5);K6:=SUMBARS(K0,6);K7:=SUMBARS(K0,7);K8:=SUMBARS(K0,8);K9:=SUMBARS(K0,9);K10:=SUMBARS(K0,10);A111:(K111<=30,REF(C,K111-1)*1.002),COLOREA91B5,NODRAW;AA:STICKLINE(K111<=30,REF(C,K111-1)*1.002,REF(C,K111-1),10,0),COLOREA91B5;B111:=(K2<=30,REF(C,K2-1)*1.002),COLORWHITE,NODRAW,LINETHICK1;AA1:=REF(H,N1)=HHV(H,2*N1+1);QY:=BACKSET(AA1,N1+1);CC:=FILTER(QY,N1) AND H=HHV(H,N1+1);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);GDCS1:=CONST(DINGBUTS);GDCS13:=CONST(REF(HIGH,GDCS1-1));XG1:=BACKSET(ISLASTBAR,GDCS1);C1:(XG1,GDCS13,GDCS13),COLORRED,NODRAW,LINETHICK 1;STICKLINE(XG1,GDCS13,GDCS13,1,0),COLORRED;AAA:=(3*C+H+L+O)/6;VAR21:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3 )+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR21;立桩量:=FILTER(TJ1,5);STICKLINE(CLOSE,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),1,0),COLORYELLOW;{STICKLINE(CLOSE,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),1,0),COLORCYAN;}三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));三日价涨A:=C>=REF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);TIM:=IF(DATE<1140214,1,0);四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;高量黄金柱:=四日前高量柱 AND 三日量缩 AND 三日不破 AND三日价涨A AND 前三引用不成立;黄金柱:=倍量黄金柱 OR 高量黄金柱;BACKSET101:=BACKSET(黄金柱,4);FILTER101:=FILTER(BACKSET101,3);牛熊线:=SUMBARS(FILTER101,1);STICKLINE(牛熊线,REF(L,牛熊线-2),REF(L,牛熊线-2),0.0001,0),COLORGREEN;{DRAWTEXT(ISLASTBAR,REF(L,牛熊线-2)*0.99,CON2STR(REF(L,牛熊线-2),2)),COLORGREEN,LINETHICK1;}E1:REF(L,牛熊线-2),COLORGREEN,NODRAW,LINETHICK1;{红心板:吸货板,短线比较稳定;绿心板:中继板,继续上涨中出现;空心板:疯板,要么暴涨,要么止损;蓝心板:自救板,回调中出现。

通达信选股最全公式

通达信选股最全公式

1、通达信选股公式{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;3、抄底高手{M 15 35 30N 12 32 27D 18 50 42}VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND(REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));VAR4 OR VAR7;3、短线黑马{K 100 140 100}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) <REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8 AND VAR9 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));VARE:=VARD AND COUNT(VARD,2)=1 ;VAR5 OR VARE;4、逆势操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96 ;(VAR5 OR VARA) ;5、成交量变异率VR买入WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN ,VOL/2,0)),26)*100;VOL变异率VR买入:CROSS(LL,WVR);{N 5 100 26 5}{LL 0 80 70 5};MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30 AND MA30>MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;买:LYKK AND NOT(REF(LYKK,1));虚拟成交量>昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};6、PDI上穿三线选股公式源码:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100/TR0,colorred;MDI:=DMM*100/TR0;ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=(ADX+REF(ADX,6))/2;CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR)今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式选股公式:{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}var1:=v>ref(v,1)*2;ref(var1,3) and count(c>ref(c,3),3)=3;7、倍量柱加三天量减价升喇叭形的真黄金柱公式倍数:=1.9;倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);连阳:= COUNT(C>=O,4)=4;选股:倍量1 AND 价升量缩 AND 连阳;8、“凹口起柱”理论编写的凹口指标王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱,经观察,股票起柱时是主力行为的表现,是主力意图的表现!是主力留下的痕迹!是量柱开口说话的语言!这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ;下载 (53.76 KB)2010-1-12 21:299、倍量过左峰选股源码--通达信SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;突破前高:=CROSS(C,前高);XG:突破前高 AND 倍量;10、{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};11、老鼠仓AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;12、主力进场VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);XG:(VAR5>REF(VAR5,1) AND VAR5>0 ) OR (VAR5<REF(VAR5,1) AND NOT(VAR5=0)=1);13、60日天量T1:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;选股:T1 AND T2;14、135均量线选股VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL1,MAVOL2)OR CROSS(MAVOL1,MAVOL3) OR CROSS(MAVOL2,MAVOL3);15、二次翻红DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4); FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<0.018;FH5:=FH1 AND FH2 AND MACD<0.10;二次翻红:=(FH3 OR FH4 OR FH5);低买:=CROSS(DIF,DEA) AND DIF<0;加油:=CROSS(DIF,DEA) AND DIF>0;XG:二次翻红 OR 低买 OR 加油;16、均量互换VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL2,MAVOL3);17、成交额均量互换AMO:=AMOUNT;MAAMO1:=MA(AMO,5);MAAMO2:=MA(AMO,10);MAAMO3:=MA(AMO,40);XG:CROSS(TJ1,TJ2)AND CROSS(TJ1,TJ3)OR CROSS(MAAMO1,MAAMO2)AND CROSS(MAAMO1,MAAMO3);18、凹口起柱T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0OR T3 AND T1 AND T0;19、黄金柱选股VAR1:=V>REF(V,1)*2;REF(VAR1,3) AND COUNT(C>REF(C,3),3)=3;20、日成交量触及5日均量线M1:=MA(V,5);M2:V > M1;21、早盘量满--一个很管用的预警指标本指标描述的是上午10点前个股成交量与昨天基本相等(指标在上午10点以后就不工作了);这类股票往往是比较强势,只有在10点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。

最牛涨停板指标用实际操作来说话通达信指标公式源码

最牛涨停板指标用实际操作来说话通达信指标公式源码

最牛涨停板指标用实际操作来说话通达信指标公式源码涨停板指标是指一种用来判断股票是否有涨停的技术指标。

在通达信软件中,有许多指标可以用来判断股票是否有涨停的可能性。

以下是其中几个指标的公式源码,并且附上了实际操作的说明。

1.涨停板连板指标涨停板连板指标是一种通过计算股票前几天的涨停板数量来判断当天是否有涨停的指标。

其公式源码如下:```N1:=4;//统计前N1天的股票连板数目CNT:=BARSLAST(CLOSE=REF(CLOSE,1),N1);//统计连板的次数```操作说明:当CNT大于2时,表示股票最近几天出现了连续两个或以上的涨停板,存在涨停可能性较高。

2.涨停板力度指标涨停板力度指标是一种通过计算股票当天涨停数量与跌停数量的比例来判断是否有涨停的指标。

其公式源码如下:```TDP:=BARSCOUNT((CLOSE-CLOSE[1])/CLOSE>0.09);//统计当天涨停的数量UDP:=BARSCOUNT((CLOSE-CLOSE[1])/CLOSE<-0.09);//统计当天跌停的数量RATIO:=(TDP-UDP)/(TDP+UDP);//计算涨停与跌停的比例```操作说明:当RATIO大于0.5时,表示股票当天涨停数量明显多于跌停数量,存在涨停的可能性较高。

3.涨停板炸板指标涨停板炸板指标是指通过计算股票当天开盘价与前一交易日收盘价的比例来判断股票是否有涨停的指标。

其公式源码如下:```R:=HIGH[1]/CLOSE[1];//计算开盘价与前一交易日收盘价的比例```操作说明:当R大于1.09时,表示股票当天开盘价涨幅超过9%,存在涨停的可能性较高。

以上只是通达信软件中的几个涨停板指标,投资者在进行实际操作时,应该综合考虑多个指标,并结合其他技术分析方法来进行判断和决策。

同时,涨停板是市场中的特殊现象,存在一定的风险,投资者应谨慎对待。

通达信公式给大家两个利用分时图当天抓涨停板的公式很准

通达信公式给大家两个利用分时图当天抓涨停板的公式很准

通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】LTA:=FINANCE(7)+300000000;GB:=2*IF(FINANCE(7)C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIMET:=IF(V1(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/1 0000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;初正:=CONST(SUM(IF(初正1>大额线AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>大额线AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),0.9,-0.9);T01:=IF(C1T02:=T00+T01;TT1:=BARSLAST(CROSS(T02,0));TT2:=BARSLAST(CROSS(0,T02));TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1>TT2),成交额,0);负V1:=IF(TT=-1 OR (TT=0 AND TT1正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF; 负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00; 总:=(正总1+负总1)+初正2+初负2,NODRAW;正V:=IF(正V1>大额线,正V1,0);负V:=IF(负V1>大额线,负V1,0);正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:初负+SUM(负V,T),NODRAW,COLOR00FF00; 差%:(正总-负总)/总*100,COLOR00FF00,NODRAW; TTA:=INTPART(2*T/5);KP30:=TKPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);{强弱界}MMA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0)); DRAWICON(CROSS(MMA30,强弱界定),H,1);CC:=CLOSE,COLORWHITE,LINETHICK2;VAR7:=SMA(CC,6.18,1);VAR8:=SMA(VAR7,3.14,1);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;{暗轨}{AA1:=PLOYLINE(CLOSE5,COST(20));BB1:=PLOYLINE(CLOSE5,COST(80));DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL); {CYC}VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL); DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL); {分时MACD}昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-2*FK*3.22;Q3:=昨收-3*FK*3.2;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(MACD>=0 ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACDSTICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0 ),COLOR4ABEFF,LINETHICK3;STICKLINE(MACDSTICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED; STICKLINE(DK{多头MACD}DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEAA:=EMA(DIFF,18);多头MACD:=(-3*(DIFF-DEAA))*20,NODRAW;ZD:=HHV(多头MACD,0);ZX:=LLV(多头MACD,0);CZ:=(Q2-Q3)/6;FDM:=MAX(ABS(ZD),ABS(ZX))*1.5;RB:=(Q2+Q3)/2+2*(Q2-Q3)/3/FDM*多头MACD; STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000FF; STICKLINE(多头MACD{火焰山及底部信号}FAA:=WINNER(CLOSE+CLOSE*15/100)*100;FBB:=WINNER(CLOSE+CLOSE*0/100)*100;FCC:=FAA-FBB;FDD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLO SE*15/100))*100;FEE:=FCCFA1:=DYNAINFO(6);FA2:=IF(LOW>FA1,0,IF(HIGHFA3:=VOL/WINNER(LOW);FA4:=REF(HHV(CLOSE,120),1);FA5:=REF(LLV(CLOSE,120),1);FA6:=100*(CLOSE-FA5)/(FA4-FA5);FA7:=FA2>0 OR FA2=1;FA8:=FA7 AND FA3/REF(FA3,3)>=3 AND FA6FA9:=REF(FA8,1) OR REF(FA8,2) OR REF(FA8,3) OR REF(FA8,4); FA10:=FA8 AND FA9;FA11:=IF(FILTER(FA8,3),5,0);FA12:=IF(FILTER(FA10,3) OR FEE,10,0);EEEE:=(RCC-ZS)/5;FVAR1:=REF(LOW,1);FVAR2:=SMA(ABS(LOW-FVAR1),13,1)/SMA(MAX(LOW-FVAR1, 0),13,1);FVAR3:=EMA(FVAR2,13);FVAR4:=LLV(LOW,34);FVAR51:=EMA(IF(LOWFVAR5:=IF(FVAR51>20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*1.02,'↑进'),COLOR00FFFF; DRAWTEXT(FA12,(Q2+Q3)/2*1.03,',↑加');主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVA R5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5STICKLINE(FVAR5FVAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LL V(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); FVAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV (LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); FVAR8:=FVAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(FVAR8 ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹'); JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEASTICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*1.01,4,0),COLORFF00FF;DRAWTEXT(二次金叉,(Q2+Q3)/2*1.01,' 二金'),COLORYELLOW;HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);上:=EMA((MA(HIGH,3) * 1.05),30);下:=EMA((MA(LOW,3) * 0.96),30);决战:STICKLINE((((CROSS(DIF,DEA) AND ((下- REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND(DIFDRAWTEXT((((CROSS(DIF,DEA) AND ((下- REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF{两个主要买进信号}RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240) )*200-100);K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);短买:=CROSS(K,D) AND K>0 AND CLOSEDRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买'),COLORFF00FF; YY:=SMA(VOL,30,1);量1:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30));量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY, 1),30))>0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)横后上涨:=(CLOSE/DYNAINFO(3))>=1.02=0 AND 短横AND 量AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2)); 上涨:=FILTER((CROSS(横后上涨,0)AND 量AND T>60OR (T>60 AND CLOSEAND CROSS(C,MA(HHV(C,TTA),1)))),30);DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨'),COLORRED,LINETHICK3;HHHH:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;过顶:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODRAW; 冲高:IF(FILTER(CROSS(C,HHHH*1.01),15),1,0),COLOR00FFFF,POI NTDOT,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,255)); DRAWTEXT(过顶,HHHH*1.005,'↑'),COLOR00FF00; DRAWTEXT(冲高,HHHH*1.005,'☆'),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!个人自用极品跟庄分时指标(分时源码附图)注意二点:1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。

通达信涨停分时主图指标公式

通达信涨停分时主图指标公式

通达信涨停分时主图指标公式LONG:=24;SHORT:=13;M:=6;N:=6;RCC:=DYNAINFO( 3);S2:=SMA(C,3,1);S6:=Sma(C,5,1);KK:=1;TT:=FROMOPEN;RC:=DYNAINFO( 3);SS2:=SMA(C,2,1);SS6:=SMA(C,6,1);DK:=2*(S2-S6);DK1:=CONst(HHV(RC+DK,TT+1));DK2:=CONST(LLV(RC+DK,TT+1));DC1:=CONST(HHV(C,TT+1));DC2:=CONST(LLV(C,TT+1));MMA:=CONST(MAX(DC1,DK1));MMB:=CONST(MIN(DC2,DK2));{时间设置}V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)));TTT:=INTPART(2*T/5);P:=IF(TT<120,4,10);P2:=IF(TT<120,20,30);STICKLINE(C>0,H,L,6,1),COLOR000000;STICKLINE(CURRBARSCOUNT<TT+1,MMB,MMA,4,1),COLORFF0000;{cyc}VAR1:=AMOUNT/vol/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(50,120,120),CYC13,DRAWNULL);DRAWBAND(CYC13,RGB(0,150,150),CYC34,DRAWNULL);{分时macd}昨收:=DYNAINFO( 3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-2*FK*3.22;Q3:=昨收-3*FK*3.2;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,SHORT) - EMA(CLOSE,LONG));DEA:=(EMA(DIF,M));MacD:=5*(DIF-DEA);A4:=BArslAST(REF(crOSS(DIF,DEA),1));B1:=REF(C,A4+1)>C AND REF(DIF,A4+1)<DIF ANDCROSS(DIF,DEA);{DRAWTEXT(FILTER(B1>0,5),RCC*KK-0.03*RCC*KK,'背离'),COLORYELLOW;}STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF 00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACD< REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORBLUE,LINET HICK3;STICKLINE(MACD<0 AND MACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLOR4A BEFF,LINETHICK3;STICKLINE(MACD<0 AND MACD< REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORBLUE,LINET HICK3;STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;分时线:C,COLORFFFFFF,LINETHICK2;AA1:=REF(分时线,P)=HHV(分时线,2*P+1);BB1:=FILTER(AA1,P);CC1:=BACKSET(BB1,P+1);DD1:=FILTER(CC1,P);{高点}AA2:=REF(分时线,P)=LLV(分时线,2*P+1);BB2:=FILTER(AA2,P);CC2:=BACKSET(BB2,P+1);DD2:=FILTER(CC2,P);{低点}QA1:=REF(分时线,P2)=HHV(分时线,P2+1);QB1:=FILTER(QA1,P2);QC1:=BACKSET(QB1,P2+1);QD1:=FILTER(QC1,P2);{高点2}QA2:=REF(分时线,P2)=LLV(分时线,2*P2+1);QB2:=FILTER(QA2,P2);QC2:=BACKSET(QB2,P+1);QD2:=FILTER(QC2,P2);{低点};R11:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);S11:=R11>REF(R11,1);QR11:=BACKSET(ISLASTBAR,BARSLAST(QD1)+1);QS11:=QR11>REF(QR11,1);压力线:=DRAWLINE(DD1,分时线,S11,分时线,1),COLORYELLOW;压力线2:=DRAWLINE(QD1,分时线,QS11,分时线,1),COLORGREEN;压力线3:=DRAWLINE(QS11,分时线,DD1,分时线,1),COLORWHITE;IF(BETWEEN(压力线,MMA,MMB),压力线,DRAWNULL),COLORRED,LINETHICK1;IF(BETWEEN(压力线2,MMA,MMB),压力线2,DRAWNULL),COLORGREEN,LINETHICK1;IF(BETWEEN(压力线3,MMA,MMB),压力线3,DRAWNULL),COLORWHITE,LINETHICK1;T11:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);U11:=T11>REF(T11,1);QT11:=BACKSET(ISLASTBAR,BARSLAST(QD2)+1);QU11:=QT11>REF(QT11,1);支撑线:=DRAWLINE(DD2,分时线,U11,分时线,1),COLORYELLOW;支撑线2:=DRAWLINE(QD2,分时线,QU11,分时线,1),COLORGREEN;支撑线3:=DRAWLINE(QU11,分时线,DD2,分时线,1),COLORWHITE;IF(BETWEEN(支撑线,MMA,MMB),支撑线,DRAWNULL),COLORRED,LINETHICK1;IF(BETWEEN(支撑线2,MMA,MMB),支撑线2,DRAWNULL),COLORGREEN,LINETHICK1;IF(BETWEEN(支撑线3,MMA,MMB),支撑线3,DRAWNULL),COLORWHITE,LINETHICK1;DRAWICON(DD1,分时线,2);DRAWICON(DD2,分时线,1);HHH:=CONST(HHV(H,160));LLL:=CONST(LLV(L,160));MM0:=CONST((HHH+LLL)/2);HL:=CONST(IF(MM0<CONST(REF(C,160)),LLL+(HHH-LLL)*0.20,HHH-(HHH-LLL)*0.20));HH1:=IF(MM0>CONST(REF(C,160)),HHH-(HHH-LLL)*0.1,HL);LL1:=IF(MM0<CONST(REF(C,160)),LLL+(HHH-LLL)*0.1,HL);HLMAX:=MAX(HH1,LL1);HLMIN:=MIN(HH1,LL1);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=1;HLMN4:=2;DRAWTEXT(CURRBARSCOUNT=55,(MMB+(MMA-MMB)/10),'换手:')COLOR00FFFF;DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10),CONST(DYNAINFO(37))*100)COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=55,(MMB+(MMA-MMB)/10*2),'涨幅:');DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10*2),CONST(DYNAINFO(14))*100)COLORFF00FF;变色用:DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10*2),IF(CONST(DYNAINFO(14)*100)<=0,CONST(DYNAI NFO(14)*100),DRAWNULL))COLOR00DD00;DRAWTEXT(CURRBARSCOUNT=55,(MMB+(MMA-MMB)/10*3),'量比:')COLORFF00FF;DRAWNUMBER(CURRBARSCOUNT=40,(MMB+(MMA-MMB)/10*3),CONST(DYNAINFO(17)))COLORFF00FF;通达信涨停分时主图指标公式实例图解:。

通达信胜率极高的“涨停回马枪”战法(附选股公式)

通达信胜率极高的“涨停回马枪”战法(附选股公式)

通达信胜率极高的“涨停回马枪”战法(附选股公式)股市有谚:千金难买回头牛。

股市中最有效的获利方式就是骑住明星股、龙头股,而这样的大牛股上涨通常不止一波,调整过后,通常还会再起一波,新一波上涨幅度或许会比第一波还快速猛烈。

对于习惯于研究技术面的投资者来说,抓涨停的战法如同炽手可热的宝藏,人人都想分一杯羹!这类战法捕获上涨的牛股概率非常之高,所以今天要讲解的技巧就是涨停回马枪。

一、基本含义:涨停回马枪战法指的是有了涨停后,我们抓回调后再次上涨的一段,股价已经上涨且以涨停明示(关注度直线上升),所以我们建议,使用涨停回马枪只做短线,可以长期做此股波段,尽量不要长期连续持有,此新版涨停回马枪特适合做超短线,快进快出,盈利为先。

二、形态特征:1、底部突破,出现放量的涨停板2、封涨停板之后,股价出现回调,不跌破涨停板阳线实体的下沿。

如上图所示,涨停回马枪就是涨停牛回头的强化版。

涨停之后,股价调整但是不跌破涨停板的实体下沿,最好就是有资金流入,并且回踩重要均线。

三、最容易涨停的关键位置通过对中国股市十多年个股的涨停位置作了反复研究,从中找出四个最容易涨停的关键位置,即:1.突破下降压力位置;2.突破重要颈线位置;四、涨停回马枪操盘理念涨停板一般是有大资金运作的结果,即庄股!涨停板的出现反应了庄家积极做多的意愿,然尔其中也有不少的短线跟风资金,在涨板后短线获利退出,制约了庄家的拉升.正因如此,庄家如还想拉升,必在涨停板后短线进行洗盘,洗掉那些跟风盘,所以我们的涨停回马枪就是在这回调的低点及时的买进,跟着庄做后续的拉升涨停回马枪操盘就是在每天盘后选出股票涨停板以后出现的洗盘预警信号的股票,第二天在最低价附近买入,轻松跟随庄家拉升获利!五、“回马枪”战法买入法1、金叉夹角:13日均线向上金叉21日均线,股价上涨后第一次和第二次回调到金叉形成的夹角中时往往是最好的买入点,第三次就要小心了,事不过三!2、超短线:涨停板后的第二天股价盘中回调到涨停板这天的分时均线或二分位是超短线的买入机会,第三天在第二天的最高价附近获利卖出!3、回档法:涨停板后短线洗盘回调的最低价,一般会回到前面某个涨停板阳线的三个支撑位附近,因此,涨停板后从最高点回调下来的第五天到第八天在支撑位附近的绿色线段处买入正是绝佳买点!600259这只股票收益于周期性有色爆发,在7月初两个涨停之后,股价经过6天的调整,但是主力却在大幅度加仓,那么回调下来之后就是最佳的买入机会。

通达信涨跌停统计及次日表现指标公式

通达信涨跌停统计及次日表现指标公式

通达信涨跌停统计及次日表现指标公式P:=1000;DRAWTEXT_FIX(CLOSE>0,0.00,0.00,0,' 股性最高连板涨停数开板数跌停数封板率 ')COLORGREEN;DRAWTEXT_FIX(CLOSE>0,0.00,0.10,0,' 涨停次日平均: 开低高收 ')COLORGREEN;DRAWTEXT_FIX(CLOSE>0,0.00,0.15,0,' 开板次日平均: 开低高收 ')COLORGREEN;DRAWTEXT_FIX(CLOSE>0,0.00,0.20,0,' 统计周期: 交易日')COLORYELLOW;DRAWNUMBER_FIX(C>0,0.040,0.20,0,P),COLORRED;{显示统计周期}DRAWTEXT_FIX(C>0,0.170,0.05,0,'%'),COLORRED;涨停价:=ZTPRICE(REF(CLOSE,1),0.1);跌停价:=DTPRICE(REF(CLOSE,1),0.1);开板:=((HIGH>=涨停价) AND (CLOSE<涨停价));涨停数:=COUNT((C>=涨停价) AND L!=C,P) NODRAW;开板数:=COUNT(开板,P) NODRAW;跌停数:=COUNT(C<=跌停价,P) NODRAW;封板率:=ROUND((1-(开板数/(涨停数+开板数)))*100);DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.065,0.05,0,涨停数),COLORRED;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.095,0.05,0,开板数),COLORRED;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.125,0.05,0,跌停数),COLORRED;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.155,0.05,0,封板率),COLORRED;涨停次日收:=IF(REF(C>=涨停价 AND L!=C,1), C/REF(C,1)-1,0);TTJ:=IF(涨停次日收,1,0);TTJ1:=SUM(涨停次日收,P);TTJ2:=SUM(TTJ,P);次日平均涨幅收:=(TTJ1/TTJ2*100), NODRAW;DRAWNUMBER_FIX(次日平均涨幅收>0 AND CURRBARSCOUNT=1,0.175,0.10,0,次日平均涨幅收),COLORRED;DRAWNUMBER_FIX(次日平均涨幅收<=0 AND CURRBARSCOUNT=1,0.175,0.10,0,次日平均涨幅收),COLORGREEN;涨停次日开:=IF(REF(C>=涨停价 AND L!=C,1), O/REF(C,1)-1,0);TTJ3:=IF(涨停次日开,1,0);TTJ4:=SUM(涨停次日开,P);TTJ5:=SUM(TTJ3,P);次日平均涨幅开:=TTJ4/TTJ5*100 NODRAW;DRAWNUMBER_FIX(次日平均涨幅开>0 AND CURRBARSCOUNT=1,0.068,0.10,0,次日平均涨幅开),COLORRED;DRAWNUMBER_FIX(次日平均涨幅开<=0 AND CURRBARSCOUNT=1,0.068,0.10,0,次日平均涨幅开),COLORGREEN;涨停次日低:=IF(REF(C>=涨停价 AND L!=C,1), L/REF(C,1)-1,0);TTJ6:=IF(涨停次日低,1,0);TTJ7:=SUM(涨停次日低,P);TTJ8:=SUM(TTJ6,P);次日平均涨幅低:=TTJ7/TTJ8*100 NODRAW;DRAWNUMBER_FIX(次日平均涨幅低>0 AND CURRBARSCOUNT=1,0.105,0.10,0,次日平均涨幅低),COLORRED;DRAWNUMBER_FIX(次日平均涨幅低<=0 AND CURRBARSCOUNT=1,0.105,0.10,0,次日平均涨幅低),COLORGREEN;涨停次日高:=IF(REF(C>=涨停价 AND L!=C,1), H/REF(C,1)-1,0);TTJ9:=IF(涨停次日高,1,0);TTJ10:=SUM(涨停次日高,P);TTJ11:=SUM(TTJ9,P);次日平均涨幅高:=TTJ10/TTJ11*100 NODRAW;DRAWNUMBER_FIX(次日平均涨幅高>0 AND CURRBARSCOUNT=1,0.142,0.10,0,次日平均涨幅高),COLORRED;DRAWNUMBER_FIX(次日平均涨幅高<=0 AND CURRBARSCOUNT=1,0.142,0.10,0,次日平均涨幅高),COLORGREEN;开板次日开:=IF(REF(开板,1) AND L!=C, O/REF(C,1)-1,0);TTTJ:=IF(开板次日开,1,0);TTTJ1:=SUM(开板次日开,P);TTTJ2:=SUM(TTTJ,P);开板次日平均开:=TTTJ1/TTTJ2*100 NODRAW;DRAWNUMBER_FIX(开板次日平均开>0 AND CURRBARSCOUNT=1,0.068,0.15,0,开板次日平均开),COLORRED;DRAWNUMBER_FIX(开板次日平均开<=0 AND CURRBARSCOUNT=1,0.068,0.15,0,开板次日平均开),COLORGREEN;开板次日低:=IF(REF(开板,1) AND L!=C, L/REF(C,1)-1,0);TTTJ3:=IF(开板次日低,1,0);TTTJ4:=SUM(开板次日低,P);TTTJ5:=SUM(TTTJ3,P);开板次日平均低:=TTTJ4/TTTJ5*100 NODRAW;DRAWNUMBER_FIX(开板次日平均低>0 AND CURRBARSCOUNT=1,0.105,0.15,0,开板次日平均低),COLORRED;DRAWNUMBER_FIX(开板次日平均低<=0 AND CURRBARSCOUNT=1,0.105,0.15,0,开板次日平均低),COLORGREEN;开板次日高:=IF(REF(开板,1) AND L!=C, H/REF(C,1)-1,0);TTTJ6:=IF(开板次日高,1,0);TTTJ7:=SUM(开板次日高,P);TTTJ8:=SUM(TTTJ6,P);开板次日平均高:=TTTJ7/TTTJ8*100 NODRAW;DRAWNUMBER_FIX(开板次日平均高>0 AND CURRBARSCOUNT=1,0.142,0.15,0,开板次日平均高),COLORRED;DRAWNUMBER_FIX(开板次日平均高<=0 AND CURRBARSCOUNT=1,0.142,0.15,0,开板次日平均高),COLORGREEN;开板次日收:=IF(REF(开板,1) AND L!=C, C/REF(C,1)-1,0);TTTJ9:=IF(开板次日收,1,0);TTTJ10:=SUM(开板次日收,P);TTTJ11:=SUM(TTTJ9,P);开板次日平均收:=TTTJ10/TTTJ11*100 NODRAW;DRAWNUMBER_FIX(开板次日平均收>0 AND CURRBARSCOUNT=1,0.175,0.15,0,开板次日平均收),COLORRED;DRAWNUMBER_FIX(开板次日平均收<=0 AND CURRBARSCOUNT=1,0.175,0.15,0,开板次日平均收),COLORGREEN;涨停:=C>=涨停价 AND L!=C;最高连板:=HHV(BARSLAST(NOT(涨停)),P);DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.035,0.05,0,最高连板),COLORRED;股性分数:=ROUND(最高连板*3+涨停数*2+开板数-跌停数+封板率);DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.005,0.05,0,股性分数),COLORRED;。

通达信涨停统计指标

通达信涨停统计指标

{涨停统计}涨停:=CLOSE/REF(CLOSE,1)>=1.095;ZTCS:=COUNT(涨停,BARSLAST(涨停+1));ZTCS90:=COUNT(涨停,90);DRAWNUMBER(涨停,HIGH*1.04,ZTCS90),COLORYELLOW;GZT1:=STRCAT('共涨停: ',CON2STR(ZTCS,0));GZT2:=STRCAT(GZT1,'次');SSTS1:=STRCAT('上市: ',CON2STR(FINANCE(42),0));SSTS2:=STRCAT(SSTS1,'天');NTZZT1:=STRCAT('距今:',CON2STR(CONST(BARSLAST(涨停)),0));NTZZT2:=STRCAT(NTZZT1,'天有涨停');ZTTJ1:=STRCAT(SSTS2,GZT2);ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);ZTTJ:=STRCAT('涨停统计:',ZTTJ2);DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,ZTTJ),COLORYELLOW;{涨停分类}个线:=EMA(EMA(CLOSE,30),9);大线:=EMA(EMA(INDEXC,45),9);个股1:=CLOSE/个线*100;大盘1:=INDEXC/大线*100;GGQD:=(个股1-大盘1);N1:=REF(BARSLAST((C-REF(C,1))/REF(C,1)*100>9.6 AND C=H),1)+1;回光返照:=COUNT(CROSS(MA(C,15),MA(C,5)),N1)=0 AND HHV(GGQD,20)>23 AND MA(C,5)>MA(C,30) AND GGQD<HHV(GGQD,30) AND GGQD>5 AND (C-REF(C,1))/REF(C,1)*100>9.6 AND C=H,;ZT:=(C-REF(C,1))/REF(C,1)*100>9.5,COLORWHITE;开盘:=IF(REF(ZT,1)>0 ,(O-REF(C,1))/REF(C,1)*100,0),NODRAW;BIAS1 :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;BIA:=(BIAS1-BIAS2);BIS:=LLV(BIAS1,3);超跌涨停:=ZT>0 AND BIS<0 AND BIA>5 AND MA(C,5)<MA(C,60);DRAWTEXT(超跌涨停,L*0.98,'超跌涨停'),COLORGREEN;MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20) ;MA30:=MA(C,30);MA60:=MA(C,34);F1:=(MA5-MA10)/MA10*100;F2:=(MA10-MA20)/MA10*100;F3:=(MA20-MA60)/MA10*100;拉升涨停:=F1>1 AND F2>3 AND F3>0 AND ZT>0;A1:=REF(C,20)=HHV(C,2*20+1);B1:=FILTER(A1,20);C1:=BACKSET(B1,20+1);HD:=FILTER( C1,20);A:=REF(H,BARSLAST(HD));RSI1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;钝化涨停:=ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80;钝化涨停1:=GGQD>15 AND ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80 ANDREF(GGQD>15 AND ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80,1)=0;新股首次:=COUNT(ZT>0,BARSCOUNT(C))=1 AND ZT>0 AND FINANCE(42)<100;突破涨停:=CROSS(C,A) AND ZT>0;DRAWTEXT(回光返照,L*0.94,'回光返照'),COLORBLUE;DRAWTEXT(拉升涨停,L*0.99,'拉升涨停'),COLORRED;DRAWTEXT(突破涨停,L*0.97,'突破涨停'),COLORYELLOW;DRAWTEXT(新股首次,L*0.96,'新股首次'),COLORMAGENTA;DRAWTEXT(钝化涨停1,L*0.98,'钝化涨停1'),COLORLIGRAY;DRAWTEXT(钝化涨停,L*0.95,'钝化涨停'),COLORLIBLUE;STICKLINE(CLOSE,REF(HIGH,BARSLAST(涨停)),REF(HIGH,BARSLAST(涨停)),0.1,0),COLORDDDD00;STICKLINE(CLOSE,REF(LOW,BARSLAST(涨停)),REF(LOW,BARSLAST(涨停)),0.1,0),COLOR00DDDD;DRAWTEXT_FIX(ISLASTBAR,0,0.999,0),COLOREEEEEE;。

通达信涨停回调第二波启动+选股指标公式

通达信涨停回调第二波启动+选股指标公式
LT:=(CAPITAL/100)/10000<=10;
XG1:LSMR AND REF(LSMR,1) AND CZX>REF(CZX,1) AND LT;
XG2:LSMR AND REF(LSMR,2) AND CZX>REF(CZX,1) AND LT;
XG3:REF(LSMR,1) AND CZX>REF(CZX,1) AND LT AND REF(CZX,1)<REF(CZX,2);
CPXB:=(20*CPXA+19*REF(CPXA,1)+18*REF(CPXA,2)+17*REF(CPXA,3)+16*REF(CPXA,4)+15*REF(CPXA,5)+14*REF(CPXA,6)+13*REF(CPXA,7)+12*REF(CPXA,8)+11*REF(CPXA,9)+10*REF(CPXA,10)+9*REF(CPXA,11)+8*REF(CPXA,12)+7*REF(CPXA,13)+6*REF(CPXA,14)+5*REF(CPXA,15)+4*REF(CPXA,16)+3*REF(CPXA,17)+2*REF(CPXA,18)+1*REF(CPXA,19))/210;
JD30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.14159;
AA30:=JD30>5;
AA:=REF((H+L)/2,TS);
XG:XG1 OR XG2 OR XG3 AND C>MA30 AND C>CPXB AND C>AA;

通达信版 收获2个涨停板分享一个近其超跌选股指标:近期超跌选股

通达信版 收获2个涨停板分享一个近其超跌选股指标:近期超跌选股

通达信自带低点搜寻指标,一波狂跌下挫百分之四五十后,三天内在低点附近企稳,竟价高开的选出来盯盘。

就这么简单!如稳一点可改成六天。

分享一个近其超跌选股指标:从近期高点跌去百分之三十到六十,百分比可调的。

供新手参考!300216已经收获2个涨停板了。

公式源码:{近期超跌选股}{参数BS=60}BS:=60;去除次新股:=FINANCE(42)>120;{上市大于120天}去除ST:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;BL:=C/HHV(C,60);XG:去除ST AND 去除次新股AND 去除停牌AND BL < BS/100;通达信电脑版公式导入方法A:源码导入1、把要导入的公式(源码)复制下来:方法是用左键先把源码变蓝,之后点右键,点复制;2、进入主界面,即K线图模式,同时按住CTRL+F,出现公式管理器-->用鼠标左键单击任何一个公式组的名称(选择技术指标公式或者条件选股公式)-->单击其他-->点新建公式-->在出现的公式编辑区的下面的空白处,把刚拷的源码粘贴上,将公式名称复制后粘贴到公式名称栏-->确定-->退出;3.如有参数的,如:N 1 100 15 之类,则需将这类数据填充到参数表中;B:文件指标导入1、先把指标文件复制到桌面(或者你知道的路径);2、打开通达信,按CTRL+F打开公式管理器点击“导入”按钮;3、找到桌面上要导入的公式选中”公式“后单击左键,后点击“打开”;4、把“+”号单击展开,在公式名前的空方框里单击成“勾选”后,在点击下方的“确认”;5、输入指标名称,回车即可。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档