通达信公式指标黑马涨破天 一路涨破天的选股器
通达信黑马主升浪指标公式
通达信黑马主升浪指标公式明涨停价:CLOSE * 1.1,NODRAW;ST涨停价:CLOSE * 1.05,NODRAW;获利1个点:REF(C,1)*1.01,COLORRED,NODRAW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) >2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17:=1;VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1);VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE <VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE< VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND (VAR58<= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0)*VAB3;VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3)*VAB3;VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30)*VAB3;VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART)*VAB3;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线*VAB3;卖出价参考:VARA12,COLORRED,NODRAW;补仓价参考:VARA13,COLORGREEN,NODRAW;财主抓涨停:(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW;STICKLINE(财主抓涨停,0.1,0,2,0),COLORRED;STICKLINE(财主抓涨停,0.1,1,2,0),COLORBLUE;STICKLINE(财主抓涨停,0.2,1,2,0),COLORRED;STICKLINE(财主抓涨停,0.3,1,2,0),COLORBLUE;STICKLINE(财主抓涨停,0.4,1,2,0),COLORMAGENTA;STICKLINE(财主抓涨停,0.5,1,2,0),COLORBROWN;STICKLINE(财主抓涨停,0.6,1,2,0),COLORMAGENTA;STICKLINE(财主抓涨停,0.7,1,2,0),COLORYELLOW;STICKLINE(财主抓涨停,0.8,1,2,0),COLORLIRED;STICKLINE(财主抓涨停,0.9,1,2,0),COLORYELLOW;。
通达信暴涨黑马指标+选股公式
通达信暴涨黑马指标+选股公式贴上源码:V1:=IF(V=CONST(LLV(V,100)),1,0);V2:=BARSLAST(V1);V3:=REF(H,V2);V4:=EMA(((SLOPE(C,22)*20)+C),55);V5:=EMA(C,12);V6:=LV3 AND C>V4;DRAWICON(V6,LLV(L,10),1);VAR1:=(REF(HIGH,1)+REF(LOW,1))/2;压力线:=MA(CLOSE,20)+2*STD(CLOSE,20);支撑线:=MA(CLOSE,21)-2.2*STD(CLOSE,21);VAR2:=CROSS(VAR1,压力线);VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100;VAR5:=CROSS(79,VAR4);VAR6:=FILTER(VAR5,4);DRAWICON(FILTER(VAR6 OR VAR2,5),HIGH*1.035,2);FF:=EMA(CLOSE,3);暴涨大黑马:EMA(CLOSE,21);AA:=(CLOSE - 暴涨大黑马);趋势生命线:MA(CLOSE,72),LINETHICK3,colorblue;STICKLINE((暴涨大黑马> REF(暴涨大黑马,3)),暴涨大黑马,暴涨大黑马,6,6),LINETHICK3,colorred;STICKLINE((暴涨大黑马< REF(暴涨大黑马,3)),暴涨大黑马,暴涨大黑马,6,6),LINETHICK3,color00ff00;===============增加了部分限制条件测试了一下:一般证券类书籍会将24日均线作为生命线(21日也差不多),股价穿越生命线向上,是大牛股形成的必要条件,但不是充分条件。
即大牛股必定要穿越生命线向上走;穿越生命线的股票不一定是牛股。
通达信自用指标——一线天,一套被公认最为精准实用的指标
通达信自用指标——一线天,一套被公认最为精准实用的指标大家好,我是军师黑马,又到了分享的时间了,这一周大盘连续的回调也是意料之中,跟2014年的技术形态还是有点类似的,如果大盘不回调整理,直接进入疯涨模式,相信这样的牛市是不健康的,市场也是不允许这样的牛市出现的,短暂的回调整理是为了更好的上涨,个人观点还是非常看好下周的表现。
闲话不多说,今天还是分享指标吧,今天无偿分享一套自己经常用的指标,也是经过自己的一个测试非常的精准实用。
一线天用法说明①上穿并且出现红线为入场信号②线上持股。
线下持股③绿色趋势线提示,黄金横线为量能线④白金线横线为洗盘线这里就不多过的介绍功能了,大家拿到指标后可以进行测试,展示源码图如下一线天主图指标源码JJ:=(H+L+3*C)/5;VAR021:=EMA(JJ,5);VAR022:=EMA(JJ,13);VAR023:=EMA(JJ,21 );VAR024:=EMA(JJ,34);H1A:=(VAR021+VAR022+VAR023+VAR02 4)/4;成本和谐:MA(H1A,5),COLORWHITE,LINETHICK1;IF(成本和谐>REF(成本和谐,1),成本和谐,DRAWNULL),COLORRED,LINETHICK3;IF(成本和谐<REF(成本和谐,1),成本和谐,DRAWNULL),COLORGREEN,LINETHICK3;{ZF:=(EMA(SUM(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),49) * 10)+EMA(C,20);★强势线★:IF(PERIOD!=0 ,EMA(ZF,34),DRAWNULL),LINETHICK2,COLOR00 FFFF;IF(★强势线★>REF(★强势线★,1),★强势线★,DRAWNULL),COLORFF00FF,LINETHICK2;MA120:MA(C,120),DOTLINE,COLORWHITE;}N:=30;T1:=CONST(HHVBARS(V,N));T0:IF(CURRBARSCOUNT<=N+7,CONST(IF(T1=0,C,REF(C,T1)) ),DRAWNULL),LINETHICK3,COLORYELLOW;IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT;DRAWTEXT(ISLASTBAR,T0,' 量能平台');N5:=10;T011:=CONST(LLVBARS(LOW,N5));T11HIGH:=CONST(REF(HIGH,T011));T12:=CONST(BARSLAST((CURRBARSCOUNT >(CC01+T011)) AND (HIGH>T11HIGH)));T12HIGH:=CONST(REF(HIGH,T12));T13:=CONST(BARSLAST((CURRBARSCOUNT >(CC01+T12)) AND (HIGH>T12HIGH)));T13HIGH:=CONST(REF(HIGH,T13));洗盘杀入线:DRAWLINE(CURRBARSCOUNT=T13+1, T13HIGH, ISLASTBAR, T13HIGH, 1),LINETHICK2,COLORWHITE;DRAWTEXT(ISLASTBAR, T13HIGH, '洗盘杀入线')LINETHICK2,COLORWHITE;VARA1:=IF(CLOSE>150,91.3,0.913);箱体下沿:INTPART(CLOSE/VARA1 )*VARA1,POINTDOT,LINETHICK4,COL ORGREEN;箱体上沿:箱体下沿+VARA1,POINTDOT,LINETHICK4,COLORYELLOW ;箱体中线: (箱体下沿+箱体上沿)/2,POINTDOT,COLORWHITE,LINETHICK3;N2:=75;P:=5;P01:=10;{N2为多少天内的高低值参数,我以自已的初始K线根数定义。
通达信中长线黑马指标公式源码
通达信中长线黑马指标选股思路,股价前期天量成交后,股价一路下行,经过一段谷底后,缩量突破前期成交量密积期的最高点,说明前期有主力界入,后缩理突破,说明主力控盘力强,现在有拉升的空间。
批标不在好坏,主要是选股的思路,有思路就有指标N:=0;M:=60;TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60, IF(PERIOD=5,240,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:=IF(CURRBARSCOUNT=1,V*TOTAL/CTIME,V);VAR1:=VVOL/CAPITAL*100; {换手率}VAR2:=HHV(VAR1,0); {上市以来的最大换手率}VAR3:=VAR1/VAR2*100; {当前换手率与最大换手率的比值}VAR4:=(H-L)/L*100; {当日涨幅}VAR5:=BARSLAST(VAR3>N); {换手率达80以上至今日的交易天数}VAR6:=REF(HIGH,VAR5);{80以上换手率的最高价}VAR7:=COUNT(CLOSE<VAR6,VAR5);平均成本:=IF(VAR5=0,CLOSE,SUM(CLOSE*VVOL,VAR5)/SUM(VVOL,VAR5)); 进出:=(CLOSE-平均成本)/平均成本*IF((CLOSE-平均成本)/平均成本<1,1000,10);主力入场:=DRAWICON(进出=0,LOW,1);买入:=STICKLINE(CROSS(CLOSE,VAR6) AND VAR3<M ANDVAR7>VAR5*9/10,0,70,1,1);{中线趋势}MDAY:=BARSLAST(VAR3>60 AND VAR3<=70);HIGHM:=REF(HIGH,MDAY);COUNTM:=COUNT(CLOSE<HIGHM,MDAY);MEDIUMCOST:=IF(MDAY=0,CLOSE,SUM(CLOSE*VVOL,MDAY)/SUM(VVOL,MD AY));拉升资金:=(CLOSE-MEDIUMCOST)/MEDIUMCOST*IF((CLOSE-MEDIUMCOST)/MEDIU MCOST<1,1000,10);{LS:=MA(拉升资金,5);}中线买入:=STICKLINE(CROSS(CLOSE,HIGHM) AND VAR3<50 AND COUNTM>MDAY*9/10,0,50,1,1);{短线}SDAY:=BARSLAST(VAR3>40 AND VAR3<=50);HIGHS:=REF(HIGH,SDAY);COUNTS:=COUNT(CLOSE<HIGHS,SDAY);SHORTCOST:=SUM(CLOSE,SDAY)/SDAY;散户进出:=MA((CLOSE-SHORTCOST)/SHORTCOST*IF((CLOSE-SHORTCOST)/SHORT COST<1,1000,10),10);短线买入:=STICKLINE(CROSS(CLOSE,HIGHS) AND VAR3<30 AND COUNTS>SDAY*9/10,0,50,1,1);一剑封喉:=(CROSS(CLOSE,VAR6) AND VAR3<M AND VAR7>VAR5*9/10 AND 拉升资金>散户进出)OR (CROSS(CLOSE,HIGHM) AND VAR3<50 AND COUNTM>MDAY*9/10 AND 拉升资金>散户进出) ;IF(一剑封喉,50,0);。
通达信 指定板块的选股公式
通达信指定板块的选股公式
通达信是一款常用的股票软件,可以根据自定义的公式选取特定板块的股票。
下面是我为您提供的通达信指定板块的选股公式示例:
首先,在通达信的选股功能中,点击“自定义”按钮,进入公式编辑界面。
以下是一个示例公式,用于选取特定板块的股票:
```
市场=0
证券板块=1
板块代码=5 // 这里的5代表需要选取的板块代码,可以根据具体板块进行修
改
条件1=市场=0
条件2=板块代码=5
并且(条件1, 条件2)
```
在这个示例中,我们将市场设置为0代表A股市场,板块代码设置为5,表示
我们指定的板块。
您可以根据自己需要的板块修改板块代码。
使用这个公式可以筛选出符合条件的特定板块的股票。
您可以将公式保存后,
在通达信的选股功能中使用这个公式进行股票选取。
需要注意的是,具体的板块代码需要根据通达信软件提供的板块代码进行设置,确保代码的准确性。
希望上述信息能对您有所帮助,如果有其他问题,请随时追问。
黑马起爆点指标公式源码
黑马起爆点指标公式源码
黑马起爆点指标,也称黑马启明星指标,是技术分析中一个常用的指标,通常用于辨识股价的短期底部反转。
黑马起爆点指标的计算步骤如下:
1.计算过去n天(一般取3天)的平均收盘价,记为MA(n)。
2.计算过去m天(一般取10天)的平均成交量,记为VOL(m)。
3.计算第n+1天的收盘价和成交量,记为close和volume。
4.如果第n+1天的收盘价高于MA(n)的1.02倍,并且成交量高于VOL(m)的1.2倍,则认为出现了黑马起爆点。
以下是一个示例的Python代码实现该指标:
```
import numpy as np
def black_horse(closes, volumes, n=3, m=10):
ma_n = np.mean(closes[-n:])
vol_m = np.mean(volumes[-m:])
close = closes[-1]
volume = volumes[-1]
if close > ma_n * 1.02 and volume > vol_m * 1.2:
return True
else:
return False
```
调用该函数时,传入一个收盘价的列表`closes`和一个成交量的列表`volumes`,即可判断是否出现了黑马起爆点。
返回值为True表示出现了黑马起爆点,False表示没有出现。
需要注意的是,这只是一个简单的示例实现,实际使用时可能需要根据具体情况进行调整。
另外,黑马起爆点指标并不能100%准确地预测股价的反转,仅作为一个参考指标,需要结合其他技术指标和市场情况一起分析。
通达信寻找黑马起爆点的好指标
通达信寻找黑马起爆点的好指标以下是通达信寻找黑马起爆点的好指标(无源码的请下载附件导入)此指标用于通达信{寻找黑马起爆点的好指标用法:白色粘合,黄色高粘,粉色穿5,绿色穿10,亮色选优,红色选优} { 参数设置 N 1,30,10; S 1,4,1}MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);DG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));ZG:=MAX(MAX(DG,MA60),MAX(MA90,MA120));DD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));ZD:=MIN(MIN(DD,MA60),MIN(MA90,MA120));粘合:(ZG/ZD-1)*100<N,COLORFFFFFF,;高粘:(ZG/ZD-1)*100<N AND ZD>MA250,COLOR00FFFF,;穿5:(粘合 AND CROSS(C,MA5))*0.5,COLORFF00FF;穿10:(粘合 AND CROSS(C,MA10))*1,COLOR00FF00;穿20:(粘合 AND CROSS(C,MA20))*2,COLORAAAAAA;穿30:(粘合 AND CROSS(C,MA30))*3,COLORFF8000;FLSZ:=(C/REF(C,1)-1)*100>=2 AND V>REF(V,1);DXTP:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2;优选:FLSZ AND DXTP AND MA30>REF(MA30,1),COLORFFBB99;选优:FLSZ AND DXTP AND MA30>REF(MA30,1) AND 高粘,COLORRED;{以下设置副图显示方式}STICKLINE(粘合,-0.2,0,4,0),COLOR00FF00;STICKLINE(高粘,0.2,0,4,0),COLORFF00FF;DRAWTEXT(优选,3,'优●选'),COLOR00FFFF;DRAWICON(选优,0.3,1);DRAWTEXT(FILTER(粘合,10),-0.2,' 粘合'),COLOR00FF00;DRAWTEXT(FILTER(高粘,10),0.2,' 高粘'),COLORFF00FF;Y:=DATE;DRAWTEXT(Y=1081220,2,'白色粘合,黄色高粘,粉色穿5,绿色穿10,亮色选优,红色选优'),COLOREEAA66;通达信:罕见的黑马起爆点公式VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;VAR3:=SMA(VAR2,2,1);天:100+(-ABS(VAR1)),COLORRED;下:SMA(VAR3,2,1);无:ABS(VAR1),COLORGREEN;敌:50,COLORFFAA00,LINETHICK3;A:80;B:20;{本文来源:分析家公式网 }买:STICKLINE(CROSS(下,无),3,20,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,无),20,25,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,无),30,' '),COLORFFFFCC;卖:STICKLINE(CROSS(下,天),70,90,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,天),90,99,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,天),70,' '),COLORFFFFCC;选股2:IF(CROSS(下,20),1,0);DRAWICON((CROSS(下,20) ),20,1);DRAWICON((CROSS(下,20) ),-20,25);通达信黑马利器【资金起爆点】(副图、源码、贴图、无未来),对于捕捉黑马股票的起爆点有很好的预示作用。
通达信黑马暴涨启动指标公式
通达信黑马暴涨启动指标公式LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;卖点:CROSS(85,RSI1)*10,COLOR00FF00,LINETHICK2;卖:IF(卖点,5,0),STICK,COLORGREEN,LINETHICK4;洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;量1:=EMA(洗钱A,3);量2:=EMA(洗钱A,5);量3:=EMA(洗钱A,7);STICKLINE(量1>量2,量3,量1,3,1),COLORRED;STICKLINE(量1<量2,量3,量1,2,0),COLORCYAN;T1:=量2>量3 AND 量1<REF(量1,1);T2:=量2<量3 AND 量1>REF(量1,1);STICKLINE(T1,量1,量3,2,0),COLORYELLOW;STICKLINE(T2,量1,量3,3,1),COLORFF00FF;洗钱B:=SMA(洗钱A,13,1);分水岭:SMA(洗钱B,2.5,1.5),LINETHICK2,COLORWHITE;牛线:3*洗钱B-2*分水岭,LINETHICK2,COLORFF00FF ;熊线:4*分水岭-3*洗钱B,LINETHICK2,COLORFF6633;TT:=CROSS(分水岭 ,熊线);TY:=CROSS(牛线 ,分水岭);黄金买点:IF((TT AND TY),5,0),COLORYELLOW,LINETHICK2;AA:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);GG:=(AA>=-0.03,5);SS:=(AA<=0.03,5);QQ:=IF((GG AND SS),1,0);暴涨买点:IF((黄金买点 AND QQ),10,0),COLORRED,LINETHICK4;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,38);VAR6:=HHV(VAR4,38);VAR7:=IF(LLV(LOW,90),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;STICKLINE(VAR8,0,VAR8,10,15),COLOR000999;主力入货:(VAR8),COLOR000999;。
强庄黑马起爆点指标公式
强庄黑马起爆点指标公式
强庄黑马起爆点指标公式是一个基于技术分析的指标,用于判断股价的走势和风险。
该指标主要由以下公式组成:强庄黑马起爆点=均线值+ 2倍标准差值。
其中,均线值是指股价的移动平均值,标准差是指数据分布的离散程度。
通过计算强庄黑马起爆点指标,可以更准确地判断股价的波动范围和预测未来走势。
如果股价穿越强庄黑马起爆点指标,说明市场可能出现大幅度波动或者反转。
除了强庄黑马起爆点指标,还有很多其他的技术指标可以用于股价分析和风险控制,例如MACD、RSI、布林带等等。
投资者可以根据自己的投资风格和偏好选择适合自己的指标进行分析和决策。
主升起爆点、黑马起步、空中加油通达信指标公式源码
主升起爆点、黑马起步、空中加油!年:=1+(BARSLAST(YEAR!=REF(YEAR,1) OR DATETODAY(DATE)=1)); 天数:=IF(PERIOD=5,年,DRAWNULL);高1:=HHV(H,天数);低1:=LLV(L,天数);高低:(C-低1)/(高1-低1)*100,,NODRAW,COLORFFFF00;振幅:(高1-低1)/低1*100,NODRAW,COLORWHITE;天:CONST(高1),NODRAW,COLORYELLOW;地:CONST(低1),NODRAW,COLOR00FF00;H66%:CONST(高1-(高1-低1)*1/3),NODRAW,COLORFFFF00;中:CONST(高1-(高1-低1)*1/2),NODRAW,COLORWHITE;H33%:CONST(高1-(高1-低1)*2/3),NODRAW,COLOR0099FF;TT3:=(CURRBARSCOUNT=1{5});TT4:=(CURRBARSCOUNT=1{5+3});STICKLINE(C>0,CONST(高1-(高1-低1)*1/4),CONST(高1-(高1-低1)*1/4),2,0),COLORFF00FF;STICKLINE(C>0,CONST(高1-(高1-低1)*3/4),CONST(高1-(高1-低1)*3/4),2,0),COLORFF00FF;STICKLINE(C>0,天,天,10,0),COLORYELLOW;STICKLINE(C>0,地,地,10,0),COLOR00FF00;STICKLINE(C>0,H66%,H66%,10,0),COLORFFFF00;STICKLINE(C>0,中,中,10,0),COLORWHITE;STICKLINE(C>0,H33%,H33%,10,0),COLOR0099FF;H75%:CONST(高1-(高1-低1)*1/4),NODRAW;H25%:CONST(高1-(高1-低1)*3/4),NODRAW;均价线:=AMOUNT/V/100;C2:=REF(C,1);涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;STICKLINE(涨停,OPEN,CLOSE,2.8,0),COLORYELLOW;STICKLINE(涨停,H,L,0,0),COLORYELLOW;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100; 趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100; 震仓线:=45;震仓线2:=50;逃命线:=80;抄底线:=20;绝底线:=5;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线AND REF(操作线,1)>震仓线;PP3:=操作线<抄底线AND REF(操作线,1)>抄底线;HH:=COUNT(涨停,13)>=1;STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE; STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE; STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;A:=SMA(L,4,3);{}DRAWTEXT("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND EXPMA(C,12)>EXPMA(C,50),L*0.95,'起爆'),COLORRED;星板:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&& CLOSE/OPEN>1.03&&CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.071; DRAWTEXT(星板,L*0.950,'主升'),COLORMAGENTA;DRAWICON(星板,L*0.97,1);。
黑马必抓通达信指标公式源码
{黑马}AHC1:=CLOSE*VOL;AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EX PMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);通道:=1.0668*AHC22;起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;RRF:=起爆;A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);金线王:=EMA(A2,200)*1.118;金线王2:=EMA(A2,200)*1.118;条件:=(C-REF(C,1))/REF(C,1)*100>8;金K线:=CROSS(C,金线王) AND 条件;AA05:=MA(C,5);AA30:=MA(C,30);MA05:=MA(C,5);MA10:=MA(C,13);MA30:=MA(C,34);速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);五日乖离率:=(C-AA05)/AA05*100;三拾日乖离率:=(C-MA30)/MA30*100;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;买入:=FILTER(MR,10);STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR000088;STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000AA; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000CC; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000EE; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000EE; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLORLIMAGENTA; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLOR770077; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLOR990099; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORBB00BB; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORDD00DD; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORFF00FF; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORDD00DD; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR003300; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR005500; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR007700; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR009900; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR00CC00; STICKLINE(RRF,0,3,5,0),COLOR008888;STICKLINE(RRF,0,3,5,0),COLOR00AAAA;STICKLINE(RRF,0,3,5,0),COLOR00CCCC;STICKLINE(RRF,0,3,5,0),COLOR00FFFF;STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR000088; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000AA; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000CC; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000EE; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000EE; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLORLIMAGENTA; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLOR770077; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLOR990099; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORBB00BB; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORDD00DD; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORFF00FF; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORDD00DD; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR003300; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR005500; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR007700; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR009900; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR00CC00; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR666666; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR777777; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR888888; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR999999; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLORDDDDDD;STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLORFFFFFF; DRAWTEXT(RRF,10.5,'黑马一号'),COLORYELLOW; {DRAWTEXT(RRF,8.5,'黑'),COLORYELLOW;} DRAWTEXT(金K线,6,'黑马启动'),COLORYELLOW; {DRAWTEXT(RRF,3.5,'启'),COLORRED; DRAWTEXT(RRF,1,'动'),COLORRED;}STICKLINE(买入,10,0,3,0),COLORRED; {DRAWTEXT(买入,10.5,'黑'),COLORYELLOW; DRAWTEXT(买入,7.5,'马'),COLORYELLOW; DRAWTEXT(买入,4.5,'必'),COLOR00FFFF;} DRAWTEXT(买入,1.5,'黑马必抓'),COLOR00FFFF;。
通达信选股公式大全
通达信选股公式大全简介通达信是一款广受股票投资者欢迎的股票软件,提供了许多强大的功能,其中之一就是选股公式。
选股公式是股票投资者在进行选股时所使用的一种工具,通过设定一系列的条件和参数,筛选符合要求的股票。
本文将为您介绍通达信中常用的选股公式,帮助您更好地使用这个功能。
常用公式1. 均线选股公式均线选股公式是股票投资中最常用的选股方法之一。
通达信提供了多种均线选股公式,包括简单均线、指数均线等。
以下是一个简单均线选股公式的示例:CROSS(MA(CLOSE, 5), MA(CLOSE, 10)) && CROSS(MA(CLOSE, 10), MA(CLOSE, 20))这个公式实现了当5日均线上穿10日均线,并且10日均线上穿20日均线时的选股条件。
2. 成交量选股公式成交量是衡量股票流动性的指标,也常被用于选股。
通达信提供了多种成交量选股公式,可以根据不同的成交量条件进行选股。
以下是一个成交量选股公式的示例:VOL > REF(VOL, 1) * 1.5这个公式实现了当当前成交量大于前一日成交量的1.5倍时的选股条件。
3. 涨停选股公式涨停是股票交易中的一种现象,经常被投资者用于选股。
通达信提供了涨停选股公式,可以根据涨停情况筛选股票。
以下是一个涨停选股公式的示例:CLOSE == REF(HIGH, 1) && HIGH == ROUND(CLOSE * 1.1, 2)这个公式实现了当当天的收盘价等于前一天的最高价,并且当天的最高价等于收盘价的1.1倍时的选股条件。
进阶公式除了上述常用公式外,通达信还有许多进阶选股公式,可以根据个人的需求进行定制。
这些进阶公式可以根据股票的基本面、技术指标等进行选股。
以下是一些常见的进阶选股公式:•根据市盈率选股:PE > 0 && PE < 20•根据市净率选股:PB > 0 && PB < 3•根据相对强弱指标选股:RSI(CLOSE, 14) > 70•根据MACD指标选股:DIF > DEA•根据成交量和价格选股:CLOSE * VOL > 100000这些公式只是选股公式的一个简单示例,您可以根据自己的需求进行修改和扩展。
[通达信]“翻倍黑马”+选股公式
[通达信]“翻倍⿊马”+选股公式[通达信] "翻倍⿊马"+选股公式公式原码如下:MA5:MA(C,5),COLORYELLOW,LINETHICK0;MA24:MA(C,24),COLORYELLOW,LINETHICK0;均量5:MA(VOL,5),COLORYELLOW,LINETHICK0;均量60:MA(VOL,60),COLORYELLOW,LINETHICK0;DIFF:=EMA(CLOSE,10)-EMA(CLOSE,20);DEA:=EMA(DIFF,7);MACD:=2*(DIFF-DEA);启动点:IF(CROSS(MA5,MA24) AND 均量5>均量60 AND MACD>0 AND DIFF>DEA,8,0);通达信可⽤的选股公式MA5:=MA(C,5);MA24:=MA(C,24);均量5:=MA(VOL,5);均量60:=MA(VOL,60);DIFF:=EMA(CLOSE,10)-EMA(CLOSE,20);DEA:=EMA(DIFF,7);MACD:=2*(DIFF-DEA);启动点:IF(CROSS(MA5,MA24) AND 均量5>均量60 AND MACD>0 AND DIFF>DEA,8,0);[通达信] 超级⿊马+选股(副图)A00:=SUM(IF((CLOSE> REF(CLOSE,1.000)),VOL,IF((CLOSE<REF(CLOSE,1.000)),(0-VOL),0)),0);A01:=SUMBARS(VOL,CAPITAL);A02:=IF((CLOSE>LLV(CLOSE,A01)),1.000,(0-1.000))*IF((A00 >LLV(A00,A01)),1.000,(0-1.000));A03:=(COUNT((IF((A02=(0-1.000)),1.000,0)=1.000),8.000)>2.000);A04:=((CLOSE-DMA((((3.000 * HIGH + LOW)+OPEN)+2.000 * CLOSE)/7.000,VOL/SUM(AMOUNT,13.000)/AMOUNT/VOL/100.000/100.000))/DMA((((3.000*HIGH+LOW)+OPEN)+2.000*CLOSE)/7.000,VOL/SUM(AMOUNT,13.000)/ AMOUNT/VOL/100.000/100.000)*100.000<(0-18.000));A05:=((CLOSE-MIN(REF(CLOSE,5.000)*0.865,REF(CLOSE,21.000)*0.772))/CLOSE<0.009);A06:=((A03 AND A04) AND A05);A07:=(((((OPEN < EMA(CLOSE,5.000)) AND (CLOSE=HIGH)) AND (CLOSE/OPEN>=1.05)) AND (VOL/CAPITAL>=0.019)) AND (VOL/CAPITAL<=0.200));A08:=(A07 AND (COUNT(A07,5.000)=1.000));A09:=((((((((((((MA(CLOSE, 3.000)>REF(MA(CLOSE,3.000),1.000)) AND (MA(CLOSE, 5.000)>REF(MA(CLOSE,5.000),1.000))) AND (MA(CLOSE,10.000)>REF(MA(CLOSE,10.000),1.000))) AND(VOL/240.000>REF(VOL,30.000)*1.200/240.000*1.500)) AND (CLOSE>LOW*1.059)) AND (CLOSE>REF(MA(CLOSE,3.000),1.000))) AND REF(CLOSE,1.000)) AND (MA(CLOSE,5.000)>REF(MA(CLOSE,5.000),1.000))) AND (MA(CLOSE,10.000)>REF(MA(CLOSE,10.000),1.000))) AND (MA(CLOSE,20.000)>REF(MA(CLOSE,20.000),1.000))) AND (MA(VOL,5.000)>REF(MA(VOL,5.000),1.000))) AND ((MA(CLOSE,5.000)-MA (CLOSE,10.000))<= 0.579));A0A:=FILTER(A09,5.000);⽜股:((A06 OR A07) AND A0A),COLORYELLOW,LINESTICK;DRAWTEXT(⽜股,1.4,'▲←超级⿊马'),COLORRED;选股A00:=SUM(IF((CLOSE> REF(CLOSE,1.000)),VOL,IF((CLOSE<REF(CLOSE,1.000)),(0-VOL),0)),0);A01:=SUMBARS(VOL,CAPITAL);A01:=SUMBARS(VOL,CAPITAL);A02:=IF((CLOSE>LLV(CLOSE,A01)),1.000,(0-1.000))*IF((A00 >LLV(A00,A01)),1.000,(0-1.000));A03:=(COUNT((IF((A02=(0-1.000)),1.000,0)=1.000),8.000)>2.000);A04:=((CLOSE-DMA((((3.000 * HIGH + LOW)+OPEN)+2.000 * CLOSE)/7.000,VOL/SUM(AMOUNT,13.000)/AMOUNT/VOL/100.000/100.000))/DMA((((3.000*HIGH+LOW)+OPEN)+2.000*CLOSE)/7.000,VOL/SUM(AMOUNT,13.000)/ AMOUNT/VOL/100.000/100.000)*100.000<(0-18.000));A05:=((CLOSE-MIN(REF(CLOSE,5.000)*0.865,REF(CLOSE,21.000)*0.772))/CLOSE<0.009);A06:=((A03 AND A04) AND A05);A07:=(((((OPEN < EMA(CLOSE,5.000)) AND (CLOSE=HIGH)) AND (CLOSE/OPEN>=1.05)) AND (VOL/CAPITAL>=0.019)) AND (VOL/CAPITAL<=0.200));A08:=(A07 AND (COUNT(A07,5.000)=1.000));A09:=((((((((((((MA(CLOSE, 3.000)>REF(MA(CLOSE,3.000),1.000)) AND (MA(CLOSE, 5.000)>REF(MA(CLOSE,5.000),1.000))) AND (MA(CLOSE,10.000)>REF(MA(CLOSE,10.000),1.000))) AND(VOL/240.000>REF(VOL,30.000)*1.200/240.000*1.500)) AND (CLOSE>LOW*1.059)) AND (CLOSE>REF(MA(CLOSE,3.000),1.000))) AND REF(CLOSE,1.000)) AND (MA(CLOSE,5.000)>REF(MA(CLOSE,5.000),1.000))) AND (MA(CLOSE,10.000)>REF(MA(CLOSE,10.000),1.000))) AND (MA(CLOSE,20.000)>REF(MA(CLOSE,20.000),1.000))) AND (MA(VOL,5.000)>REF(MA(VOL,5.000),1.000))) AND ((MA(CLOSE,5.000)-MA (CLOSE,10.000))<= 0.579));A0A:=FILTER(A09,5.000);超级⿊马:((A06 OR A07) AND A0A);===========================================[通达信] 波段指标(源码副图选股)波段指标源码买:=IF("KDJ.J"<0,10,0);条件:=CROSS(9.9,买);VAR1:=(2*CLOSE+HIGH+LOW)/4;VAR2:=LLV(LOW,5);VAR3:=HHV(HIGH,5);VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);MA1:=MA(VAR4,2);AA:STICKLINE(VAR4>MA1,VAR4,MA1,6,1),COLORRED;BBB:STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,6,1),COLORRED;STICKLINE(VAR4<=MA1,VAR4,MA1,6,1),COLORFFCC66;DRAWICON(CROSS(9.9,买),VAR4-12,4);STICKLINE(CROSS(9.9,买),VAR4+5,MA1-4,6,1),COLORYELLOW;XXX:STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4+5,MA1-4,6,1),COLORYELLOW;关注:(VAR4>MA1 AND REF(VAR4,1)<30)*20;==================================[通达信] ⼗战七胜主图+选股(源码副图)MAA5:MA(C,5),COLORFF00FF,LINETHICK2;MAA10:=MA(C,10);MAA30:MA(C,30),COLORRED;KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;选股公式:A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买进:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))),COLORRED;DRAWTEXT(买进,0.5,'↖买进'),COLORYELLOW;========================================[通达信] 最⽜特⾊主图(源码 )2011年最⽜特⾊主图指标公式均5:MA(CLOSE,5), COLOR0000FF;均10:MA(CLOSE,10) ,COLORFF5555,LINETHICK2;均30: MA(CLOSE,30) , COLORGREEN;均60: MA(CLOSE, 60) ,COLORRED ,POINTDOT,LINETHICK4;均120: MA(CLOSE, 120),COLORFF1100 ,LINETHICK3 ;均250: MA(CLOSE, 250),COLORFF9999 ,LINETHICK3 ;魔⿁通道上:均30 + 2*STD(CLOSE,60) ,COLORYELLOW ,POINTDOT ,LINETHICK3 ;魔⿁通道下:均30 - 2*STD(CLOSE,60) ,COLORYELLOW, POINTDOT, LINETHICK3;DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,LOW*0.98,1);DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,HIGH*1.02,2);DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95 ANDREF(C,2)<REF(C,3) AND REF(OPEN,1)<REF(CLOSE,2) ANDREF(CLOSE,1)>REF(CLOSE,2) ANDREF(CLOSE,1)>(REF(CLOSE,2)+REF(OPEN,2))/2 ANDCLOSE>REF(CLOSE,1) ANDLLV(LOW,13)=REF(LOW,1),LOW*0.96,'曙光'), COLORYELLOW;DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1) < REF(CLOSE,2) ANDABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),LOW*0.96 ,'早晨' ) ,COLORYELLOW;DRAWICON(REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1) < REF(CLOSE,2) ANDABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),C,1);==================================[通达信] 精准顶底买卖V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主⼒撤: IF(V4<=0,V4,0),colorblue;主⼒进: IF(V4>=0,V4,0),colorff00ff;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;⼤盘资⾦进场:IF(VB>=0,VB,0),Colorred;⼤盘资⾦撤⾛:IF(VB<=0,VB,0),colorgreen;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现⾦: STICKLINE(趋势线<=13,0,20,2,0),colorcc9900;aa:=(趋势线<=13) and filter((趋势线<=13),15);drawtext (aa,30,'准备现⾦'),colorcc9900;买⼊股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),color0099ff;bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10) ;bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10) ;drawtext (bb,60,'买⼊股票'),color0099ff;卖临界: STICKLINE(趋势线>90 and 趋势线>ref(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:filter(趋势线>90 and 趋势线<ref(趋势线,1) and 主⼒进<ref(主⼒进,1),8); DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 AND V12),10);stickline(⼤盘资⾦进场 and 趋势线<13,0,30,2,0),colorred;stickline(⼤盘资⾦撤⾛ and 趋势线>90,0,30,2,0),colorgreen;stickline(主⼒进 and 趋势线<13,0,40,2,0),colorff00ff;stickline(主⼒撤 and 趋势线>90,0,40,2,0),colorblue;要说明的是,本指标不仅分时可⽤,各个周期都可以⽤.当然,指标不是万能的.炒股的经验才是决胜股市的关键.代码只⽤前⼏⾏更好V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主⼒撤: IF(V4<=0,V4,0),colorblue;主⼒进: IF(V4>=0,V4,0),colorff00ff;==============================通达信MACD底背离选股公式条件选股公式:macd背离的公式选股器DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);FILTER(B1>0,5)条件选股公式:macd,RSi,kdj底背离KDJ_K:="KDJ.K"(9,3,3);KDJ_D:="KDJ.D"(9,3,3);KDJ_J:="KDJ.J"(9,3,3);买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26);买2:=CROSS("RSI.RSI1"(6,2,2),20) OR CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));买3:=CROSS("MACD.DIF","MACD.DEA") OR CROSS("MACD.MACD",0);买0:=买1+买2+买3;买:IF(买0>1,买0,0);通达信百发百中{百发百中 K:100,120,105}VARA:=CLOSE/MA(CLOSE,48)*100<71*K/100;VARB:=CLOSE/MA(CLOSE,50)*100<70*K/100;VARC:=HIGH/LOW>1.078/K*100;VARD:=VARC AND COUNT(VARC,4)>2;VAR1:=CLOSE;VAR2:=MA(VAR1,6);VAR3:=MA(VAR1,24);VAR4:=MA(VAR1,32);VAR5:=MA(VAR1,62);VAR6:=MA(VAR1,105);百:=VAR5/VAR6*100;发:=VAR4/VAR2*100;中:=VAR3/VAR2*100;财:=VAR2/VAR1*100;⼊:=CLOSE/COST(8)*100;((发>110/K*100 AND ⼊<80*K/100) OR (VARD AND (VARA OR VARB)))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,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));1)KDJ和RSI在20以下钝化⼀段时间;2)MACD绿线逐渐缩短,且DIF上穿DAE⽽DEA也向上运⾏;3)⽇线向SAR靠拢并交叉;4)ROC 在超卖区上穿MROC并且MROC上⾏;5)BOLL开⼝放⼤;6)5⽇线⾛平并上穿10⽇线且10⽇线⾛平并向上。
通达信量能主升捕捉黑马主图公式源码
通达信量能主升捕捉黑马主图公式
这是我自己常用的成交量买卖公式,经常会抓到你想要的牛股
公式原理:一支股票好与不好,成交量是关键,放量了股价也创新高了,这样的股票做中长线百分之百不亏,直到在顶部放巨量了赶紧跑吧,不管后面再如何涨,都是主力在为了出货而拉升股价
关注量爆出现后突破量爆的最高价
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
STICKLINE( ZT,C,O,2,0),COLORYELLOW;
走强线:EMA(COST(99),181),COLORYELLOW,LINETHICK2;
巨量平台:REF(H,BARSLAST(V=HHV(VOL,120))),COLORRED,LINETHICK2;
XG:= NOT(REF(巨量平台,1)=巨量平台) AND ZT;
DRAWTEXT(XG,L,'量爆'),COLORCYAN;
主升:=CROSS(C,巨量平台);
DRAWTEXT(主升,L,'↖主升'),COLORYELLOW;
DRAWTEXT(主升AND ZT,L,'↖超级主升'),COLORRED;。
通达信自己用了5年的黑马启动指标公式
通达信自己用了5年的黑马启动指标公式趋势:EMA(EMA(C,4),4),COLORYELLOW;月K:="KDJ.K#MONTH";月D:="KDJ.D#MONTH";周K:="KDJ.K#WEEK";周D:="KDJ.D#WEEK";日K:="KD.K";日D:="KD.D";日金叉:=IF(CROSS(日K,日D),15,0);周金叉:=IF(CROSS(周K,周D),25,0);月金叉:=IF(CROSS(月K,月D),35,0);日周月:=IF(日金叉=15 AND 周金叉=25 AND 月金叉=35,1,0);日周月赚:=日周月=1;日周:=IF(日金叉=15 AND 周金叉=25,2,0);日周赚:=日周=2;周月:=IF(周金叉=25 AND 月金叉=35,3,0);日月:=IF(日金叉=15 AND 月金叉=35,4,0);日月赚:=日月=4;周月赚:=周月=3;DRAWTEXT(日周月赚,趋势*0.96,'↖LSP大牛'),COLORRED;DRAWTEXT(周月赚,趋势*0.97,'↖LSP金牛'),COLORFF00FF;DRAWTEXT(日月赚,趋势*0.98,'↖LSP牛牛'),COLORYELLOW;DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);AAA:=(DIF-DEA)*2*60;启动:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;DRAWTEXT(启动,L*0.97,'↖金牛启动'),COLORYELLOW,LINETHICK2;AA:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;BB:=EMA(AA,2);TP:=(CROSS(AA,BB) OR CROSS(C,AA)) AND C>=EMA(C,55);CC:=EMA(CLOSE,12)-EMA(CLOSE,26);DD:=EMA(CC,9);主升启动:=TP AND CROSS(CC,DD) AND (DD<=-0.07)*CC;DRAWICON(主升启动,L*0.996,1);DRAWTEXT(主升启动,L,'↖LSP牛');VAR1:=(C+H+O+L)/4;MA1:=MA(VAR1,3);MAA5:MA(C,5),COLORRED,LINETHICK1;A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=DVOL*DCLOSE/100;B1差:=B1万元-REF(B1万元,1);B2万元:=DVOL*DCLOSE/100;B2比:=B2万元/REF(B2万元,1);净流入万元:=(AAA2-AAA3-0.5*AAA4);PM:=MA(净流入万元,1);PMA:=PM/REF(PM,1)>1;PMB:=REF(PMA,1)<1 AND PMA;密码:(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;二日比:=密码/REF(密码,1);Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,STRCAT(Z3,GNBLOCK )),COLORYELLOW;。
通达信中长线黑马指标公式源码
通达信中长线黑马指标公式源码通达信中的长线黑马指标是一种用于寻找潜在上涨股票的指标,通过分析股票的长期趋势和波动情况来筛选出有潜力的个股。
下面是该指标的公式源码:```参数:N:长线天数M:短线天数变量:HIGH1:前N天最高价LOW1:前N天最低价HIGH2:前M天最高价LOW2:前M天最低价计算:HIGH1:=HHV(HIGH,N);LOW1:=LLV(LOW,N);HIGH2:=HHV(HIGH,M);LOW2:=LLV(LOW,M);IFHIGH=LOWTHENLONGDAY:=0ELSELONGDAY:=FLOOR(((CLOSE-LOW2)/(HIGH2-LOW2)-1)*100)*(N-M)/N;IFHIGH1=LOW1THENSHORTDAY:=0ELSESHORTDAY:=FLOOR(((CLOSE-LOW1)/(HIGH1-LOW1)-1)*100)*M/N;LONGHANDLE:=IF(LONGDAY>0,LONGDAY,0);SHORTHANDLE:=IF(SHORTDAY>0,SHORTDAY,0);LONGMA:MA(LONGHANDLE,N);SHORTMA:MA(SHORTHANDLE,M);SIGNAL:=IF(LONGMA>SHORTMA,1,IF(LONGMA<SHORTMA,-1,0));DRAWLINE(LONGHANDLE,'LONGHANDLE',RED);DRAWLINE(SHORTHANDLE,'SHORTHANDLE',BLUE);```这段代码首先定义了两个参数:N为长线天数,M为短线天数。
接着定义了四个变量:HIGH1、LOW1、HIGH2和LOW2,分别表示前N天最高价、前N天最低价、前M天最高价和前M天最低价。
然后,通过调用HHV函数和LLV函数分别计算了最高价和最低价的历史最高值和最低值。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
黑马涨破天一路涨破天的选股器
这个指标最好配合MACD使用,如果MACD出现顶背离这个指标选出的股慎入,起码要求MACD在多方才可以购入!或者选出后等K线形成阳线双响炮或者N 形再入比较靠谱!
切忌指标是死的,给会用会参考的人用,完全依赖指标买卖的谨慎点!
切忌拿去之后一定要研究两天在加入实战
切忌不要完全依赖指标哦,指标是死的,是参考
欢迎对此有心得的人能在下面发言,交换心得,一起研究进步!
倍数:=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 连阳;。