【股票指标公式下载】-【通达信】黑马摇篮(黑马线、大黑马、摇篮手)
【炒股必看】通达信机构抓黑马主图指标公式
通达信机构抓黑马主图指标公式V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:RE FDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,L,L*0.98,3,0),COLORYELLOW;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,H*1.01,H,3,0),COLOR00FF00{98FD};MA3:MA(C,3);MA5:MA(C,5),COLORWHITE;MA10:=MA(C,10),NODRAW;MA30:MA(C,34),NODRAW;五日乖离率:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;IF(BB5>30 AND MA5>REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORRED;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB5<0 AND MA5<REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORGREEN; DD5:=MA5<REF(MA5,1);IF(DD5,MA5,DRAWNULL),COLOR00FF00;X:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF( X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK1;{用法:黄托底买进,绿压顶买出。
通达信黑马出枪公式选股(副图指标公式、公式、源码、演示图)
通达信黑马出枪公式选股(副图指标公式、公式、源码、演示图)相关标签:通达信黑马启动指标、黑马启动指标公式源码、通达信所有黑马的共性、通达信黑马飞升指标、黑马起飞主图指标通达信、黑马出现指标公式、通达信黑马出枪公式选股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;。
通达信精选指标:黑马柱,捕捉大黑马的好指标(源码免费分享)
通达信精选指标:⿊马柱,捕捉⼤⿊马的好指标(源码免费分享)今天跟⼤家分享⼀个副图指标,是捕捉⿊马的有效⼯具,是⼀种研判股票⾛势,短线炒股擒拿涨停,强烈地感受到这⼀形态的强悍和巨⼤威⼒⿊马柱是股票买卖成交量形成的量柱体,有⾼低之分,有红黄⽩绿之别,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;。
【股票指标公式下载】-【通达信】抓黑马(网均线、高低线、大阴线)
【通达信】抓黑马〔网均线、高低线、大阴线〕-指标公式源码网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;。
通达信黑马启动必抓1号三个幅图指标公式
通达信黑马启动必抓1号三个幅图指标公式以下是通达信黑马启动必抓1号三个幅图指标公式(无源码的请下载附件导入)新黑马必抓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/(SU M(AMOUNT,13)/(AMOUNT/VOL/100)/100));CMLONG:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(S UM(AMOUNT,20)/(AMOUNT/VOL/100)/100));DIF:=EMA(EMA(CL OSE,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(MT M),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;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)*XS;STICKLINE(买入,(LOW)*(0.99000001),0,6,0)*XS*VARB29,COLORRED;VAR1:=EMA(HHV(HIGH,500),21);VAR2:=EMA(HHV(HIGH,250),21);VAR3:=EMA(HHV(HIGH,90),21);VAR4:=EMA(LLV(LOW,500),21);VAR5:=EMA(LLV(LOW,250),21);VAR6:=EMA(LLV(LOW,90),21);VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.55 8+VAR2*0.558+VAR3*0.558)/6,21);VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55 +VAR2*0.55+VAR3*0.65)/6,21);VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+V AR2*0.68+VAR3*0.68)/6,21);VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);VARB:=REF(LOW,1);VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);VARE:=LLV(LOW,30);VARF:=HHV(VARD,30);VAR10:=IF(MA(CLOSE,58),1,0);DRAWTEXT(A9>15298,LOW,'(CLOSE-LC)*VID;LONG := SUM(RC,0)2)))*100);RC := (CLOSE-LC)*VID;LONG := SUM(RC,0);DIFF := SMA(LONG,10,1);DEA := SMA(LONG,20,1);LON : DIFF-DEA;(CLOSE-LC)*VID;LONG := SUM(RC,0)');新黑马启动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 条件;RRF:=金K线,STICK;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR000088;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000AA;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000CC;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000EE;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000EE;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLORLIMAGENTA; STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLOR770077; STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLOR990099; STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORBB00BB; STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORDD00DD; STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORFF00FF; STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORDD00DD; STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR003300; STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR005500; STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR007700; STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR009900; STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR00CC00; STICKLINE(IF(RRF,-120,0),+3,0,3,0),COLOR666666; STICKLINE(IF(RRF,-120,0),+3,0,3,0),COLOR777777; STICKLINE(IF(RRF,-120,0),+3,0,3,0),COLOR888888; STICKLINE(IF(RRF,-120,0),+3,0,3,0),COLOR999999; STICKLINE(IF(RRF,-120,0),+3,0,3,0),COLORDDDDDD; STICKLINE(IF(RRF,-120,0),+3,0,3,0),COLORFFFFFF; {STICKLINE(IF(RRF,-120,0),-3,0,3,0),COLOR000044; STICKLINE(IF(RRF,-120,0),-3,0,3,0),COLOR000033; STICKLINE(IF(RRF,-120,0),-3,0,3,0),COLOR000055; STICKLINE(IF(RRF,-120,0),-3,0,3,0),COLOR000077; STICKLINE(IF(RRF,-120,0),-3,0,3,0),COLOR000099; STICKLINE(IF(RRF,-120,0),-3,0,3,0),COLORLIMAGENTA;} DRAWTEXT(RRF,8.5,'黑'),COLORYELLOW; DRAWTEXT(RRF,6,'马'),COLORYELLOW; DRAWTEXT(RRF,3.5,'启'),COLORRED;DRAWTEXT(RRF,1,'动'),COLORRED;{DRAWTEXT(RRF,-1.5,'标'),COLORYELLOW;};黑马1号AHC1:=CLOSE*VOL;AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA( AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108) +EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);通道:=1.0668*AHC22,COLOR9F5F9F,LINETHICK3;起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;RRF:=起爆,STICK;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR000088;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000AA;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000CC;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000EE;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLOR0000EE;STICKLINE(IF(RRF,-120,0),+12,0,3,0),COLORLIMAGENTA;STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLOR770077;STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLOR990099;STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORBB00BB;STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORDD00DD;STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORFF00FF;STICKLINE(IF(RRF,-120,0),+9,0,3,0),COLORDD00DD;STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR003300;STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR005500;STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR007700;STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR009900;STICKLINE(IF(RRF,-120,0),+6,0,3,0),COLOR00CC00;STICKLINE(RRF,0,3,3,0),COLOR008888;STICKLINE(RRF,0,3,3,0),COLOR00AAAA;STICKLINE(RRF,0,3,3,0),COLOR00CCCC;STICKLINE(RRF,0,3,3,0),COLOR00FFFF;DRAWTEXT(RRF,10.5,'黑'),COLORYELLOW;DRAWTEXT(RRF,7.5,'马'),COLORYELLOW;DRAWTEXT(RRF,4.5,'一'),COLORRED;DRAWTEXT(RRF,1.5,'号'),COLORRED;•上一篇:我说这个公式是做波段的神器,波霸说有我的波神气吗下一篇:通达信饿狼传说源码附图。
【股票指标公式下载】-【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)
【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)-指标公式源码上:=(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;【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)-指标公式效果图(文档来源:若水财经社区)。
通达信画线黑马量柱指标公式
通达信画线黑马量柱指标公式来源:Internet,编辑:股旁网,2018-09-10M1:=3;{预估成交量}TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(P ERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);预估成交量:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NOD RAW;STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),预估成交量,0,-1,-1),COLOR00C0C0;{黑马王子量柱副图公式}VOL,VOLSTICK;T:=DYNAINFO(8)>0;VO:=VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;AMOV:=VOL*(OPEN+CLOSE)/2;AMV1:SUM(AMOV,M1)/SUM(VOL,M1)COLORWHITE;梯量柱:VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND AMV1>REF(AMV1,1) AND C/REF(C,1)>1.01 AND CLOSE>OPEN,COLORYELLOW;DRAWTEXT(梯量柱,VOL*0.1,'↖梯柱'),COLORYELLOW;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);倍量柱:BLZ,COLORRED;DRAWTEXT(倍量柱,VOL*0.9,'倍'),COLORYELLOW;二倍量:=VOL>=REF(VOL,1)*3 AND VOL<REF(VOL,1)*4;STICKLINE(二倍量,0,VOL,0.1,0),COLORYELLOW;DRAWTEXT(二倍量,VOL,'二倍量'),COLORMAGENTA;四倍量:=VOL>=REF(VOL,1)*4;STICKLINE(四倍量,0,VOL,0.1,0),COLORYELLOW;DRAWTEXT(四倍量,VOL,'四倍量以上'),COLORMAGENTA;{量能}QJJ:=V/((H-L)*2-ABS(C-O));HSL:=IF(C!=O,QJJ*(C-O),0)/100;LNGJ:=HSL*0.5+REF(HSL,1)*0.3+REF(HSL,2)*0.2;LLJX:=EMA(LNGJ,3);B:=0,POINTDOT,COLORWHITE;B1:=SUM(LLJX,1),COLORCYAN;B2:=SUM(LLJX,2),COLORCYAN;B3:=SUM(LLJX,3),COLORCYAN;B4:=SUM(LLJX,4),COLORCYAN;B5:=SUM(LLJX,5),COLORCYAN;B6:=SUM(LLJX,6),COLORCYAN;B7:=SUM(LLJX,7),COLORCYAN;B8:=SUM(LLJX,8),COLORCYAN;B9:=SUM(LLJX,9),COLORCYAN;B10:=SUM(LLJX,10),COLORCYAN;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;XG0:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10;XG1:=COUNT(CROSS(MA(C,5),MA(C,20)),3)=1;XG2:=C>PEAK(1,5,1) AND REF(C,1)<PEAK(1,5,1);XG3:=V>REF(V,1)*1.9 AND C>O AND J<90 AND K<80;XG4:=COUNT(V>REF(V,1)*1.9 AND C>REF(C,1)*1.04,3)=1 AND C<REF(C,1)*0.96 AND V<REF(V,1)*0.6;XG:=(XG0 OR XG1 OR XG2) AND XG3;HH:=HHV(B10,120);DRAWTEXT(XG AND XG0,VOL*1.15,'量能'),COLORRED;STICKLINE(XG AND XG0,0,V*2.5/3,2,0)COLORRED;量缩涨:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2,COLORGREEN;STICKLINE(量缩涨,0,V,1,0),COLORGREEN;DRAWTEXT(量缩涨,VOL*1.05,'量缩涨'),COLORGREEN;HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4* REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黑马黄金柱:FILTER(HJZ3,5),COLORYELLOW,NODRAW;DRAWTEXT(黑马黄金柱,V*1.25,'◆黄金柱'),COLORYELLOW;STICKLINE(黑马黄金柱,0,V,3.3,1),COLORRED;STICKLINE(黑马黄金柱,0,V*2.5/3,2,0)COLORRED;STICKLINE(倍量柱,0,VOL,0.1,0),COLORYELLOW;DRAWLINE(V<=LLV(V,20),VOL,VOL>=HHV(V,20) ,HHV(V,3),0),,COLORRED,LINETH ICK2;DRAWLINE(V>=HHV(V,20),V,V<=LLV(V,3),HHV(V,3),0),COLO RCYAN,LINETHICK2;。
【股票指标公式】-【通达信】黑马通道(副图)
【通达信】黑马通道(副图)-指标公式源码短线止损线:=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;【通达信】黑马通道(副图)-指标公式效果图(文档来源:好股票网)。
『通达信黑马系列绝密指标公式源码下载』-股票指标公式下载
『通达信黑马系列绝密指标公式源码下载』-股票指标公式下载
『通达信黑马系列绝密指标公式源码下载』-股票指标公式下载
底: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、上涨空间,是指收盘价到估值价的空间倍数。
(整理)【股票指标公式下载】-【通达信】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趋势分析(量能饱和度、黑马线)-指标公式效果图(文档来源:若水财经社区)。
黑马之势指标公式
黑马之势指标公式
黑马之势指标公式是一种用于判断股票趋势的技术指标,通常由一系列计算公式构成。
以下是一个可能的黑马之势指标公式,供您参考:
DIF=(C-MA)/MA×100
其中,C表示股价收盘价,MA表示股价的N日移动平均线。
DIF值表示当前收盘价与移动平均线之间的差距,用于判断股价趋势。
此外,攻击指标(AD)也是一种重要的短线黑马指标,其计算公式如下:
AD=(H-L)/V×100
其中,H为当日最高价,L为当日最低价,V为当日成交量。
AD值表示市场情绪和热度,对于短线黑马股的筛选具有重要意义。
需要注意的是,黑马之势指标公式并不是万能的,投资者在使用时应结合市场趋势、基本面等因素进行综合判断。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】黑马摇篮(黑马线、大黑马、摇篮手)-指标公式源码
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 AND
VAR4=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 AND
VAR3<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;
【通达信】黑马摇篮(黑马线、大黑马、摇篮手)-指标公式效果图
(文档来源:若水财经社区)。