【股票指标公式下载】-【通达信】黑马雷达(决策线、黑马)
通达信黑马出枪公式选股(副图指标公式、公式、源码、演示图)
通达信黑马出枪公式选股(副图指标公式、公式、源码、演示图)相关标签:通达信黑马启动指标、黑马启动指标公式源码、通达信所有黑马的共性、通达信黑马飞升指标、黑马起飞主图指标通达信、黑马出现指标公式、通达信黑马出枪公式选股LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);0,COLORFF00FF;WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,13) - LLV(LOW,13)));NEWVOL:=(RSI5 - WR10);阶段底部:=(AV + NEWVOL);趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;STICKLINE(CROSS(阶段底部,0),0,-10,0.1,1),LINETHICK6,COLORRED;STICKLINE((趋势线 >230 ),100,90,0.1,1),LINETHICK6,COLORGREEN;Y1:=LLV(L,17);Y2:=SMA(ABS(L-REF(L,1)),17,1);Y3:=SMA(MAX(L-REF(L,1),0),17,2);Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW;强拉升: IF(CROSS(Q,0),1,0),COLORYELLOW;Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2;STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA;加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA;VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;VAR2:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4), 4),4);天:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2));地:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1));STICKLINE(地>天 AND 地<0,10,0,1,0),COLORRED;开始拉升:STICKLINE(地>天 AND 地<0,10,0,1,0)=1,COLORRED;LOWV:=LLV(LOW,9);HIGHV:=HHV(HIGH,9);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:EMA(RSV,3);D:MA(K,3);STICKLINE(K>D , K,D ,1.1,0),COLORRED,LINETHICK2;STICKLINE(D>K,K,D,1.1,0),COLORGREEN,LINETHICK2;逃顶线:90,COLORGREEN;抄底线:10,COLORGREEN;警戒:阶段底部 < 0,LINETHICK0,COLORYELLOW;出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;R1:=1;R2:=((((2*CLOSE)+HIGH)+LOW) / 4);R4:=LLV(LOW,5);R5:=HHV(HIGH,4);C1:=(EMA((((R2-R4)/(R5-R4))*100),4)*R1),COLORFF00FF,LINETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*R1),COLORFFFF FF,LINETHICK2;条:=CROSS(C1,C2) AND C1<40;STICKLINE(条,0,-10,2,0),COLORRED;DRAWTEXT(条,20,'出枪'),COLORYELLOW;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,20,0),LINETHICK1,COLORYELLOW;AAZ2:=(MIN(O,C)-L)/L*100>1.4;BBZ2:=L/MA(C,30)<1.03 AND L/MA(C,30)>0.99 AND C<=O;准备抓:IF(AAZ2 AND BBZ2,20,0);DRAWTEXT(AAZ2 AND BBZ2,20,'准备')COLORLIBLUE;。
(整理)【股票指标公式下载】-【通达信】TDX趋势分析(量能饱和度、黑马线)
【通达信】TDX趋势分析(量能饱和度、黑马线)-指标公式源码量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW;AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,12),COLOR0000FF;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);DRAWBAND(AA10,RGB(150,50,50),AA12,RGB(0,100,50));X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45上升'),COLORWHITE;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;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;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.99),'老鼠仓'),COLOR4080FF;A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);黑马线:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,(HIGH* 0.97),'▲大黑马'),COLORYELLOW;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500; DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;注意买:=IF((VAR4<10),80,100);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0); DRAWTEXT(买入 AND 注意买=100 AND 超跌=0,LOW,'短线'),COLOR8000FF; MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),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,'拉升'),COLORFFDE00; STICKLINE(CLOSE>OPEN,OPEN,LOW,0,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0,0 ),COLOR0000FF;STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFF8800; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFAA00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFCC00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLORFFEE00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR000088;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000AA;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000CC;VAR9Q:=C=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) ANDREF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR000066;STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR000088;STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000AA;STICKLINE(VAR9Q,C,(O+C)/2,0,0),COLOR0000CC;VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF22FF;STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFF44FF;STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFF66FF;STICKLINE(VARAQ,C,(O+C)/2,0,0),COLORFF88FF;VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND(REF(C,1)>HHV(C,4) OR REF(C,1)<HHV(C,4)) AND C<REF(C,1) ORREF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);STICKLINE(VARBQ,C,(O+C)/2,3,0),COLOR444444;STICKLINE(VARBQ,C,(O+C)/2,2,0),COLOR666666;STICKLINE(VARBQ,C,(O+C)/2,1,0),COLOR888888;STICKLINE(VARBQ,C,(O+C)/2,0,0),COLORAAAAAA;VARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR004400;STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR006600;STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR008800;STICKLINE(VARCQ,O,(O+C)/2,0,0),COLOR00AA00;VARDQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF2200;STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFF4400;STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFF6600;STICKLINE(VARDQ,O,(O+C)/2,0,0),COLORFF8800;【通达信】TDX趋势分析(量能饱和度、黑马线)-指标公式效果图(文档来源:若水财经社区)。
『通达信黑马系列绝密指标公式源码下载』-股票指标公式下载
『通达信黑马系列绝密指标公式源码下载』-股票指标公式下载
『通达信黑马系列绝密指标公式源码下载』-股票指标公式下载
底:0,COLORBLUE;
JZCSYL:=FINANCE(33)/ FINANCE(34)*100;
ZCBS:=IF(JZCSYL>50,8,IF(50>JZCSYL>=14,2.2+(JZCSYL-14)*0.16, 2.2+(JZCSYL-14)* 0.15));
LTP:=CAPITAL;
LTPBS:=IF(LTP<1000000,(1000000-LTP)/1000000,0);
股价估值: FINANCE(34)*(ZCBS+LTPBS)*4,COLORRED;
中线:股价估值/2,COLORFF00FF,POINTDOT;
现价:C,COLORWHITE;
上涨空间:(股价估值-C)/C,COLORWHITE,LINETHICK0;
警示线:股价估值*0.9,COLORYELLOW;
说明:1、只适应净资产收益率大于2%的股票。
2、如果某只股票出现下列不可原谅的因素,将不适合:
A,现金流小于A股市场平均值。
B,行业经营周期明显开始走向低迷或正处于低迷。
C,公司管理层或财务出现问题。
D,市场对某一类特定概念进行疯狂炒作(非理性)。
3、上涨空间,是指收盘价到估值价的空间倍数。
通达信精选指标:黑马柱,捕捉大黑马的好指标(源码免费分享)
通达信精选指标:⿊马柱,捕捉⼤⿊马的好指标(源码免费分享)今天跟⼤家分享⼀个副图指标,是捕捉⿊马的有效⼯具,是⼀种研判股票⾛势,短线炒股擒拿涨停,强烈地感受到这⼀形态的强悍和巨⼤威⼒⿊马柱是股票买卖成交量形成的量柱体,有⾼低之分,有红黄⽩绿之别,K线应是“三连阳”,只阳不阴,体现了主⼒拉升股价强⼒做多。
指标就不多介绍了,源码分享在下⾯,⼤家⾃⾏测试,喜欢的朋友点下关注,更多指标战法,持续更新源码AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);VAR1:=HIGH-LOW;VAR2:=ABS(OPEN-CLOSE);VAR3:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);VAR4:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;VAR5:=VAR2/VAR1*VOL;VAR6:=VAR3/VAR1*VOL;VAR7:=VAR4/VAR1*VOL;VAR8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));MA5:=MA(VOL,5),COLORRED;虚量:=IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;成交额(亿):=AMOUNT/100000000,POINTDOT;STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,虚量,0,-1,-1),COLOR00C0C0;换⼿:=V*100/CAPITAL; AAAA:=V;BBBB:=CAPITAL;换⼿率:=AAAA*100/BBBB;BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); VAR12:=(HIGH - LOW);VAR13:=ABS((OPEN - CLOSE));VAR14:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR15:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR16:=((VAR13 / VAR12) * VOL);VAR17:=((VAR14 / VAR12) * VOL);VAR18:=((VAR15 / VAR12) * VOL);VAR19:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND(MA(CLOSE,30) > MA(CLOSE,60)));VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));VARD:=REF(CLOSE,1);DRAWTEXT(((((((VAR18 > VAR16) AND (VAR18 > VAR17)) AND (VARA < (0 - 2))) AND (CLOSE < MA(CLOSE,30))) AND (VAR18 < (MA(VOL,5) / 2))) AND (MA(VOL,5) <MA(VOL,10))),VOL,'低进')COLORRED;DRAWTEXT((((((VAR16 > (MA(VOL,5) * 2)) AND (VAR16 >= VAR17)) AND (VAR16 >= VAR18)) AND (CLOSE > OPEN))OR ((VOL > (MA(VOL,5) * 3)) AND VARB)),VOL*1.05,'⿊马柱')COLORRED;HSL:=DYNAINFO(37);低进:=IF(((((((VAR18 > VAR16) AND (VAR18 > VAR17)) AND (VARA < (0 - 2))) AND (CLOSE < MA(CLOSE,30)))AND (VAR18 < (MA(VOL,5) / 2))) AND (MA(VOL,5) < MA(VOL,10))),1,0);本盘亿股:=CAPITAL/1000000;多头成交⼝: STICKLINE(CLOSE>MA(H,20),0,VOL,3,1),COLORRED;空头成交⼝: STICKLINE(CLOSE<MA(L,20),0,VOL,3,1),COLORGREEN;没有趋势⼝: STICKLINE(CLOSE<MA(H,20) ANDCLOSE>MA(L,20),0,VOL,3,1),COLORCYAN;向上攻击量:STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE>OPEN,0,VAR5,2.5,0),COLOR000099;STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE>OPEN,0,VAR5,1.8,0),COLOR0000CC;STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE>OPEN,0,VAR5,1.1,0),COLOR0000FF;STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE>OPEN,0,VAR5,0.6,0),COLORCC66FF;向下攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE<OPEN,0,VAR5,2.5,0),COLOR009900;STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE<OPEN,0,VAR5,1.8,0),COLOR00BB00;STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE<OPEN,0,VAR5,1.1,0),COLOR00DD00;STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 ANDCLOSE<OPEN,0,VAR5,0.65,0),COLOR00FF00;上探量:STICKLINE(VAR6>VAR5 AND VAR6>VAR7,0,VAR6,2.5,0),COLOR999999; STICKLINE(VAR6>VAR5 AND VAR6>VAR7,0,VAR6,1.8,0),COLORBBBBBB; STICKLINE(VAR6>VAR5 AND VAR6>VAR7,0,VAR6,1,0),COLORDDDDDD;下探量:STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,2.5,0),COLOR888800;STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,1.8,0),COLORAAAA00; STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,1.1,0),COLORCCCC00; STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,0.6,0),COLOREEEE00;。
【股票指标公式下载】-【通达信】黑马信号(选股买点、黑马线、发现黑马)
【通达信】黑马信号(选股买点、黑马线、发现黑马)-指标公式源码VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3);VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)) ,7,1)*100;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)) ,13,1)*100;VARA:=BARSCOUNT(CLOSE);VARB:=VAR8<20 AND VAR9<23 AND VARA>35;VARC:=VARB AND COUNT(VARB,1)=1;VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);VARE:=EMA(VARD,5);VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR1A:=EMA(VAR19,100);VAR1B:=2*(VAR19-VAR1A);VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR1E:=EMA(VAR1D*0.97,3);VAR1F:=(HIGH+LOW+CLOSE)/3;VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));VAR21:=CROSS(VAR1E,LOW);选股买点: VAR10, COLORYELLOW;组合买: (VAR11+VAR13+VAR15+VAR17), COLORRED;组合卖: (VAR12+VAR14+VAR16+VAR18), COLORGREEN;黑马线: IF(MONTH<2008 AND VAR1B>0.1,VAR1C,0)*1, COLOR6699CC;黑马信号介入点: 选股买点 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0, COLORFFFF99;DRAWTEXT(VAR13,0.6,'●'), COLORRED;DRAWICON(组合买,组合买,1);DRAWICON(组合卖,组合卖,9);DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'), COLORRED; DRAWICON(选股买点>0,4.2,1);DRAWTEXT(选股买点 AND VARF AND VARC,2.8,' 30%下单莫错过!'), COLORMAGENTA;DRAWTEXT(VAR18,3,'空仓'), COLORGREEN;DRAWTEXT(VAR20<-110 AND 选股买点>0,2,'选股买点'), COLORYELLOW; DRAWTEXT(VAR17,1.3,'发现黑马'), COLORFF6600;DRAWTEXT(选股买点 AND VAR20<-100 AND VARF AND VARC>0,4.1,'★组合5分钟线选股思路获利5%以上'), COLORRED;【通达信】黑马信号(选股买点、黑马线、发现黑马)-指标公式效果图(文档来源:若水财经社区)。
通达信寻找黑马起爆点的好指标
通达信寻找黑马起爆点的好指标以下是通达信寻找黑马起爆点的好指标(无源码的请下载附件导入)此指标用于通达信{寻找黑马起爆点的好指标用法:白色粘合,黄色高粘,粉色穿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);通达信黑马利器【资金起爆点】(副图、源码、贴图、无未来),对于捕捉黑马股票的起爆点有很好的预示作用。
【股票指标公式下载】-【通达信】抓黑马(网均线、高低线、大阴线)
【通达信】抓黑马〔网均线、高低线、大阴线〕-指标公式源码网1:EXPMA(CLOSE,5),COLORWHITE;网2:EXPMA(CLOSE,12),POINTDOT;网3:EXPMA(CLOSE,33),COLORFF00FF,LINETHICK3;IF(网3<REF(网3,1),网3,DRAWNULL),COLOR00FF00,LINETHICK3;IF(网3<REF(网1,1),网1,DRAWNULL),COLORWHITE,LINETHICK1;IF(网1<REF(网3,1),网1,DRAWNULL),COLORGREEN,LINETHICK1;阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY;底:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY;网A:=EMA(EMA(EMA(EMA(C,1),2),2),2);DRAWTEXT(CROSS(网A,REF(网A,1)),L,'买'),COLORFF00FF;STICKLINE(CURRBARSCOUNT=1,阻力,阻力,10000,-1),COLORWHITE; STICKLINE(CURRBARSCOUNT=1,底,底,10000,-1),COLORWHITE;{3日高低线}三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);三日最高:=EMA((REF(H,4)+REF(H,3)+REF(L,2))/3,3),COLORWHITE;底线:=IF(C>三日最低,三日最低,DRAWNULL),COLOR8000FF;高线:=IF(C<三日最高,三日最低,DRAWNULL),COLORWHITE;STICKLINE(CURRBARSCOUNT=1,三日最高,三日最高,100,-1),COLORRED; STICKLINE(CURRBARSCOUNT=1,三日最低,三日最低,100,-1),COLORWHITE;{大阴线:大跌超2.3}C2:=REF(C,1);BG:=IF((C2-C)*100/C2>=2.3,1,0) OR IF((O-C)*100/O>=5,1,0){ ORIF((H-L)*100/REF(C,1)>5,1,0)};{第二个条件开盘价过高掉下来}BG2:=IF((H-L)*100/C2>=3.58,1,0);BB1:=L<REF(L,1);{卖点信号}SELL1:=BG AND BB1 ;{大阳线:升幅超2.64}BR:=IF((C-C2)*100/C2>=2.59,1,0) OR IF((C-O)*100/O>=4.5,1,0) ORIF((C-L)*100/L>5,1,0);{第二个条件开盘价太低升上来}STICKLINE(BR,O,C,3,0),COLORRED;{以下条件记住最近一次卖出点}DAY1:=BARSLAST(SELL1);JIA1:=REF(O,DAY1);JIA2:=REF(O,1);BB4:=C>JIA2;BB2:=H>JIA1;{买入信号}BUY1:=BR AND BB2 AND BB4;{记住最后一次买点}DAY2:=BARSLAST(BUY1);{买卖谁先}S1:=DAY1<DAY2;B1:=DAY2<DAY1;{画出卖出信号}{DRAWTEXT(S1,H*1.05,'S'),COLORGREEN;}STICKLINE(S1,O,C,3,0),COLORGREEN;{画出买入信号}{DRAWTEXT(B1,L-0.2,'B'),COLORRED;}STICKLINE(B1,H,L,0.3,0),COLORRED;STICKLINE(B1,O,C,3,1),LINETHICK2,COLORRED;{其它补充1:买点}AA2:=AMOUNT/VOL;BB3:=L<AA2*0.9;CC2:=(C-REF(C,1))/REF(C,1)*100>1.2;DD2:=L<MA(C,6)*0.921;DD1:=L<MA(C,5)*0.921;EE2:=VOL<MA(V,5)*1.5;FF2:=BB3 AND CC2 AND DD2 AND EE2;老鼠仓:=BB3 AND CC2 AND DD1 AND EE2,LINETHICK0,COLOR0099FF; DRAWTEXT(老鼠仓,L*0.97,'老鼠仓'),COLOR0099FF; {DRAWTEXT(FF2,L*0.99,'买点'),COLOR00FFFF;}STICKLINE(FF2,H,L,0.3,0),COLOR00FFFF;{STICKLINE(FF2,O,C,3,1),LINETHICK2,COLOR00FFFF;}{检查买点是否成立}B4:=BARSLAST(FF2);{底点日期}E4:=B4<5;{5日内的线}F4:=E4 AND C>REF(C,1);STICKLINE(F4,H,L,0.3,0),COLOR00FFFF;{其它补充2:卖点}A2:=(C-REF(C,1))/REF(C,1)*100<1.02;A3:=H>MA(C,5)*1.12;AA:= A2 AND A3;DRAWTEXT(AA,H*1.05,'卖点'),COLORFF0000;STICKLINE(AA,H,L,0.3,0),COLORFF0000;{STICKLINE(AA,H,L,3,0),COLORFF0000;};{补充阳光买点}VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1) ;VAR2:=8;CC:=CROSS(VAR1,VAR2);CCC:=CROSS(VAR1,VAR2) AND H>REF(H,1) AND C>REF(C,1) ;DRAWICON(CCC,L*0.99,1);STICKLINE(CC,H,L,0.3,0),COLORRED;STICKLINE(CC,O,C,3,1),LINETHICK2,COLORRED;CF1:=BARSLAST(CC);{买点日期}CF2:=CF1<3;{5日内的线}CF3:=CF2 AND C>REF(C,1);STICKLINE(CF3,O,C,3,0),COLOR00FFFF;CD:=CROSS(VAR2,VAR1);STICKLINE(CD,H,L,0.3,0),COLORYELLOW;STICKLINE(CD,O,C,3,1),LINETHICK2,COLORYELLOW;DRAWTEXT(CD,H*1.01,'准备'),COLORYELLOW;DRAWTEXT(CC,L*0.98,'买'),COLORFF00FF;{输出粉红色的买字};{牛窝}VAR1A:=LLV(LOW,21);VAR2A:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 100),5);AK:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 50),13);AB:=CROSS(AK1,AK);DRAWTEXT((AB = 1),(LOW * 0.95),'○牛窝'),COLORYELLOW;{大胆博、加仓、小心变盘、逃顶}VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★大胆搏'),COLOR00FFFF;DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心变盘'),COLORFFFFFF;VAR6:=REF(C,1);VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;DRAWTEXT(CROSS(82,VAR7),H*1.02,'逃顶'),COLORYELLOW;{主力进场}VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR10:=SMA(VAR9,3,1);VAR11:=SMA(VAR10,3,1);VAR12:=SMA(VAR11,3,1);主力出现:DRAWICON(CROSS(VAR11,VAR12) AND (VAR11<40),L*0.98,1);{黑马}A1A:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L, 55))/(HHV(H,55)-LLV(L,55))*1,5,1),COLOR330066;A5A:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1;DRAWTEXT(CROSS(A1A,EMA(A1A,5))AND EMA(A1A,5)<A5A,L*0.98,'黑马'),COLORYELLOW;{主力成本及短期支撑}A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A, 11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A, 18)+REF(A,20))/210;S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=2*(S2-S6);主力成本:=EMA(X,13),LINETHICK1,COLORLIGRAY;短期支撑:=LLV(HIGH,30),LINETHICK2,COLORFFCC00;Z1:=MA(C,13);ZX:=REF(Z1,13/2+1);DRAWICON(CROSS(C,ZX),L*0.99,1);DRAWICON(CROSS(ZX,C),H*1.01,2);【通达信】抓黑马〔网均线、高低线、大阴线〕-指标公式效果图(文档来源:假设水财经社区)。
【股票指标公式下载】-【通达信】如影随形线(买线、卖线、黑马.
【通达信】如影随形线(买线、卖线、黑马交叉、长期趋势)-指标公式源码M1:=EMA(C,5;M2:=EMA(C,13;M3:=EMA(C,34,COLORBLUE,LINETHICK2;MC1:=EMA(C,55;MC2:=EMA(C,89;MA4:=EMA(C,144;VAR1A1H:=(REF(CLOSE,1-REF(ATR,1;买线A:=REF(EMA(C,14,1COLORWHITE,LINETHICK3;卖线A:=IF(MC1>MAX(MC2,MA4,MC1,IF(MC1高1:=REF(HHV(H,150,3;低1:=REF(LLV(L,150,3;STICKLINE(买线A>=卖线A,REFDATE(低1,DATE,REFDATE(低1,DATE*0.96,6,0COLOR001050;STICKLINE(买线A<卖线A,REFDATE(低1,DATE,REFDATE(低1,DATE*0.96,6,0COLOR404050;买线B:=EMA(CLOSE,9-EMA(CLOSE,18;卖线B:=EMA(买线B,7,LINETHICK1;STICKLINE(买线B>卖线B,REFDATE(低1,DATE,REFDATE(低1,DATE*0.98,2,1COLORRED;STICKLINE(买线B<=卖线B,REFDATE(低1,DATE,REFDATE(低1,DATE*0.98,2,1COLORGREEN;黑马买线:=EMA(C,4;黑马卖线:=EMA(SLOPE(C,20*10+C,35;黑马趋势彩带:DRAWBAND(黑马买线,RGB(176,48,96,黑马卖线,RGB(0,0,255;黑马买:=SMA(C,6.5,1;黑马卖:=SMA(C,13.5,1;黑马交叉:=CROSS(黑马买线,黑马卖线;黑马交叉A:=CROSS(黑马买,黑马卖;{VAR1:=(C+H+O+L/4;卖出:XMA(VAR1,20*(1+80/1000,POINTDOT,COLORGREEN,LINETHICK3;买入:XMA(VAR1,32*(1-100/1000,POINTDOT,COLORMAGENTA,LINETHICK3;}ZB1:=EMA(C,34;{ 原为55或65 }长期趋势:EMA(ZB1,13,COLORRED,LINETHICK3;{原为34或55};NA1:=2;K1A1:=HHV(H,NA1;K2A1:=LLV(L,NA1;FCA1:=CLOSE;AD1:=BARSLAST(FCA1>REF(K1A1,1;BA1:=BARSLAST(FCA1JRA1:=IF(AD1>BA1,K1A1,K2A1;如影随形:IF(C>JRA1,JRA1*0.998,JRA1*1.002,COLORYELLOW,LINETHICK2; STICKLINE(C>O,HIGH,LOW,0,0,COLOR0000FF;STICKLINE(CSTICKLINE(C>如影随形,CLOSE,OPEN,3,0,COLOR000099;STICKLINE(C>如影随形,CLOSE,OPEN,0.5,0,COLOR0000DD;STICKLINE(C<如影随形,CLOSE,OPEN,3,0,COLOR00BB00;STICKLINE(C<如影随形,CLOSE,OPEN,0.5,0,COLOR00FF00;VAR1XG:=REF(C,1;VAR2XG:=SMA(MAX(C-VAR1XG,0,7,1/SMA(ABS(C-VAR1XG,7,1*1000;VAR3XG:=DRAWLINE(VAR2XG>=HHV(VAR2XG,7,VAR2XG,VAR2XG<=LLV(VAR2XG,7,VAR2XG ,1;VAR4XG:=VAR2XG=VAR3XG;VAR5XG:=VAR2XG变粉:=VAR4XG AND VAR5XG;STICKLINE(变粉,C,(O+C/2,3,0,COLORFF11FF;STICKLINE(变粉,C,(O+C/2,0.5,0,COLORFFDDFF;E1:=EMA(C,5,COLOR00FF00;E2:=EMA(C,10,COLORWHITE;E3:=EMA(C,21,COLORYELLOW;E4:=EMA(C,35,COLORFF00FF;E5:=EMA(C,70,COLORFFCCCC;E6:=EMA(C,170,COLORFFCCCC;E7:=EMA(C,250,COLORFFCCCC;重要线穿:=(CROSS(E1,E2 AND CROSS(E1,E3 OR (CROSS(E1,E3 AND CROSS(E1,E4;穿趋:=CROSS(C,E4 AND CROSS(C,E5;穿趋2:=COUNT(穿趋,2;重要价穿:=CROSS(C,E2 AND CROSS(C,E3 AND CROSS(C,E4 AND CROSS(C,E5 AND CROSS(C,E6 AND CROSS(C,E7;第一买:=(CROSS(E3,E4 AND 重要线穿 AND 穿趋2 OR 重要价穿; DRAWTEXT(第一买 OR 重要线穿 AND 穿趋2,L,'●第一买',COLORWHITE; DRAWTEXT((黑马交叉 AND 黑马交叉A OR(CROSS(C,长期趋势 AND 黑马交叉,L,'●第一买',COLORWHITE;快线:=(CLOSE-LLV(LOW,9/(HHV(HIGH,9-LLV(LOW,9*100,LINETHICK2,COLORRED; 慢线:=SMA(快线,3,1,;BDX:=ZIG(3,50/6*100,COLORRED;GDX:=MA(BDX,4,COLORYELLOW;DXB:=CROSS(BDX,GDX*1000,COLORRED;WXB:=CROSS(GDX,BDX*1000,COLORBLUE;DRAWICON(WXB=1000 AND 快线<=慢线,H+0.2,15;DRAWICON(WXB=1000,H+0.05,2;DRAWICON(DXB=1000,L+0.1,11;VAR51:=3;VAR52:=(3*(SMA(((CLOSE - LLV(LOW,27/(HHV(HIGH,27 -LLV(LOW,27*(100,5,1 -(2*(SMA(SMA(((CLOSE - LLV(LOW,27/(HHV(HIGH,27 -LLV(LOW,27*(100,5,1,3,1;下注万元:=COUNT(REF(EMA(C,3,1 REF(EMA(C,3,1;DRAWICON(下注万元 OR CROSS(VAR52,VAR51,L,9;DRAWTEXT(下注万元 OR CROSS(VAR52,VAR51,L-0.2,'投注',COLORCYAN;【通达信】如影随形线(买线、卖线、黑马交叉、长期趋势)-指标公式效果图(文档来源:若水财经社区。
通达信指标公式源码 黑马信号(选股买点、黑马线、发现黑马)
VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3);VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*1 00;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)* 100;VARA:=BARSCOUNT(CLOSE);VARB:=VAR8<20 AND VAR9<23 AND VARA>35;VARC:=VARB AND COUNT(VARB,1)=1;VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);VARE:=EMA(VARD,5);VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR1A:=EMA(VAR19,100);VAR1B:=2*(VAR19-VAR1A);VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR1E:=EMA(VAR1D*0.97,3);VAR1F:=(HIGH+LOW+CLOSE)/3;VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));VAR21:=CROSS(VAR1E,LOW);选股买点: VAR10, COLORYELLOW;组合买: (VAR11+VAR13+VAR15+VAR17), COLORRED;组合卖: (VAR12+VAR14+VAR16+VAR18), COLORGREEN;黑码线: IF(MONTH<2008 AND VAR1B>0.1,VAR1C,0)*1, COLOR6699CC;黑码信号介入点: 选股买点AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0, COLORFFFF99;DRAWTEXT(VAR13,0.6,'●'), COLORRED;DRAWICON(组合买,组合买,1);DRAWICON(组合卖,组合卖,9);DRAWTEXT(黑码信号介入点>0,4.5,'●我的黑码介入点'), COLORRED;DRAWICON(选股买点>0,4.2,1);DRAWTEXT(选股买点AND VARF AND VARC,2.8,' 30%下单莫错过!'), COLORMAGENTA; DRAWTEXT(VAR18,3,'空仓'), COLORGREEN;DRAWTEXT(VAR20<-110 AND 选股买点>0,2,'选股买点'), COLORYELLOW; DRAWTEXT(VAR17,1.3,'发现黑码'), COLORFF6600;DRAWTEXT(选股买点AND VAR20<-100 AND VARF AND VARC>0,4.1,'★组合5分钟线选股思路获利5%以上'), COLORRED;。
黑马决策线 通达信指标公式源码
A1:=1;A2:=(5);A3:=(((2*CLOSE)+HIGH)+LOW)/4;A4:=LLV(LOW,34);A5:=HHV(HIGH,34);A6:=EMA((((A3-A4)/(A5-A4))*100),13);A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1;决策线:(EMA(A7,A2))*A1,COLORRED;A8:=(HHV(HIGH,9))-(LLV(LOW,9));A9:=(HHV(HIGH,9))-CLOSE;A10:=CLOSE-(LLV(LOW,9));A11:=((A9/A8)*100)-70;A12:=((CLOSE-(LLV(LOW,60)))/((HHV(HIGH,60))-(LLV(LOW,60))))*100;A13:=SMA(((A10/A8)*100),3,1);A14:=(SMA(A13,3,1))-(SMA(A11,9,1));A15:=IF((A14>100),(A14-100),0);A16:=(EMA((((A3-A4)/(A5-A4))*100),8))*A1;A17:=(EMA(A16,5))*A1;STICKLINE(((A16-A17)>0),A16,A17,3,1),COLORFFAA18;STICKLINE(((A16-A17)<0),A16,A17,3,0),COLORGREEN;A18:=(EMA(CLOSE,2))*A1;A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42))*A1;A20:=(HHV((MA(HIGH,13)),13))*A1;A21:=(LLV((MA(HIGH,13)),1))*A1;A22:=(EMA(CLOSE,4))*A1;A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1)));A24:=BARSLAST(A23)+1;A25:=(LLV(LOW,A24))*1.3;A26:=(LLV(LOW,20))*1.418;A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26);A28:=A27 AND (FILTER(A27,A24));{A29:=(STRFIND(STKNAME,'ST',1)) > 0;}A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ;A31:=A30 AND (FILTER(A30,20));DRAWICON((A28 OR A31),决策线,1);DRAWTEXT((A28 OR A31),决策线,'←黑马'),COLORRED;{选股}{A18:=(EMA(CLOSE,2));A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42));A20:=(HHV((MA(HIGH,13)),13));A21:=(LLV((MA(HIGH,13)),1));A22:=(EMA(CLOSE,4));A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1)));A24:=BARSLAST(A23)+1;A25:=(LLV(LOW,A24))*1.3;A26:=(LLV(LOW,20))*1.418;A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26);A28:=A27 AND (FILTER(A27,A24));A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ;A31:=A30 AND (FILTER(A30,20));A28 OR A31;};。
通达信黑马决策辅助主图指标公式
通达信黑马决策辅助主图指标公式黄金柱B:=V/REF(V,1)>=2.0;K1B:=SUMBARS(黄金柱B,1) ;K2B:=SUMBARS(黄金柱B,2);K3B:=SUMBARS(黄金柱B,3);K4B:=SUMBARS(黄金柱B,4);K5B:=SUMBARS(黄金柱B,5);K6B:=SUMBARS(黄金柱B,6);K7B:=SUMBARS(黄金柱B,7);K8B:=SUMBARS(黄金柱B,8);K9B:=SUMBARS(黄金柱B,9);K10B:=SUMBARS(黄金柱B,10);AABB:STICKLINE(K1B,REFV(L,K1B-1)*1.002,REFV(L,K1B-1),2,0),COLORYELLOW;T60B:=V=HHV(V,60);T100B:=V=HHV(V,100);T2B:=V/REF(VOL,1)>=3;T3B:=REF(C,1)/REF( O,1)<3;MA5:=MA(CLOSE,M1),LINETHICK1,COLORYELLOW;MA10:=MA(CLOSE,M2),LINETHICK1,COLORWHITE;MA20:=MA(CLOSE,M3),LINETHICK1,COLORYELLOW;稳健操盘线:MA(CLOSE,M4),POINTDOT,COLORRED;MA60:=MA(CLOSE,M5),POINTDOT,LINETHICK1,COLORGREE N;TR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N1,1);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),N1,1);DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),N1,1);PDI:=DMP*100/TR1,COLORRED;MDI:=DMM*100/TR1,COLORGREEN;ADX:=SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N1,1),COLORYELLOW;阶段线1:=16;阶段线2:=30;DMI1:=PDI>MDI AND ADX>=30;DMI2:=PDI<MDI AND ADX>=30;DMI3:=PDI>MDI AND 16<ADX<30;DMI4:=PDI<MDI AND 16<ADX<30;DMI5:=ADX<=16 AND (PDI>MDI OR PDI<MDI);DMI6:=ADX>60;ZT:=C/REF(C,1)>1.097;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);CZ:=REF(H,BH)-REF(L,BH);STICKLINE(ZT,O,C,3,0),COLORRED;DRAWTEXT(ZT,L*0.98,' '),COLORF00FF0;VARZT:=BARSLAST(C/REF(C,1)>1.097);{涨跌停显示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);STICKLINE(涨停,O,C,3,0),COLORRED;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;VAR111:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买:=IF(CLOSE>OPEN,VAR111*(HIGH-LOW),IF(CLOSE<OPEN,VAR111*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED;卖:=IF(CLOSE>OPEN,0-VAR111*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR111*(HIGH-LOW),0-VOL/2)),COLOR00FF00 ;买卖差:=(买+卖);买卖比:=ABS(买/卖);水平面:=MA(CLOSE,89),COLORFF00FF;BBI:=(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA (CLOSE,M4))/4;MA1:=MA(CLOSE,24),COLOR00E300,LINETHICK1;V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL ,1)-1,VOL/REF(VOL,1)-1);MA13:=MA(CLOSE,13);X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);A1:=MIN(O,C);B1:=ABS(O-C);T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);T2:=COUNT(CROSS(BBI,3),3)=1 AND CROSS(C,BBI);T12:=V2>=1;T0:=BARSLAST(T12);L1:=REF(L,T0);H1:=REF(H,T0);L11:=MIN(REF(L,1),L);L10:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1));T11:=T111 AND REF(T111,1)=0;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2X:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);A1XX:=CROSS(MA(C,1),MA(C,3));XG:=A1XX;VAR1:=EMA(EMA(CLOSE,13),13);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;A10:=CROSS(控盘,0);无庄控盘:=IF(控盘<0,控盘,0),COLORGRAY,NODRAW;短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;红柱:=SMA(短线,3,1),LINETHICK0,COLORFF00FF;绿柱:=SMA(中线,3,1),COLORSTICK,COLOR00FF00;开始控盘:=IF(A10,5,0),LINETHICK1,COLORWHITE;有庄控盘:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;VAR2:=100*WINNER(CLOSE*0.95);高度控盘:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;主力出货:=IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA1:=EMA(DIF1,9);{柱状线}AAA1:=(DIF1-DEA1)*2*60;买入线:=10;绝密:=AAA1-REF(AAA1,1),COLORMAGENTA;金叉:=CROSS(EMA(C,1),EMA(C,3));AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);AAA下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL);选股王:=CROSS(绝密,买入线);突破买点:=有庄控盘 AND 选股王;XXBB:= EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*4,5)*100;抄牛底:=REF(XXBB,1)<50 AND XXBB-REF(XXBB,1)>25;蓝宝石:=抄牛底 AND 金叉;追拉升:=REF(XXBB,1)>50 AND XXBB-REF(XXBB,1)>40;回踩买点:=主力出货 AND 选股王;DRAWTEXT(回踩买点,L*0.995,'↖牛回踩'),COLORYELLOW;DRAWICON(回踩买点,L*0.985,26);抄底王:=金叉 AND 选股王,COLORGRAY;DRAWTEXT(抄底王,L*0.985,'↖抄底王'),COLORWHITE;DRAWICON(抄底王,L*0.975,27);VV1:=(C*2+H+L)/4*10;VV2:=EMA(VV1,13)-EMA(VV1,34);VV3:=EMA(VV2,5); V4:=2*(VV2-VV3)*5.5;主力撤:=IF(V4<=0,V4,0),COLORGREEN;主力进:=IF(V4>=0,V4,0);VV5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*VV5-2*SMA(VV5,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),COLORYELLOW;大盘资金撤走:=IF(VB<=0,VB,0),COLORRED;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,5,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) ;{DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;}红宝石:=BB AND 金叉;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);加仓:=IF(FILTER(YXF=1,5),1,0),STICK,COLORFFFFFF,LINETHICK3;A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);FY:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;QS:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));绿宝石:=加仓 AND 金叉;{DRAWTEXT (绿宝石,L*0.945,'绿宝石'),COLORFF00FF;}LC20:=REF(CLOSE,1);RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;底线买阳:=CROSS(RSI20,11)*1,COLORRED;黄宝石:=底线买阳 AND 金叉;{DRAWTEXT (黄宝石,L*0.935,'黄宝石'),COLOR0099FF;}控盘B:=FILTER(IF(A10,1,0),5);{分时价格原码}JJ:=DYNAINFO(11);{波段买卖原码}P:=55;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;神:=EMA(财,M1),COLORGREEN,LINETHICK1;{股价与均线偏离买卖条件}BTJ1:=(C-JJ)/JJ<-0.005;BTJ11:=(C-JJ)/JJ<-0.03;BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005;{控盘买卖条件}STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;{以下为信号};BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13); {DRAWICON(BTJ82,L*0.993,23);}{追买}; {DRAWICON(BTJ811,L*0.980,5);}{DRAWICON(绿宝石,L*0.988,27);DRAWICON(黄宝石,L*0.986,26);}{DRAWICON(蓝宝石,L*0.982,24);DRAWICON(红宝石,L*0.980,25);}DRAWICON(追拉升,L*0.985,23);{DRAWICON(突破买点,L*0.985,21);}VAR1A:=EMA(EMA(CLOSE,9),9);专用:=(VAR1A-REF(VAR1A,1))/REF(VAR1A,1)*1000; VAR2A:=100*WINNER(CLOSE*0.95);高手专用:=VAR2A>50 AND COST(85)<CLOSE AND 专用>0;CV:=CLOSE;BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;UPR:=BBIBOLL+6*STD(BBIBOLL,11);DWN:=BBIBOLL-6*STD(BBIBOLL,11);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));HSL:=(XVL/20)/1.15;强势股:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22))>1500;绝杀前十:=高手专用 AND 高度控盘,COLORFF00FF;{机构增仓}JA1:=(DVOL/C)/2;A2:=SUM(IF(JA1>100 AND CLOSE>REF(CLOSE,1),JA1,0),0);A3:=SUM(IF(JA1>100 AND CLOSE<REF(CLOSE,1),JA1,0),0);A4:=SUM(IF(JA1<100 AND CLOSE>REF(CLOSE,1),JA1,0),0);A5:=SUM(IF(JA1<100 AND CLOSE<REF(CLOSE,1),JA1,0),0);A6:=A2+A3+A4+A5;机买:=(A2/A6)*100;机卖:=(A3/A6)*100;主力差:=机买-机卖;机构加仓:=(主力差>=REF(主力差,1)+1.5)*50 AND 机买>机卖;机构抄底:=金叉 AND 机构加仓;DRAWTEXT (机构抄底,L*0.97,'↖机构入驻'),COLORCYAN;机构追买:=机构加仓 AND 追拉升;DRAWTEXT (机构追买,L*0.97,'↖机构吃单'),COLORFF00FF;{猎庄}LVAR2:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;LVAR3:=SMA(LVAR2,20,1);LVAR4:=SMA(LVAR3,15,1);猎庄:=LVAR3-LVAR4;多空分界:=1;抓庄:=CROSS(猎庄,多空分界) AND 猎庄>=REF(MA(猎庄,多空分界),1);跟庄抄底:=金叉 AND 抓庄;{DRAWTEXT (跟庄抄底,L*0.97,'跟庄'),COLORCYAN;}{稳健追涨}WMA1:=EMA(CLOSE,5);WMA2:=EMA(CLOSE,10);WMA3:=EMA(CLOSE,20);WMA4:=EMA(CLOSE,30);WMA5:=EMA(CLOSE,60);WVAR1:=MAX(WMA1,MAX(WMA2,MAX(WMA3,WMA4)));WVAR2:=MIN(WMA1,MIN(WMA2,MIN(WMA3,WMA4)));WVAR3:=(WVAR1-WVAR2)/WVAR2*1000;WVAR4:=WMA1>REF(WMA1,1) AND WMA2>REF(WMA2,1) AND WMA3>REF(WMA3,1) AND WMA4>REF(WMA4,1) AND WMA5>REF(WMA5,1);WVAR5:=WVAR3<5;WVAR6:=COUNT(WVAR5=1,5)>0;WVAR7:=CROSS(WMA1,WMA4);稳健追涨:=WVAR4 AND WVAR6 AND WVAR7;稳健抄底:=金叉 AND 稳健追涨;{DRAWTEXT (稳健抄底,L*0.97,'稳健'),COLORCYAN;}{均线粘合}JDIF:=EMA(CLOSE,12)-EMA(CLOSE,26);JDEA:=EMA(JDIF,9);JMACD:=(JDIF-JDEA)*2;JBOLL:=MA(CLOSE,20);JUPPER:=JBOLL+2*STD(CLOSE,20);JLOWER:=JBOLL-2*STD(CLOSE,20);JK1:=CLOSE>OPEN ;JK2:=VOL>=2*REF(VOL,1);JK3:=CROSS(JDIF,JDEA) AND JDIF<=0 ;JK4:=CROSS(CLOSE,JBOLL);均线粘合:=JK1 AND JK2 AND JK3 AND JK4 ;机构拉升:=机构加仓 AND 均线粘合;DRAWTEXT (机构拉升,L*0.97,'↖机构拉升'),COLORFF00FF;VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,VARC),H*1.02,2);{DRAWTEXT(CROSS(82,VARC),2,'|逃庄'),COLORWHITE ;}VAR34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);VAR35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);VAR36:=IF(VAR34>0.010, 0.900, 1) AND IF(VAR34>(-0.025), 1, 1.200);VAR37:=VAR36*(VAR35-VAR34)*100;VAR38:=SUM(VAR37, 10);VAR310:=VAR38>20;VAR326:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,1,0);{VAR38>VAR39;} VAR327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND VAR326>0, 1, 0);{STICKLINE(VAR327=1,0,1,2,0),COLORYELLOW;}DRAWICON(VAR327=1,L*0.95,1);{DRAWTEXT(VAR327=1,-1,'|杀庄'),COLORWHITE;}HZ:=EMA(CLOSE,13);短波:=EMA(HZ,1);中波:=EMA(HZ,26);均线148天:=EMA(C,148);成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100;HZ2:=EMA(HZ,8);拉升一号:=CROSS(短波,HZ2);DRAWICON(拉升一号,L*0.99,11);DRAWTEXT (拉升一号,L*0.97,'↖黑马拉升'),COLORFF00FF;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;红线上牛股起:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16* REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12* REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8* REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4* REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210, COLORRED,LINETHICK2;绿线下熊股出:MA(红线上牛股起,6),COLORGREEN,LINETHICK2;涨停紫色:STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,3.05,0),COLORMAGENTA;。
通达信交易决策公式新黑马必抓副图 重要牛股指标
公式源码:VARX:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARX1:=SMA(VARX,3,1);VARX2:=SMA(VARX1,3,1);VARX3:=REF(LOW,1);VARX4:=SMA(ABS(LOW-VARX3),3,1)/SMA(MAX(LOW-VARX3,0),3,1)*100; VARX5:=EMA(IF(CLOSE*1.2,VARX4*10,VARX4/10),3);VARX6:=LLV(LOW,30);VARX7:=HHV(VARX5,30);VARX8:=IF(LLV(LOW,58),1,0);A9:= DATETODAY(DATE);DS:=IF(A9<9966,1,DRAWNULL);CMSHORT:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,8)/(AMOUNT/VOL/100)/100));CMMID:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13) /(AMOUNT/VOL/100)/100));CMLONG:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,2 0)/(AMOUNT/VOL/100)/100));DIF:=EMA(EMA(CLOSE,18)-EMA(CLOSE,34), 11);XSR:=1150501;XS:=IF(DATE<XSR,1,DRAWNULL);MACD:=EMA(EMA(DIF,11),11),COLOR58FF58;DEF:=2*(DIF-MACD),COLORFFFF00,LINETHICK0;MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6)); MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12)); MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26)); VARR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100; VARR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; VARR3:=(2*CLOSE+HIGH+LOW)/4;VARR4:=LLV(LOW,26);VARR5:=HHV(HIGH,34);VARR6:=EMA((VARR3-VARR4)/(VARR5-VARR4)*100,16);VARR7:=SMA((SMA(VARR2,3,1)+3),3,1),LINETHICK3;VARR8:=EMA(VARR6,7);VARR9:=SMA(VARR1,3,1);VARR10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VARR11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VARR12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;VARR13:=(VARR10+VARR11+VARR12)/3;VARR14:=IF(VARR13<=-20,10,0);VARR15:=HHV(VARR14,10);VARR24:=LLV(LOW,36);VARR25:=HHV(HIGH,30);VARR26:=EMA((CLOSE-VARR24)/(VARR25-VARR24)*4,4)*25;VARB27:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100)/2+22)*1 ;VARB28:=(((CLOSE -(((EMA(AMOUNT,13) /EMA(VOL,13)) / 100))) / (((EMA(AMOUNT,13) /EMA(VOL,13)) / 100))) * 100);VARB29:=IF(A9<15366,1,DRAWNULL);AA05:=MA(C,5);AA30:=MA(C,30);MA05:=MA(C,5);MA10:=MA(C,13);MA30:=MA(C,34);BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1)*XS; 加速度5:=EMA((速度5-REF(速度5,1)),3)*VARB29;五日乖离率:=(C-AA05)/AA05*VARB29*100*DS;三拾日乖离率:=(C-MA30)/MA30*100*VARB29;。
【股票指标公式下载】-【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)
【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)-指标公式源码上:=(SMA(HIGH,21,2) * 1.05);DRAWTEXT(FILTER(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)),5),(HIGH + 0.05),'-减仓'),COLORFFFFFF;下轨道:(SMA(LOW,21,2) * 0.969),POINTDOT,COLOR00FFFF;BMA:=MA(CLOSE,118);阻挡:=(SMA(HIGH,21,2) * 1.05);RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100); K12:=SMA(RSV12,3,1);D12:=SMA(K12,3,1);J12:=((3 * K12) - (2 * D12));RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=((3 * K24) - (2 * D24));支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),COLOR00FF00 ;{U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);RH1:=IF(((J < U2L) AND (REF(J,1) >=U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J <J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));RL1:=IF(((J > L2L) AND (REF(J,1) <= L2L)),LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),BARSLAST(((J > L2L) AND REF(J,1))))); RL4:=IF((LOW < RL1),HIGH,REF(HIGH,BARSLAST((LOW < RL1))));RL42:=IF((LOW < RL1),J,REF(J,BARSLAST((LOW < RL1))));RL5:=IF((((LOW < RL4) AND (J > RL42)) AND (J >J24)),LOW,REF(LOW,BARSLAST((((LOW < RL4) AND (J > RL42)) AND (J >J24)))));}CB:=((AMOUNT / VOL) / 100);CD:=((CB > HIGH) OR (CB < LOW));黑马趋势:=MA(CLOSE,3);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,12),COLOR0000FF;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),(LOW - 0.07),'追击'),COLORD1E768;{STICKLINE((((AA12 <= AA10) AND (BB12 >= 1)) AND (BB10 >=1)),AA10,AA12,4,0),COLOR0000FF;STICKLINE((((AA12 >= AA10) AND (BB10 <= 1)) AND (BB10 <=1)),AA10,AA12,4,0),COLOR00FF00;}VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);支撑:=EMA(VARD,5);短期底部:=LLV(OPEN,30);{DRAWTEXT(((((((CROSS(黑马趋势,短期底部) AND ((RL5 - REF(RL5,1)) > 0)) AND ((黑马趋势 - REF(黑马趋势,1)) > 0)) AND (黑马趋势 > 1)) AND (LOW <= 支撑位)) AND (CLOSE > 支撑位)) AND (HIGH < 压力位)),(LOW - 0.15),'←黑马发现'),COLOR00FFFF;DRAWTEXT((((((((CROSS(黑马趋势,RL5) AND ((黑马趋势 - REF(黑马趋势,1)) > 0)) AND (HIGH < 压力位)) AND (LOW <= 短期底部)) AND (CLOSE > 支撑位)) AND (CD < 1)) AND (CLOSE > OPEN)) AND (CLOSE > RL5)),LOW,'←短买'),COLOR00FF00;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND ((CLOSE - REF(CLOSE,1)) > CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) > 0)) AND (WINNER(CLOSE) < 0.05)) AND (短期底部 = RL5)) AND (LOW <= RL5)) AND (HIGH < 压力位)),3),LOW,'★机会难得'),COLORFFFFFF;历史大底:DRAWTEXT(FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) < 0.08)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)) AND (J < 80)) AND ((CLOSE / OPEN) > 1.08)),20),(LOW - 0.45),'★★历史大底');DRAWTEXT(FILTER(((((((((LOW <= 短期底部) AND (CLOSE > 压力位)) AND ((AA5 - REF(AA5,1)) > 0)) AND (J < 80)) AND (CLOSE > 支撑位)) AND ((黑马趋势- REF(黑马趋势,1)) > 0)) AND (WINNER(CLOSE) < 0.1)) AND (CLOSE > OPEN)),5),(LOW - 0.15),'★黑马登天'),COLORCDEEC5; }X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X2:=EMA(X1,10);X3:=REF(X2,1);X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X6:=REF(CLOSE,1);X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100); X8:=CROSS(79,X7);X9:=FILTER(X8,4);MAP1:=MA(CLOSE,60);均线30:=MA(CLOSE,30);均线89:=MA(CLOSE,89);均线:=MA(CLOSE,16);均线34:=MA(CLOSE,34);均线55:=MA(CLOSE,55);VAR1:=EMA(CLOSE,8);VAR2:=EMA(VAR1,20);VAR3:=CROSS(VAR1,VAR2);VAR4:=(VAR1 < MA(CLOSE,60));VAR5:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);VAR6:=SMA(VAR5,5,1);VAR7:=SMA(VAR6,8,1);VAR8:=(CROSS(VAR6,VAR7) AND (VAR7 < 16));VAR9:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8); VARA:=IF((CLOSE > 1000),VAR8,VAR9);黑马起步:=(VAR3 AND VAR4);逃遁:=VARA;均线20:=MA(CLOSE,20);均线120:=MA(CLOSE,120);牛熊线:=MA(CLOSE,250);VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));VB:=(MA(CLOSE,20) > MA(CLOSE,120));VC:=CROSS(MA(CLOSE,120),MA(CLOSE,89));VD:=(MA(CLOSE,20) < MA(CLOSE,120));VE:=CROSS(MA(CLOSE,20),MA(CLOSE,250));VF:=(MA(CLOSE,20) > MA(CLOSE,250));VG:=CROSS(MA(CLOSE,250),MA(CLOSE,20));{DRAWTEXT(FILTER(((((((((OPEN > 均线120) AND (均线20 < 均线120)) AND (LOW <= 均线120)) AND ((均线20 - REF(均线20,1)) > 0)) AND (CLOSE > OPEN)) AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= 均线120)),15),LOW,'★120跳马'),COLOR0089E0;DRAWTEXT((((VA AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE > OPEN)),LOW,'★宝马望月'),COLORFFFFFF;}DRAWTEXT((((((均线 - REF(均线,1)) > 0) AND CROSS(均线20,均线120)) AND (LOW <= 均线120)) AND (CLOSE >= 均线120)),LOW,'三线开花'),COLORFFFFFF; 短期底部2:LLV(HIGH,30),LINETHICK2,COLOR0000FF;上轨:(SMA(HIGH,21,2) * 1.092),POINTDOT,COLORFFFFFF;中轨道:(SMA(HIGH,21,2) * 1.017),POINTDOT,COLORFFFFFF;DRAWTEXT(FILTER(((((LOW < 下轨道) AND (CLOSE > MA(CLOSE,15))) AND (CLOSE > 短期底部2)) AND (HIGH < 压力位)),10),LOW,'★短线5%'),COLOR9DC522;DRAWTEXT(((((((HIGH >= 均线120) AND (CLOSE < REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)) AND (CLOSE < 均线120)),(HIGH + 0.05),'减仓'),COLOR00FF00;DRAWTEXT(FILTER(((HIGH > 阻挡) AND (CLOSE < 阻挡)),5),(HIGH + 0.15),'←逃命');DRAWTEXT(((VE > VG) AND (HIGH < 阻挡)),(LOW - 0.65),'★黑马短线'),COLOR00FFFF;DRAWTEXT(FILTER(((((((((((OPEN < X2) AND (CLOSE > X2)) AND ((支撑 - REF(支撑,1)) > 0)) AND ((支撑 - REF(支撑,1)) > 0)) AND (CLOSE < 阻挡)) AND ((均线 - REF(均线,1)) > 0)) AND (CLOSE >= 均线)) AND (HIGH < 阻挡)) AND ((AA10 - REF(AA10,1)) > 0)) AND ((阻挡 - REF(阻挡,2)) > 0)),11),(LOW - 0.11),'★快马加鞭'),COLOR0000FF;DRAWTEXT(FILTER(((((((OPEN < X2) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE > X2)) AND ((X2 - REF(X2,1)) > 0)) AND (HIGH < 阻挡)) AND ((CLOSE -REF(CLOSE,1)) > 0.35)),4),(LOW - 0.05),'★黑马狂奔'),COLORD18073; DRAWTEXT((((((((CROSS(支撑,均线) AND (HIGH < 中轨道)) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= X2)) AND (CLOSE >= X2)) AND CROSS(支撑,X2)),LOW,'★黑马起步'),COLOR00FFFF; DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓'),COLOR00B4FF;DRAWTEXT(X9,(HIGH * 1.03),'出货'),COLOR9000F5;DRAWTEXT((((黑马起步 > 0) AND (LOW <= X2)) AND ((均线 - REF(均线,1)) > 0)),(LOW - 0.11),'★黑马起步'),COLOR00FF00;DRAWTEXT((逃遁 > 0),(HIGH * 1.14),'●逃命'),COLOR0000FF;RDV:=SMA(LOW,8,1);DRAWTEXT(((((CROSS(K,D) AND (CLOSE >= OPEN)) AND ((X2 - REF(X2,1)) > 0)) AND ((RDV - REF(RDV,1)) > 0)) AND (K <= 33)),(LOW - 0.08),'★黑马初现'),COLOR8500DE;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 牛熊线)) AND (HIGH < 阻挡)) AND ((X2 - REF(X2,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH >= X3)),5),(LOW - 0.03),'←黑马筑底'),COLOR85B256;RCK:=(SMA(LOW,21,2) * 0.95);趋势线:=SMA(LOW,5,1);大胆买入:DRAWTEXT(((CROSS(趋势线,RCK) AND (LOW <= X2)) AND ((X2 -REF(X2,1)) > 0)),LOW,'←★大胆买入'),COLORE50000;B1:=(((HIGH + LOW) + CLOSE) / 3);B6:=HHV(B1,(4 * 15));B7:=LLV(B1,(4 * 15));B8:=(B6 - B7);飞龙顶底线:=(MA(((B1 - B7) / B8),2) * 80);DRAWTEXT(FILTER(((((((飞龙顶底线 <= 1) AND (WINNER(CLOSE) < 0.02)) AND (HIGH < 趋势线)) AND (CLOSE > OPEN)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)),8),(LOW - 0.02),'←黑马寻底'),COLORE7DD1F;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND (WINNER(CLOSE) < 0.015)) AND ((OPEN / CLOSE) > 0.99)) AND ((J - REF(J,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH < 支撑位)) AND (CLOSE > 短期底部)),25),(LOW - 0.09),'←开始建仓'),COLOR00FFFF;DRAWTEXT(FILTER((((((((LOW <= 均线30) AND ((AA10 - REF(AA10,1)) > 0)) AND ((均线 - REF(均线20,1)) > 0)) AND ((趋势线 - REF(趋势线,1)) > 0)) AND (CLOSE >= 均线30)) AND (WINNER(CLOSE) < 0.15)) AND ((CLOSE / OPEN) > 1.01)),3),LOW,'★天马奔月'),COLOR76B0FC;DRAWTEXT((((((OPEN <= 均线) AND ((均线30 - REF(均线30,1)) > 0)) AND (CLOSE > 均线89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)),LOW,'★天马过桥'),COLORCC99FF;【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】抓黑马顶底(主力、散户、黑马线、趋势线)
【通达信】抓黑马顶底(主力、散户、黑马线、趋势线)-指标公式源码A0:=HHV(H,9)-LLV(L,9);A1:=HHV(H,9)-C;A2:=C-LLV(L,9);A3:= A1/A0*100-70;A4:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100;A5:=(2*C+H+L)/4;A6:=SMA(A2/A0*100,3,1);A7:=LLV(L,34);A8:=SMA(A6,3,1)-SMA(A3,9,1);A9:=IF(A8>100,A8-100,0);AA:=HHV(H,34);AB:=A9*2;AC:=EMA((A5-A7) / (AA-A7)*100,13);AD:= EMA(0.667*REF(AC,1)+0.333*AC,2);AE:=SMA(A4,20,1);AF:=SMA(AB,2,1)-AB;B0:=EMA(0.667*REF(AC,1)+0.333*AC,2)-AC;B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;B2:=SMA(B1,9,1)+100;B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;B7:=IF(B6>60,B6-60,0);STICKLINE(REF(B7,1)<B7,B7,REF(B7,1),5,0),COLORRED;STICKLINE(REF(B7,1)>B7,B7,REF(B7,1),5,0),COLORFFFF00;主力:EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),LINETHICK2,COLORRED; 散户:EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7),LINETHICK2,COLORWHITE ;DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-20,'升'),COLORYELLOW;DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1)OR CROSS(主力,散户) AND 散户<-35 ,-15,1);加速探底:IF((MA(C,5)-C)/C>0.04 AND(MA(C,10)-MA(C,5))/MA(C,5)>0.04,40,0.85),COLORYELLOW;机会来临1:REF(IF(REF(C,1)/C>0.04 AND(MA(C,10)-MA(C,5))/MA(C,5)>0.04,40,0),1),COLOR9999FF;A11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV( L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);黑马线:=EMA(A11,5);A21:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A31:=EMA(C,5);A41:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趋势线:=(MA(3*SMA(A41,6,1)-2*SMA(SMA(A41,5,1),5,1),2));A51:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A21<0,7),黑马线,'跑'),COLOR00FF00;DRAWTEXT(CROSS(A11,黑马线)AND 黑马线<A51,黑马线,'黑马'),COLORYELLOW; DRAWTEXT(CROSS(黑马线,A51)AND 趋势线<80,黑马线,'追涨'),COLOR688EC1; DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,5,'大黑马'),COLORFFFF00;底部:=(A21<-10 AND A21>REF(A21,1))*25;DRAWICON(底部 AND A31>REF(A31,1),25,1);机会来临2:REF(IF((MA(C,5)-C)/C>0.04 AND(MA(C,10)-MA(C,5))/MA(C,5)>0.04,65,0),1),COLORF00FF0;【通达信】抓黑马顶底(主力、散户、黑马线、趋势线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】黑马摇篮(黑马线、大黑马、摇篮手)
【股票指标公式下载】-【通达信】⿊马摇篮(⿊马线、⼤⿊马、摇篮⼿)【通达信】⿊马摇篮(⿊马线、⼤⿊马、摇篮⼿)-指标公式源码VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5); VAR4:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100;VAR5:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR6:=EMA(VAR5,100);VAR7:=2*(VAR5-VAR6);VAR8:=POW(VAR7,3)*0.1+POW(VAR7,1);VAR9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VARA:=EMA(VAR9*0.97,3);VARB:=(HIGH+LOW+CLOSE)/3;VARC:=(VARB-MA(VARB,14))/(0.015*AVEDEV(VARB,14));⿊马线1:= IF(VAR7>0.1,VAR8,0)*5;VARD:=LLV(HIGH,240);VARE:=100*(CLOSE-VARD)/VARD;VARF:=AMOUNT/VOL;VAR10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAR11:=INDEXC;VAR12:=MA(VAR11,5);VAR13:=MA(VAR11,20);VAR14:=MA(VAR11,30);VAR15:=VAR14>VAR12*1.08 AND VAR13>VAR12*1.055;VAR16:=VAR12>VAR11*1.03 AND VAR13>VAR11*1.13;VAR17:=VAR16;VAR18:=IF(FILTER(VAR10<6,5)=1,1,0);VAR19:=VAR10<6 AND VAR17;VAR1A:=CROSS(⿊马线1,2);VAR1B:=CROSS(⿊马线1,4);VAR1C:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR1D:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR1E:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR1F:=REF(CLOSE,1);VAR20:=SMA(MAX(CLOSE-VAR1F,0),5,1)/SMA(ABS(CLOSE-VAR1F),5,1)*100; VAR21:=(HIGH+LOW+CLOSE)/3; VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR1C>=-15.8 AND VAR1C<=-12.2 AND VAR1D<=-20.8 AND VAR1E<=-27.5 AND VAR20<=11.7 AND VAR22<=-145)*100;VAR24:=VAR4=0;VAR25:=VAR4=100;IF(VAR25>0,110,101),STICK,LINETHICK2,COLOR00FF00;101,STICK,LINETHICK2 ,COLOR000000;IF(VAR23>0,100,90),STICK,LINETHICK3,COLORRED;90,STICK,LINETHICK3,COLO R000000; {DRAWTEXT(VAR23>0,90,'发现⼤⿊马加把安全锁,全部亏损问它要'), , COLORMAGENTA;}IF(VAR24>0,-11,0),STICK,LINETHICK2, COLORRED;0,STICK,LINETHICK2, COLOR000000;⿊马线:⿊马线1,STICK ,COLOR008364,LINETHICK3;发现: (VAR18 AND VARE<-2.5 AND VAR3<5 ANDVAR4=0)*60,LINETHICK2 ,COLORYELLOW;⿊马: IF(FILTER(VAR19,1)=1,1,0)*80,STICK , LINETHICK2, COLORF0F000; ⼤⿊马: VAR19 AND VAR18*80,STICK ,LINETHICK2, COLORYELLOW;操盘⼿: VAR4,COLORF00FF0;庄拉: IF(FILTER((VAR1A OR VAR1B) AND VAR4<40 ANDVAR3<40,5)=1,35,0),LINETHICK2,COLORRED ;{DRAWTEXT(发现>0,25,'短线⿊马2.5%')COLORCC99FF;DRAWTEXT(⿊马>0,52,'⿊马发现10%'), COLORYELLOW;DRAWTEXT(⼤⿊马,70,'★⽇线专⽤⼤⿊马获利10%以上'),COLORRED;}0,LINETHICK1,COLOR000999;100, COLORFF9966;【通达信】⿊马摇篮(⿊马线、⼤⿊马、摇篮⼿)-指标公式效果图(⽂档来源:若⽔财经社区)。
黑马之势指标公式
黑马之势指标公式
黑马之势指标公式是一种用于判断股票趋势的技术指标,通常由一系列计算公式构成。
以下是一个可能的黑马之势指标公式,供您参考:
DIF=(C-MA)/MA×100
其中,C表示股价收盘价,MA表示股价的N日移动平均线。
DIF值表示当前收盘价与移动平均线之间的差距,用于判断股价趋势。
此外,攻击指标(AD)也是一种重要的短线黑马指标,其计算公式如下:
AD=(H-L)/V×100
其中,H为当日最高价,L为当日最低价,V为当日成交量。
AD值表示市场情绪和热度,对于短线黑马股的筛选具有重要意义。
需要注意的是,黑马之势指标公式并不是万能的,投资者在使用时应结合市场趋势、基本面等因素进行综合判断。
通达信雷达资金指标公式
通达信雷达资金指标公式
通达信雷达资金指标是一种股市分析工具,用于衡量资金的流
入和流出情况,帮助投资者判断市场的热度和资金动向。
雷达资金
指标的公式如下:
雷达买入资金 = (最高价收盘价) / (最高价最低价) 成交量。
雷达卖出资金 = (收盘价最低价) / (最高价最低价) 成交量。
雷达资金指标 = 雷达买入资金雷达卖出资金。
其中,最高价、最低价、收盘价和成交量分别代表股票的最高价、最低价、收盘价和成交量。
雷达买入资金表示资金流入的程度,雷达卖出资金表示资金流出的程度,雷达资金指标则是二者的差值,用于判断资金的净流入情况。
这个指标可以帮助投资者判断市场的资金流向,当雷达资金指
标为正时,表示资金净流入,市场热度较高;当雷达资金指标为负
时,表示资金净流出,市场热度较低。
投资者可以结合其他技术指标和市场情况,进行分析和决策。
需要注意的是,雷达资金指标只是市场分析的辅助工具,投资者在使用时应该结合其他因素进行综合分析,不应该单独依赖该指标做出投资决策。
通达信指标——黑马绝技四线粘合指标公式
通达信指标——黑马绝技四线粘合指标公式EMA30:EMA(C,30),colorwhite,LINETHI CK2;EMA60:EMA(C,60),COLORFF00FF;EMA90:EMA(C,90),coloryellow;EMA120:EMA(C,120),COLORFFCC66;EMA250:EMA(C,250),colorblue;SS:=CROSS(EMA30,EMA60) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA30,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA30,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;DRAWICON(SS,L-0.04,1);DD:=CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(EMA60,EMA250) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(EMA90,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(EMA60,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ANDCROSS(EMA30,EMA250);{DD:=CROSS(EMA30,EMA250);}DRAWICON(DD,L-0.04,3);A:=BARSCOUNT(C);AH:=HHV(H,200);AL:=LLV(L,200);A0:=(AH-AL)/40;STICKLINE((A+0)/34=FLOOR((A+0)/34),B1,B1-1.5*A0,3,0),COLORF00FF0;DRAWTEXT((A+0)/34=FLOOR((A+0)/34),B1-1*A0,'时间窗'),colorwhite;DRAWTEXT(CROSS(EMA30,EMA60),EMA30,'始');DRAWTEXT(CROSS(EMA60,EMA30),EMA60,'终');当然,炒股仅靠一个指标是肯定不行的,毕竟一个指标就算在厉害,也是有限的,可以结合多个指标,那样操作起来才会更轻松,本人还有一套自己独创的放心买选股系统。
【股票指标公式】-【通达信】黑马通道(副图)
【通达信】黑马通道(副图)-指标公式源码短线止损线:=EMA(CLOSE,17);A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A, 11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A, 18)+REF(A,20))/210;中线止损线:=EMA(X,13);上涨天数:=BARSLAST(短线止损线<中线止损线);下跌天数:=BARSLAST(短线止损线>中线止损线);KKA:=EMA(C,5);KKB:=EMA(KKA,8);KKC:=EMA(KKB,13);长线止损线:=EMA(KKC,50);AAA:=(3*C+L+O+H)/6;C2:=EMA(AAA,6);C3:=EMA(AAA,5);SHORT:=12;LONG:=26;MID:=9;DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIF,MID);MACD:=(DIF-DEA)*2;N:=9;M1:=3;M2:=3;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);J:=3*K-2*D;KAAA:=J<D AND DIF>DEA;KDDD:=C/中线止损线<1.2;KCCC:=上涨天数<20;KBBB:=IF(REF(J,3)>REF(D,3) AND KAAA AND KDDD AND KCCC,30,0);N1:=5;N4:=34;CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));饱和度:=IF(SAT>1,1,SAT)*100;持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*S MA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 支撑:=LLV(持股,3);中期线:=MA(持股,12);VAR1:=1;VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);短期线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1*30;中期:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));KDD:=REF(中期,1)<1 AND 中期>1;AA:=C/REF(C,1)>1.09;KMMM:=REF(中期,1)<1 AND 中期>1;KDDDD:=饱和度>=97 AND CQ>90 AND 中期线<50;KEEEE:=C/O>1.015;KFFFF:=BARSLAST(CROSS(短期线,中期线))<10;KAAX:=KDDDD AND KEEEE AND KFFFF;KAAY:=IF(REF(KAAX,1) OR REF(KAAX,2),0,1);KAAB:=KAAX AND KAAY;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));KL:=饱和度>=97 AND CQ>90;KK:=W4 AND COUNT(W4,5)=1;KKKK:=KL OR KK;KKAA:=IF(AA,0,1);KKBB:=IF(C/中线止损线>1.15,1,0);KMA:=KKKK AND KKAA;KMB:=REF(KKKK,1) AND KKAA AND REF(AA,1);KMC:=KMA OR KMB;KYA:=CROSS(C2,C3);KYB:=上涨天数<30;KYD:=EXIST(KAAB,20);KYC:=KYA AND KYB AND KYD;KAAA1:=EXIST(KDD,3);KBBB1:=C/REF(C,1)>1+0.01*9;KAAA2:=支撑>中期线 AND 持股=支撑;KBBB2:=CROSS(C2,C3);KCCC2:=EXIST(C/REF(C,1)>1+0.01*9,10);KDDD2:=BARSLAST(中期线>短期线)<10;KAAA3:=REF(C,1)<REF(中线止损线,1) AND C>中线止损线; KBBB3:=C/REF(C,1)>1.09;KCCC3:=中线止损线/长线止损线<1.1;KA1:=KAAA1 AND KBBB1;KA2:=KAAA2 AND KBBB2 AND KCCC2;KA3:=KAAA3 AND KBBB3 AND KCCC3;抄底先锋:IF(KMMM AND 下跌天数>下跌 AND 中线止损线/C>1+0.01*离线,70,0),COLORYELLOW,LINETHICK2;抄底先锋A:=KMMM AND 下跌天数>下跌 AND 中线止损线/C>1+0.01*离线;行情线:=EMA(A,1);黑马启动:IF(CROSS(行情线,中线止损线) AND C/REF(C,1)>1+0.01*涨幅 AND 中线止损线<长线止损线,70,0),COLORRED,LINETHICK2;黑马启动A:=CROSS(行情线,中线止损线) AND C/REF(C,1)>1+0.01*涨幅 AND 中线止损线<长线止损线;AAAA:=C/REF(C,1)>1+0.01*涨幅1;资金3:=支撑>中期线 AND 持股=支撑 AND REF(支撑,2)<REF(持股,2);资金4:=J<D AND DIF>DEA AND REF(J,1)>REF(D,1),COLORYELLOW;资金5:=EXIST(AAAA,10);资金6:=BARSLAST(短期线<中期线)<力道;短线快枪:IF(资金3 AND 资金4 AND 资金5 AND 资金6 AND KCCC3 AND 上涨天数<20 AND C>中线止损线,70,0),COLORMAGENTA,LINETHICK2;短线快枪A:=资金3 AND 资金4 AND 资金5 AND 资金6 AND KCCC3 AND 上涨天数<20 AND C>中线止损线;{}DRAWTEXT(抄底先锋A,80,'抄底'),COLORRED;DRAWTEXT(抄底先锋A,60,'先锋'),COLORRED;DRAWTEXT(抄底先锋A,40,'软件'),COLORWHITE;DRAWTEXT(抄底先锋A,20,'初选'),COLORWHITE;DRAWTEXT(黑马启动A,80,'黑马'),COLORYELLOW;DRAWTEXT(黑马启动A,60,'启动'),COLORYELLOW;DRAWTEXT(黑马启动A,40,'软件'),COLORWHITE;DRAWTEXT(黑马启动A,20,'初选'),COLORWHITE;DRAWTEXT(短线快枪A,80,'短线'),COLORYELLOW;DRAWTEXT(短线快枪A,60,'快枪'),COLORYELLOW;DRAWTEXT(短线快枪A,40,'软件'),COLORWHITE;DRAWTEXT(短线快枪A,20,'初选'),COLORWHITE;STICKLINE(KMMM,0,20,2,0),COLORWHITE;STICKLINE(KMC,80,100,2,0),COLORGREEN;STICKLINE(KMC AND 上涨天数>30,80,100,2,0),COLORRED;短线反弹:KMMM,STICK,COLORWHITE;短线风险:KMC,STICK,COLORGREEN;【通达信】黑马通道(副图)-指标公式效果图(文档来源:好股票网)。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】黑马雷达(决策线、黑马)-指标公式源码
A1:=1;
A2:=(5);
A3:=(((2 * CLOSE) + HIGH) + LOW) / 4;
A4:=LLV(LOW,34);
A5:=HHV(HIGH,34);
A6:=EMA((((A3 - A4) / (A5 - A4)) * 100),13);
A7:=(EMA(((0.667 * (REF(A6,1))) + (0.333 * A6)),2)) * A1;
决策线:(EMA(A7,A2)) * A1,COLORRED;
A8:=(HHV(HIGH,9)) - (LLV(LOW,9));
A9:=(HHV(HIGH,9)) - CLOSE;
A10:=CLOSE - (LLV(LOW,9));
A11:=((A9 / A8) * 100) - 70;
A12:=((CLOSE - (LLV(LOW,60))) / ((HHV(HIGH,60)) - (LLV(LOW,60)))) * 100; A13:=SMA(((A10 / A8) * 100),3,1);
A14:=(SMA(A13,3,1)) - (SMA(A11,9,1));
A15:=IF((A14 > 100),(A14 - 100),0);
A16:=(EMA((((A3 - A4) / (A5 - A4)) * 100),8)) * A1;
A17:=(EMA(A16,5)) * A1;
STICKLINE(((A16 - A17) > 0),A16,A17,3,1),COLORFFAA18;
STICKLINE(((A16 - A17) < 0),A16,A17,3,0),COLORGREEN;
A18:=(EMA(CLOSE,2)) * A1;
A19:=(EMA((((SLOPE(CLOSE,21)) * 20) + CLOSE),42)) * A1;
A20:=(HHV((MA(HIGH,13)),13)) * A1;
A21:=(LLV((MA(HIGH,13)),1)) * A1;
A22:=(EMA(CLOSE,4)) * A1;
A23:=((((A18 >= A19) AND (A21 = A20)) AND (A18 > A22)) AND (CLOSE > A21)) AND ((REF(A21,1)) < (REF(A20,1)));
A24:=BARSLAST(A23) + 1;
A25:=(LLV(LOW,A24)) * 1.3;
A26:=(LLV(LOW,20)) * 1.418;
A27:=(((((A18 >= A19) AND (A21 = A20)) AND ((CLOSE / (REF(CLOSE,1))) >= 1.07)) AND (A24 <= 30)) AND (CLOSE <= A25)) AND (CLOSE <= A26);
A28:=A27 AND (FILTER(A27,A24));
{A29:=(STRFIND(STKNAME,'ST',1)) > 0;}
A30:=((((((A18 >= A19) AND (A21 = A20)) AND ((CLOSE / (REF(CLOSE,1))) >= 1.035)) AND (A24 <= 30)) AND (CLOSE <= A25)) AND (CLOSE <= A26)) ;
A31:=A30 AND (FILTER(A30,20));
DRAWICON((A28 OR A31),决策线,1);
DRAWTEXT((A28 OR A31),决策线,'←黑马'),COLORRED;
{DRAWTEXTREL(3,30,'XXXX:XXXXXXXXX'),COLORWHITE;};
DRAWTEXT(CURRBARSCOUNT=89,60.1,'蓝柱在红线上逢低介入,蓝柱在红线下逢高离场!!'),COLOR0000FF;
【通达信】黑马雷达(决策线、黑马)-指标公式效果图
(文档来源:若水财经社区)。