通达信2指标——黑马波段(主图)

合集下载

【炒股必看】通达信机构抓黑马主图指标公式

【炒股必看】通达信机构抓黑马主图指标公式

通达信机构抓黑马主图指标公式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;{用法:黄托底买进,绿压顶买出。

通达信精选指标:黑马柱,捕捉大黑马的好指标(源码免费分享)

通达信精选指标:黑马柱,捕捉大黑马的好指标(源码免费分享)

通达信精选指标:⿊马柱,捕捉⼤⿊马的好指标(源码免费分享)今天跟⼤家分享⼀个副图指标,是捕捉⿊马的有效⼯具,是⼀种研判股票⾛势,短线炒股擒拿涨停,强烈地感受到这⼀形态的强悍和巨⼤威⼒⿊马柱是股票买卖成交量形成的量柱体,有⾼低之分,有红黄⽩绿之别,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;。

通达信2指标——合成操盘主图(主图)

通达信2指标——合成操盘主图(主图)
黄点出低吸:=IF(初晴,L*0.983,DRAWNULL),POINTDOT,COLOR00FFFF,LINETHICK5;
N1:=BARSCOUNT(5) ;
N:=((N1 - CURRBARSCOUNT ) + 1);
HH:=HHV(HIGH,N);
LL:=LLV(LOW,N);
最高:=HHV(N1,1),POINTDOT;
DRAWTEXT(A,L,'');
AB:=CROSS(满仓,L) AND A;
DRAWICON(AB,L,1);
VAR1A:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR2A:=REF(HIGH,10)/CLOSE>1.35;
VAR3A:=(COST(20)-CLOSE)/CLOSE>0.15;
AA10:=MA(CLOSE,10);
Y:=((LLV(LOW,1) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) > 1.04));
WX:=MA(CLOSE,0);
MB5:=(MA(CLOSE,15) * IF((20 < 5),WX,1));
MB7:=(MA(CLOSE,20) * IF((20 < 7),WX,1));
SS:=(MA(CLOSE,8) * 0.998),COLORFFFFFF;
买:=(DDD >= AMA AND BMA >= BMB);
HH1:=FILTER(((DDD >= AMA) AND (BMA >= BMB)),33);
VARR1:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),12,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),12,1)) * 100);

通达信寻找黑马起爆点的好指标

通达信寻找黑马起爆点的好指标

通达信寻找黑马起爆点的好指标以下是通达信寻找黑马起爆点的好指标(无源码的请下载附件导入)此指标用于通达信{寻找黑马起爆点的好指标用法:白色粘合,黄色高粘,粉色穿5,绿色穿10,亮色选优,红色选优} { 参数设置 N 1,30,10; S 1,4,1}MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);DG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));ZG:=MAX(MAX(DG,MA60),MAX(MA90,MA120));DD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));ZD:=MIN(MIN(DD,MA60),MIN(MA90,MA120));粘合:(ZG/ZD-1)*100<N,COLORFFFFFF,;高粘:(ZG/ZD-1)*100<N AND ZD>MA250,COLOR00FFFF,;穿5:(粘合 AND CROSS(C,MA5))*0.5,COLORFF00FF;穿10:(粘合 AND CROSS(C,MA10))*1,COLOR00FF00;穿20:(粘合 AND CROSS(C,MA20))*2,COLORAAAAAA;穿30:(粘合 AND CROSS(C,MA30))*3,COLORFF8000;FLSZ:=(C/REF(C,1)-1)*100>=2 AND V>REF(V,1);DXTP:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2;优选:FLSZ AND DXTP AND MA30>REF(MA30,1),COLORFFBB99;选优:FLSZ AND DXTP AND MA30>REF(MA30,1) AND 高粘,COLORRED;{以下设置副图显示方式}STICKLINE(粘合,-0.2,0,4,0),COLOR00FF00;STICKLINE(高粘,0.2,0,4,0),COLORFF00FF;DRAWTEXT(优选,3,'优●选'),COLOR00FFFF;DRAWICON(选优,0.3,1);DRAWTEXT(FILTER(粘合,10),-0.2,' 粘合'),COLOR00FF00;DRAWTEXT(FILTER(高粘,10),0.2,' 高粘'),COLORFF00FF;Y:=DATE;DRAWTEXT(Y=1081220,2,'白色粘合,黄色高粘,粉色穿5,绿色穿10,亮色选优,红色选优'),COLOREEAA66;通达信:罕见的黑马起爆点公式VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;VAR3:=SMA(VAR2,2,1);天:100+(-ABS(VAR1)),COLORRED;下:SMA(VAR3,2,1);无:ABS(VAR1),COLORGREEN;敌:50,COLORFFAA00,LINETHICK3;A:80;B:20;{本文来源:分析家公式网 }买:STICKLINE(CROSS(下,无),3,20,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,无),20,25,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,无),30,' '),COLORFFFFCC;卖:STICKLINE(CROSS(下,天),70,90,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,天),90,99,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,天),70,' '),COLORFFFFCC;选股2:IF(CROSS(下,20),1,0);DRAWICON((CROSS(下,20) ),20,1);DRAWICON((CROSS(下,20) ),-20,25);通达信黑马利器【资金起爆点】(副图、源码、贴图、无未来),对于捕捉黑马股票的起爆点有很好的预示作用。

销魂买手+销魂黑马主图通达信指标公式源码

销魂买手+销魂黑马主图通达信指标公式源码

幅图指标使用趋势线和生命线交叉确定买入和卖出的操作,并用红色和蓝色台阶辅助确定操作时间。

指标使用简介:1,买入:当出现第一根红柱时可少量买入,当趋势线上穿生命线时加仓买入,只要趋势线大于生命线并一路红柱,就一直持有;2,卖出:当出现第一根蓝柱时可半仓卖出,当趋势线下穿生命线时清仓观望。

只要趋势线小于生命线并一路蓝柱,就一直观望。

3,特别强调,指标绿色向下箭头(卖出信号)迟后,当红柱走平时就可以减仓或清仓。

指标有不妥的地方,烦请大家改进和优化。

下面是源码:1、销魂买手如下:B1:=EMA((2*CLOSE+HIGH+LOW)/4,5);A1:IF(EMA((2*CLOSE+HIGH+LOW)/4,6)>REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),B1, DRAWNULL),COLOR0000FF;A2:IF(EMA((2*CLOSE+HIGH+LOW)/4,6)<REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),B1, DRAWNULL),COLOR00FF00;B2:=EMA((2*CLOSE+HIGH+LOW)/4,13);A3:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),B 2,DRAWNULL),COLOR0000FF;A4:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)<REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),B2,DRAWNULL),LINETHICK2,COLOR00FF00;B3:=REF(EMA((LOW+CLOSE+OPEN)/3,25),1);A5:IF(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE+OPEN)/3,28),1),B3,DR AWNULL),LINETHICK3,COLOR0000FF;A6:IF(EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,28),1),B3,DR AWNULL),LINETHICK3,COLOR00FF00;B4:=(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2;A7:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2>REF((EMA(LOW,125)+EMA((CLO SE+LOW)/2,250))/2,1),B4,DRAWNULL),POINTDOT,COLOR0000FF;A8:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2<REF((EMA(LOW,125)+EMA((CLO SE+LOW)/2,250))/2,1),B4,DRAWNULL),POINTDOT,COLOR00FF00;短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*R EF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12) +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+ REF(H,20))/210,COLORBLUE,LINETHICK1;短低L:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF( L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+ REF(L,20))/210,COLORBLUE,LINETHICK1;D90H:=EMA(短高H,90)-(EMA(短高H,90)-EMA(短低L,90))*0.2,COLORRED,LINETHICK1; D90L:=EMA(短低L,90)+(EMA(短高H,90)-EMA(短低L,90))*0.2,COLORRED,LINETHICK1; 高0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK1,COL ORWHITE;低0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK1,COLO RWHITE;中中中:=((XMA(XMA(H,15),15)+XMA(XMA(H,20),20)+XMA(XMA(H,30),30)+XMA(XMA(H,40), 40))/4+(XMA(XMA(L,15),15)+XMA(XMA(L,20),20)+XMA(XMA(L,30),30)+XMA(XMA(L,40), 40))/4)/2,LINETHICK0,COLORGREEN;EMA中中中:=EMA(中中中,10),LINETHICK0,COLORWHITE;A:=(3*C+L+O+H)/6;B:=(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,COLORRED,LINETHICK1;D:=MA(B,10),COLORRED,LINETHICK2;D14:=MA(B,14),COLORRED,LINETHICK2;D21:=MA(B,21),COLORRED,LINETHICK2;A9:=MA((3*C+L+O+H)/6,28);B9:=(20*A9+19*REF(A1,1)+18*REF(A9,2)+17*REF(A9,3)+16*REF(A9,4)+15*REF(A9,5) +14*REF(A9,6)+13*REF(A9,7)+12*REF(A9,8)+11*REF(A9,9)+10*REF(A9,10)+9*REF(A9,11)+8*REF(A 9,12)+7*REF(A9,13)+6*REF(A9,14)+5*REF(A9,15)+4*REF(A9,16)+3*REF(A9,17)+2*REF(A9, 18)+REF(A9,12))/210,COLORGREEN,LINETHICK1;D1:=MA(B9,14),COLORGREEN,LINETHICK2;中中顶:=(XMA(XMA(H,15),15)+XMA(XMA(H,20),20)+XMA(XMA(H,30),30)+XMA(XMA(H,40),4 0))/4*2-(XMA(XMA(L,15),15)+XMA(XMA(L,20),20)+XMA(XMA(L,30),30)+XMA(XMA(L,40) ,40))/4,LINETHICK2,COLORGREEN;中中底:=(XMA(XMA(L,15),15)+XMA(XMA(L,20),20)+XMA(XMA(L,30),30)+XMA(XMA(L,40),40) )/4*2-(XMA(XMA(H,15),15)+XMA(XMA(H,20),20)+XMA(XMA(H,30),30)+XMA(XMA(H,40), 40))/4,LINETHICK2,COLORGREEN;短中顶:=(XMA(XMA(H,5),5)+XMA(XMA(H,8),8)+XMA(XMA(H,11),11)+XMA(XMA(H,14),14)+X MA(XMA(H,4),4))/5+((XMA(XMA(H,5),5)+XMA(XMA(H,8),8)+XMA(XMA(H,11),11)+XMA( XMA(H,14),14)+XMA(XMA(H,4),4))/5-(XMA(XMA(L,5),5)+XMA(XMA(L,8),8)+XMA(XMA(L, 11),11)+XMA(XMA(L,14),14)+XMA(XMA(L,4),4))/5)/2,LINETHICK0,COLORWHITE;短中底:=(XMA(XMA(L,5),5)+XMA(XMA(L,8),8)+XMA(XMA(L,11),11)+XMA(XMA(L,14),14))/4-( (XMA(XMA(H,5),5)+XMA(XMA(H,8),8)+XMA(XMA(H,11),11)+XMA(XMA(H,14),14)+XMA( XMA(H,4),4))/5-(XMA(XMA(L,5),5)+XMA(XMA(L,8),8)+XMA(XMA(L,11),11)+XMA(XMA(L, 14),14)+XMA(XMA(L,4),4))/5)/2,LINETHICK0,COLORWHITE;中顶:=(XMA(XMA(H,30),30)+XMA(XMA(H,40),40)+XMA(XMA(H,50),50)+XMA(XMA(H,60),6 0))/4*2.03-(XMA(XMA(L,30),30)+XMA(XMA(L,40),40)+XMA(XMA(L,50),50)+XMA(XMA(L, 60),60))/4,LINETHICK2,COLORRED;中底:=(XMA(XMA(L,30),30)+XMA(XMA(L,40),40)+XMA(XMA(L,50),50)+XMA(XMA(L,60),60) )/4*1.97-(XMA(XMA(H,30),30)+XMA(XMA(H,40),40)+XMA(XMA(H,50),50)+XMA(XMA(H, 60),60))/4,LINETHICK2,COLORRED;长顶:=(XMA(XMA(H,90),90)+XMA(XMA(H,120),120)+XMA(XMA(H,150),150))/3*2.08-(XMA (XMA(L,90),90)+XMA(XMA(L,120),120)+XMA(XMA(L,150),150))/3,LINETHICK2,COLORYE LLOW;长底:=(XMA(XMA(L,90),90)+XMA(XMA(L,120),120)+XMA(XMA(L,150),150))/3*1.92-(XMA( XMA(H,90),90)+XMA(XMA(H,120),120)+XMA(XMA(H,150),150))/3,LINETHICK2,COLORY ELLOW;AF长:=EMA((CLOSE+HIGH+LOW)/3,18);BF长:=REF(AF长,1);AF中:=EMA((CLOSE+HIGH+LOW)/3,10);BF中:=REF(AF中,1);AF5:=EMA((CLOSE+HIGH+LOW)/3,6);BF5:=REF(AF5,1);AF3:=EMA((CLOSE+HIGH+LOW)/3,3);BF3:=REF(AF3,1);买入定位:=AF长>BF长OR AF中>BF中OR AF5>BF5 OR AF3>BF3;卖出定位:=AF长<BF长OR AF中<BF中OR AF5<BF5;顶底定位:=AF长<BF长OR AF中<BF中OR AF5<BF5 OR AF3<BF3;STICKLINE(买入定位=1,LOW,HIGH,0.0,1),COLORRED;STICKLINE(买入定位=1,CLOSE,OPEN,3,1),COLORRED;STICKLINE(AF中<BF中,LOW,HIGH,0.0,0),COLORGREEN;STICKLINE(AF中<BF中,CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(卖出定位=1 AND 中中顶>中顶,LOW,HIGH,0.0,1),COLORGREEN; STICKLINE(卖出定位=1 AND 中中顶>中顶,CLOSE,OPEN,3,1),COLORGREEN; STICKLINE(顶底定位=1 AND H>中中顶AND H>中顶,CLOSE,OPEN,3,1),COLORGREEN; STICKLINE(顶底定位=1 AND H>中中顶AND H>中顶,LOW,HIGH,0.0,1),COLORGREEN; 加仓定位1:=卖出定位=1 AND 中中顶>中顶;加仓定位2:=顶底定位=1 AND H>中中顶AND H>中顶;DRAWTEXT(中中中<EMA中中中AND CROSS(AF中,BF中) AND 短中底<中中底AND 短中底<中底,L*0.97,'↖大牛'),COLORFF00FF;DRAWTEXT(中中中>=EMA中中中AND CROSS(AF中,BF中) AND 短中底<中中底,L*0.97,'↖黑马'),COLORFF00FF;DRAWTEXT(CROSS(BF3,AF3) AND H>中中顶AND H>中顶,H*1.03,'↙【逃】'),COLORGREEN;DRAWTEXT(加仓定位1=0 AND 加仓定位2=0 AND CROSS(AF中,BF中) AND 中中中>=EMA中中中,L*0.995,'↖追'),COLORYELLOW;DRAWTEXT(CROSS(AF长,BF长) AND 中底<长底,L*0.97,'↖【赌】'),COLORRED; DRAWTEXT(CROSS(AF长,BF长) AND 中底<长底AND 中底>长底,L*0.97,'↖中底'),COLORYELLOW;STICKLINE(AF中>BF中AND 短中底<中底AND 短中底<中底,CLOSE,OPEN,2,0),COLORRED;DRAWTEXT(AF3>BF3 AND 短中底<中中底AND H<中中底,L*0.985,'↖骗'),COLORWHITE; STICKLINE(AF3>BF3 AND 短中底<中中底AND H<中中底,CLOSE,OPEN,2,0),COLORRED; STICKLINE(中中中>=EMA中中中AND CROSS(AF中,BF中) AND AF中<中中中AND AF中<(中顶+中底)/2 AND H<短中顶,CLOSE,OPEN,3,0),COLORRED;DRAWTEXT(中中中>=EMA中中中AND CROSS(AF中,BF中) AND AF中<中中中AND AF 中<(中顶+中底)/2 AND H<短中顶,L*0.97,'↖【买】'),COLORRED;DRAWTEXT(CROSS(BF中,AF中) AND 中中中<EMA中中中,H*1.01,'↙卖'),COLORGREEN; DRAWICON(AF中<中中中AND AF中<(中顶+中底)/2 AND H<短中顶AND CROSS(AF 中,BF中) AND 中中中<EMA中中中,L*0.99,1);2、销魂黑马如下:QS0:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120));QS1:=((QS0/1)*EMA(CLOSE,20));QS:=SMA(QS1,3,1);QD0:=(CLOSE-LLV(LOW,119))/(HHV(HIGH,119)-LLV(LOW,119));QD1:=((QD0/1)*EMA(CLOSE,20));QD:=SMA(QD1,5,1);QF0:=(CLOSE-LLV(LOW,118))/(HHV(HIGH,118)-LLV(LOW,118));QF1:=(QF0/1)*EMA(CLOSE,20);QF:=SMA(QF1,5,1);PX1:=(QS+QD+QF)/3+EMA(CLOSE,20);PX2:=MA(PX1,2);PX3:=MA(PX1,3);YY:=(2*CLOSE+HIGH+LOW)/4;MA10:=MA(YY,45);收:=(PX1-MA10);中:=(PX2-MA10);开:=(PX3-MA10);MA20:=MA(收,8);STICKLINE((收>=开),收,(开-0.03),1,0),COLORRED;STICKLINE((收>=开),收,(开-0.03),0,0),COLORRED;STICKLINE((收>=开),中,(开-0.03),8,0),COLORRED; STICKLINE((收>=开),中,(开-0.03),7,0),COLORRED; STICKLINE((收>=开),中,(开-0.03),6,0),COLORRED; STICKLINE((收>=开),中,(开-0.03),5,0),COLORRED; STICKLINE((收>=开),中,(开-0.03),4,0),COLORRED; STICKLINE((收>=开),中,(开-0.03),3,0),COLORRED; STICKLINE((收>=开),中,(开-0.03),2,0),COLORRED; STICKLINE((收>=开),中,(开-0.03),1,0),COLORRED; STICKLINE((收<=开),收,(开+0.03),1,0),COLORCYAN; STICKLINE((收<=开),收,(开+0.03),0,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),8,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),7,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),6,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),5,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),4,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),3,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),2,0),COLORCYAN; STICKLINE((收<=开),中,(开+0.03),1,0),COLORCYAN; 趋势线:MA20,COLORWHITE;生命线:MA(收,13),COLORYELLOW;{IF(生命线<REF(生命线,1),生命线,1),COLORFF00FF;} DRAWICON(CROSS(趋势线,生命线),生命线*0.95,1); DRAWICON(CROSS(生命线,趋势线),趋势线*1.01,2);。

通达信黑马腾飞(主图指标)

通达信黑马腾飞(主图指标)

通达信黑马腾飞(主图指标)M1:=5;M2:=10;M3:=20;M4:=30;M5:=60;N:=80;N1:=14;M:=3;黄金柱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;财:=(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;。

通达信 公式 波段主图

通达信 公式  波段主图

通达信公式波段轨道主图{好不好自己看}(主图源码贴图)本主图并不成熟,是合成的,含未来函数XMA。

轨道源码取自胜龙软件,立体K线是千钧老师的,怀念千钧老师。

变色均线组来自理想论坛哪位童鞋的忘了,反正叫就这样做多,仍然保持原味。

趋势向上出色带及均线组同时多头向上出信号是我加进去的。

我也很抵制未来函数,不喜欢发含有真正未来的源码,但专有个别不懂的股友,成天就知道拿个未来函数测试软件,测试一下,冷冷的撂上一句:有未来函数,遗憾.把capital和winner都算做未来,真不知道他们是真懂还是假懂。

OK 不多扯了,翠花热一下酸菜,上源码:{波段轨道}{主图}AA:=MA((2*CLOSE+HIGH+LOW)/4,5);通道1:=AA*102/100;通道2:=AA*(200-102)/100;CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);DD:=DMA(CLOSE,CC);通道3:=(1+7/100)*DD;通道4:=(1-7/100)*DD;股价:=(H+L+C)/3;股价运动:=股价,LINETHICK2,COLORBLUE;趋势:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XM A(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA( XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(X MA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XM A(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股价,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3 ),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3), 3),3),LINETHICK1,COLORFFFFFF;风险区1:趋势*1.1,COLOR0000FF;风险区2:趋势*1.125,COLOR0000FF;风险区3:趋势*1.15,COLOR00FFFF,POINTDOT;良机区1:趋势*0.9,COLORLIBLUE;良机区2:趋势*0.875,COLORLIBLUE;良机区3:趋势*0.85,COLORFFFF00,POINTDOT;上一:IF(风险区1>REF(风险区1,1), 风险区1,DRAWNULL),COLORYELLOW;上二:IF(风险区2>REF(风险区2,1), 风险区2,DRAWNULL),COLORYELLOW;上三:IF(风险区3>REF(风险区3,1), 风险区3,DRAWNULL),COLORYELLOW;下一:IF(良机区1>REF(良机区1,1), 良机区1,DRAWNULL),COLORYELLOW;下二:IF(良机区2>REF(良机区2,1), 良机区2,DRAWNULL),COLORYELLOW;下三:IF(良机区3>REF(良机区3,1), 良机区3,DRAWNULL),COLORYELLOW;DRAWBAND(上三,RGB(0,0,255),上二,DRAWNULL);DRAWBAND(上二,RGB(255,255,0),上一,DRAWNULL);DRAWBAND(下一,RGB(80,00,00),下二,DRAWNULL);DRAWBAND(下二,RGB(255,255,255),下三,DRAWNULL);DRAWBAND(上一,RGB(128,128,64), 下一,DRAWNULL);{IF(趋势>REF(趋势,1), 趋势,DRAWNULL),COLORYELLOW,LINETHICK2}T:=CLOSE/REF(CLOSE,1)*1000-1000;QS2:=XMA(XMA(XMA(T,2),2),2);QS4:=XMA(XMA(XMA(T,4),4),4);QS6:=XMA(XMA(XMA(T,6),6),6);{DRAWICON(CROSS(QS2,QS4),L,1);DRAWICON(QS2<QS4 AND REF(QS2,1)>REF(QS4,1),H,2);}风险:=((C-趋势)/趋势*100>10 AND C>通道3) OR ((H-趋势)/趋势*100>10 AND H>通道3 ) OR ((O-趋势)/趋势*100>10 AND O>通道3);DRAWICON(风险AND FILTER(风险,3),H+0.01,6);良机:=((C-趋势)/趋势*100<-10 AND C<通道4) OR ((O-趋势)/趋势*100<-10 AND O<通道4 ) OR((L-趋势)/趋势*100<-10 AND L<通道4);QW1:=趋势>REF(趋势,1);DRAWICON(良机AND QW1 AND FILTER(良机,3),L*0.97,5);QW2:=O<良机区3;DRAWICON(QW2 AND FILTER(QW2,3),L*0.97,9);E1:EXPMA(C,7),COLORGREEN;E2:EXPMA(C,9),COLORGREEN;E3:EXPMA(C,12),COLORGREEN;E4:EXPMA(C,14),COLORGREEN;E5:EXPMA(C,17),COLORGREEN;E6:=EXPMA(C,50),COLORFF8800,LINETHICK2;就:IF(E1>REF(E1,1),E1,DRAWNULL), COLOR0080FF;这:IF(E2>REF(E2,1),E2,DRAWNULL), COLOR0080FF;样:IF(E3>REF(E3,1),E3,DRAWNULL), COLOR0080FF;做:IF(E4>REF(E4,1),E4,DRAWNULL), COLOR0080FF;多:IF(E5>REF(E5,1),E5,DRAWNULL), COLOR0080FF;DRAWKLINE(H,O,L,C);STICKLINE(C>=O,H,L,0,1),COLOR0000FF;STICKLINE(C>=O,C,O,2.8,0),COLOR0000BB;STICKLINE(C>=O,C,O,2,0),COLOR0000DD;STICKLINE(C>=O,C,O,1.2,0),COLOR0000EE;STICKLINE(C>=O,C,O,0.4,0),COLOR0000FF;STICKLINE(C<O,H,L,0,1),COLORFFFF00;STICKLINE(C<O,C,O,2.8,0),COLOR999900;STICKLINE(C<O,C,O,2,0),COLORBBBB00;STICKLINE(C<O,C,O,1.2,0),COLORDDDD00;STICKLINE(C<O,C,O,0.4,0),COLORFFFF00;STICKLINE(C<O,H,L,0,0),COLORFFFF00;A1:=(E1>REF(E1,1) AND E2>REF(E2,1) AND E3>REF(E3,1) AND E4>REF(E4,1) AND E5>REF(E5,1)) AND (REF(E1,1)<=REF(E1,2) OR REF(E2,1)<=REF(E2,2) OR REF(E3,1)<=REF(E3,2) OR REF(E4,1)<=REF(E4,2) OR REF(E5,1)<=REF(E5,2));A2:=风险区1>REF(风险区1,1) AND 风险区2>REF(风险区2,1) AND 风险区3>REF(风险区3,1) AND 良机区1>REF(良机区1,1) AND 良机区2>REF(良机区2,1) AND 良机区3>REF(良机区3,1);DRAWICON(A1 AND A2,L*0.99,25);。

通达信组合公式 抓牛黑马副图指标

通达信组合公式 抓牛黑马副图指标

DRAWGBK(O>C,RGB(48,41,124),RGB(0,0,0),0,'1',0);VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.3,0 ),COLOR000077; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.3,0 ),COLOR0000BB; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000DD; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;拉升:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.3,0),COLOR007700; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.3,0),COLOR00BB00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00DD00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;{黑马}A1:=EMA(C,12)-EMA(C,25);A2:=EMA(A1,6);获利回吐:=(A2>=0)*A2,COLORWHITE,LINETHICK1;大黑马:=(A2<0)*A2,COLORD4FF7F,LINETHICK1;坚绝做空:=(A1<0)*A1,COLORB00058,LINETHICK1;买入持股:=(A1>=0)*A1,COLORRED,LINETHICK1;STICKLINE(A2>=0,A2,0,3,0),COLORWHITE;STICKLINE(A2<0,A2,0,3,0),COLORD4FF7F;STICKLINE(A1<0,A1,0,3,0),COLORB00058;STICKLINE(A1>=0,A1,0,3,0),COLORRED;VAR8:=VOL>2*MA(VOL,30);VAR9:="DMI.ADX"(12,6);VARA:="DMI.ADXR"(12,6);VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE, 10),MA(CLOSE,5)));VARF:=TROUGHBARS(3,15,1)<4;VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);VAR11:=IF(VARF=1,50,0);多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30) *100,3),COLORWHITE;0,COLORRED;STICKLINE(FILTER(VARF=1,5) AND 多空<-10,80,0,3,0),COLORF00FF0;STICKLINE(FILTER(VARF=1,5),60,0,3,0),COLORYELLOW;{DRAWTEXT(FILTER(VARF=1,3),25,'黑马'),COLORRED ;{STICKLINE(多空<-10,0,多空,0.85,0),COLORYELLOW;STICKLINE(多空>10,0,多空,0.95,0),COLORRED;};周J1:MA("KDJ.J#WEEK"(9,3,3) ,5),COLORGREEN,LINETHICK2;20,COLORMAGENTA,LINETHICK1;80,COLORGREEN;DRAWICON(CROSS(周J1,20),20,1);DRAWTEXT(CROSS(周J1,20),15,'++抄'),COLORRED;DRAWTEXT(CROSS(周J1,80),70,'=追'),COLORYELLOW;{STICKLINE(周J1<0,周J1,0,5,0),COLORLIRED;STICKLINE(CROSS(周J1,0),0,-50,3,0),COLORMAGENTA;DRAWTEXT(CROSS(周J1,0),-35,'———底部'),COLORMAGENTA;}{抓牛黑马VAR1000:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*S MA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR2000:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;VAR3000:=SMA(SMA(VAR2000,3,1),3,1);VAR4000:=EMA(VAR3000,5);VAR5000:=LLV(LOW,26);VAR6000:=HHV(HIGH,34);VAR7000:=EMA((CLOSE-VAR5000)/(VAR6000-VAR5000)*4,4)*25;{撞坷状?=IF(CROSS(VAR4000,10) ANDVAR4000>10,50,0),STICK,COLORYELLOW,LINETHICK3;0,STICK,COLOR000000,LINETHI CK3;建仓区: IF((VAR7000<10),20,0), LINETHICK2,COLOR00CCFF ;派发区: IF((VAR7000>90),80,100), LINETHICK2 ,COLORF00FF0;};N1:=9;N2:=5;MTM:=C-REF(C,1);主力轨迹:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE; MAZL:MA(主力轨迹,N2),COLORYELLOW;VAR1X:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2X:=SMA(ABS(LOW-VAR1X),13,1)/SMA(MAX(LOW-VAR1X,0),10,1);VAR3X:=EMA(VAR2X,10);VAR4X:=LLV(LOW,33);VAR5X:=EMA(IF(LOW<=VAR4X,VAR3X,0),3);主力进场X:IF(VAR5X>REF(VAR5X,1),VAR5X,0),COLORRED,NODRAW;STICKLINE(VAR5X>REF(VAR5X,1),0,VAR5X,3,0 ),COLOR000055;STICKLINE(VAR5X>REF(VAR5X,1),0,VAR5X,2.3,0 ),COLOR000077;STICKLINE(VAR5X>REF(VAR5X,1),0,VAR5X,2.1,0 ),COLOR000099;STICKLINE(VAR5X>REF(VAR5X,1),0,VAR5X,1.3,0 ),COLOR0000BB;STICKLINE(VAR5X>REF(VAR5X,1),0,VAR5X,0.3,0 ),COLOR0000DD;STICKLINE(VAR5X>REF(VAR5X,1),0,VAR5X,0.3,0 ),COLOR0000FF;洗盘:IF(VAR5X<REF(VAR5X,1),VAR5X,0),COLOR000079,NODRAW;STICKLINE(VAR5X<REF(VAR5X,1),0,VAR5X,3,0),COLOR000079;STICKLINE(VAR5X<REF(VAR5X,1),0,VAR5X,2.3,0),COLOR000093;STICKLINE(VAR5X<REF(VAR5X,1),0,VAR5X,2.1,0),COLOR0000C6;STICKLINE(VAR5X<REF(VAR5X,1),0,VAR5X,1.3,0),COLOR4A4AFF;STICKLINE(VAR5X<REF(VAR5X,1),0,VAR5X,0.3,0),COLOR7D7DFF;STICKLINE(VAR5X<REF(VAR5X,1),0,VAR5X,0.3,0),COLORAAAAFF;VAR21:=SMA(ABS(HIGH-VAR1X),13,1)/SMA(MIN(HIGH-VAR1X,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);主力拉高:IF(VAR51<REF(VAR51,1),VAR51,0),COLORYELLOW,NODRAW; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),COLOR005555; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.3,0),COLOR007777; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.1,0),COLOR009999; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,1.3,0),COLOR11BBBB; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLOR33DDDD; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLOR55FFFF;出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0),COLOR555555; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.3,0),COLOR777777; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0),COLOR999999; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.3,0),COLORBBBBBB; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0),COLORDDDDDD; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0),COLORFFFFFF;。

通达信指标——黑马通道(主图)

通达信指标——黑马通道(主图)

STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR000055; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000088; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR0000AA; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000FF; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000EE;STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLOR666600;STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555500; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR888800; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORAAAA00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORCCCC00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOREEEE00; STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555555; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;SS1:=1121010;SS3:=DATEAAA1:=(C-REF(C,1))/REF(C,1)>=0.058 AND (C-REF(C,1))/REF(C,1)<0.095 AND SS3; AA2:=(C-REF(C,1))/REF(C,1)>=0.098 AND SS3;STICKLINE(AAA1,O,C,0,1 ),COLOR9B37FF;STICKLINE(AAA1,OPEN,CLOSE,3,0 ),COLOR6300C6;STICKLINE(AAA1,OPEN,CLOSE,2.7,0 ),COLOR6D00DB;STICKLINE(AAA1,OPEN,CLOSE,2.1,0 ),COLOR7800F0;STICKLINE(AAA1,OPEN,CLOSE,1.5,0 ),COLOR8000FF;STICKLINE(AAA1,OPEN,CLOSE,0.9,0 ),COLOR8F20FF;STICKLINE(AAA1,OPEN,CLOSE,0.3,0 ),COLOR9B37FF;{DRAWTEXT(AAA1,L*0.96,'大阳'),COLOR9B37FF;}STICKLINE(AA2,C,O,3,0 ),COLOR00AAFF;STICKLINE(AA2,C,O,2.1,0 ),COLOR00BBFF;STICKLINE(AA2,C,O,1.5,0 ),COLOR00CCFF;STICKLINE(AA2,C,O,1,0 ),COLOR00DDFF;STICKLINE(AA2,C,O,0.6,0 ),COLOR00EEFF;STICKLINE(AA2,C,O,0.2,0 ),COLOR00FFFF;{DRAWTEXT(AA2,L*0.98,'涨停'),COLOR00DDDD;DRAWICON( AA2,L*0.98,1);}AA1:="AQWE.AQWE#DAY";BB1:="SQWE.SQWE#DAY";V AR1:=(C+H+O+L)/4;SJXZ:=IF(DATE<1931128,1,0);DRAWTEXT_FIX(1=1,0.7,0,0,''),COLORWHITE;通道上轨:AA1*SJXZ,COLORYELLOW,LINETHICK2;通道下轨:BB1*SJXZ,COLORRED,LINETHICK2;风险:=100*(L-BB1)/BB1,NODRAW;幅度:=100*(AA1-BB1)/BB1,NODRAW;STICKLINE(AA1>LOW AND AA1STICKLINE(AA1>LOW AND AA1STICKLINE(AA1STICKLINE(AA1STICKLINE(AA1STICKLINE(BB1>LOW AND BB1STICKLINE(BB1>MIN(C,O) AND BB1STICKLINE(BB1>HIGH,OPEN,CLOSE,3,0),COLORRED;STICKLINE(BB1>HIGH,HIGH,LOW,0,0),COLORRED;{V AR2:=LLV(LOW,10);V AR3:=HHV(HIGH,25);动能趋势线:=100*EMA((CLOSE-V AR2)/(V AR3-V AR2),4);DRAWTEXT(CROSS(动能趋势线,70)AND C>通道上轨,HIGH*1.02,'←卖出'),COLORYELLOW;}{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;X:=LLV(J,2)=LLV(J,8);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND C<通道下轨,LOW,'↖买入'),COLORRED;}DRAWTEXT_FIX(1=1,0.7,0.05,0,''),COLORRED;DRAWTEXT_FIX(1=1,0.7,0.1,0,''),COLORWHITE;【【【【【【【【【【【【【【【【【【【【【【【【【【【【【【{AQWE}{黑马通道引用}V AR1:=(C+H+O+L)/4;AQWE:XMA(V AR1,20)*(1+80/1000); STICKLINE(C>0,0,10,15,0),COLOR781816;【【【【【【【【【【【【【【【【【【【【【【【【【【【【【【【{SQWE}{黑马通道引用}V AR1:=(C+H+O+L)/4;SQWE:XMA(VAR1,32)*(1-100/1000); STICKLINE(C>0,0,10,15,0),COLOR781816;。

通达信主图指标黑马(附源码)

通达信主图指标黑马(附源码)

通达信主图指标黑马(附源码){获利盘:WINNER(CLOSE)*100,NODRAW;DRAWBAND(MA(CLOSE,20),RGB(33,0,0),MA(CLOSE,60),RGB(0,0,0));DRAWBAND(MA(CLOSE,5),RGB(150,150,0),MA(CLOSE,10),RGB(0,0,150));DRAWKLINE(H,O,L,C);}上:=(SMA(HIGH,21,2) * 1.05);DRAWTEXT(FILTER(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)),5),HIGH*1.02,'减仓'),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;CB:=((AMOUNT / VOL) / 100);CD:=((CB > HIGH) OR (CB < LOW));黑马趋势:=MA(CLOSE,3);MA8:MA(CLOSE,8),COLORWHITE;MA13:MA(CLOSE,13),COLORRED;BB8:=((ATAN((MA8 - REF(MA8,1))) * 3.1416) * 10);DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((MA8 - REF(MA8,1)) > 0)) AND (CLOSE < 上)),3),LOW*0.98,'追击'),COLORD1E768; VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);支撑:=EMA(VARD,5);短期底部0:=LLV(OPEN,30);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((((((均线- REF(均线,1)) > 0) AND CROSS(均线20,均线120)) AND (LOW <= 均线120)) AND (CLOSE >= 均线120)),LOW,'三线开花'),COLORFFFFFF;短期底部:LLV(HIGH,30),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 > 短期底部)) 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*1.02,'减仓'),COLOR00FF00;DRAWTEXT(FILTER(((HIGH > 阻挡) AND (CLOSE < 阻挡)),5),HIGH*1.02,'逃命');DRAWTEXT(((VE > VG) AND (HIGH < 阻挡)),LOW*0.96,'★短线'),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 ((MA8 -REF(MA8,1)) > 0)) AND ((阻挡-REF(阻挡,2)) > 0)),11),LOW*0.98,'★快马加鞭'),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.98,'★狂奔'),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.98),'★黑马起步'),COLOR00FF00;DRAWTEXT((逃遁> 0),(HIGH * 1.03),'●逃命'),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.98),'★黑马初现'),COLOR8500DE;DRAWTEXT(FILTER((((((((LOW <= 短期底部0) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 牛熊线)) AND (HIGH < 阻挡)) AND ((X2 -REF(X2,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH >= X3)),5),LOW*0.98,'筑底'),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 <= 短期底部0)) AND (CLOSE > 短期底部0)),8),LOW*0.99,'黑马寻底'),COLORE7DD1F;DRAWTEXT(FILTER((((((((LOW <= 短期底部0) AND (WINNER(CLOSE) < 0.015)) AND ((OPEN / CLOSE) > 0.99)) AND ((J -REF(J,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH < 支撑位)) AND (CLOSE > 短期底部0)),25),LOW*0.98,'开始建仓'),COLOR00FFFF;DRAWTEXT(FILTER((((((((LOW <= 均线30) AND ((MA8 - REF(MA8,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 (BB8 > 1)) AND ((CLOSE / OPEN) > 1.04)),LOW,'★天马过桥'),COLORCC99FF;VAR001:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(VAR001,13)-EMA(VAR001,73);SD:= EMA(SK,2);DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,LOW,'黑马短线'),COLORGREEN;。

波段启动抓黑马(主图指标)

波段启动抓黑马(主图指标)

波段启动抓黑马(主图指标)利用该主图指标加上之前发布的精准底部副图指标选股更自信、、、n=9 m1=3 m2=3{N:1,100,5}SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100> 100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);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);趋势:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;STICKLINE(CLOSE>REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000077;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000099;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR0000AA;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;STICKLINE(CLOSE=REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR777777;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORAAAAAA;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;STICKLINE(CLOSE<REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;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),COLOR00FF00;支撑:MA(REF(LLV(C,30),1),2),COLOR0000FF;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),'底背'),COLORFF00FF;}STICKLINE(CROSS(FF,MA15),O,C,0.3,0),COLOR00FFFF;{DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背'),COLOR00FF00;}STICKLINE(CROSS(88,RSI),O,C,0.3,0),COLOR113311;VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CL OSE-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,'B'),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) AND CROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(买=1,5),LOW-0.03,'拉'),COLOR0000FF;GET:ZIG(3,N),COLORYELLOW;PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) ANDREF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);DRAWTEXT(EN1 AND DTJZ5=1,L*0.95,'(A)'),COLORFFFF00;DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'(B)'),COLORFF00FF;DRAWTEXT(EN2 AND ZTJZ5=1,L*0.95,'(C)'),COLOR0000FF;DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;DRAWTEXT(EN2 AND DTJZ10=1,L*0.93,'Ⅰ'),COLORFF00FF;DRAWTEXT(EX2 AND DTJD10=2,H*1.01,'Ⅱ'),COLORFFFF00;DRAWTEXT(EN3 AND ZTJZ10=1,L*0.93,'Ⅲ'),COLOR0000FF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),LINETHICK3,COLOR00FF FF;DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'②'),LINETHICK3,COLOR00FFFF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.06,'③'),LINETHICK3,COLOR00FFFF;DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),LINETHICK3,COLOR00FFFF;。

通达信指标公式源码一个波段主升主图

通达信指标公式源码一个波段主升主图

(有未来函数,使用需谨慎)AAF:=LLV(LOW,34);BBF:=MA(AAF,4);TYP := (HIGH + LOW + CLOSE)/3;CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));差值1:=ABS(REF(CCI1,1)-CCI1);CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));差值2:=ABS(REF(CCI2,1)-CCI2);CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));差值3:=ABS(REF(CCI3,1)-CCI3);CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));差值4:=ABS(REF(CCI4,1)-CCI4);CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));差值5:=ABS(REF(CCI5,1)-CCI5);CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;短线:=VAR1;中线:=VAR6;{FILLRGN(短线,中线,短线>中线, RGB(255,255,50),短线<中线, RGB(0,0,220));} 下跌:=IF(VAR1=VAR6,VAR6, VAR1);{PARTLINE(下跌,VAR1=VAR6),COLORGREEN;}TJ1:=CCI1>差值4;立桩量:=FILTER(TJ1,0);TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);成立1:=TJ2=1;条件成立1:=FILTER(成立1,5);TJ11:= CCI1<-差值4 ;立桩量2:=FILTER(TJ11,0);TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量2)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量2)=3 AND CLOSE>REF(HIGH,3),1,0)));TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);成立2:=TJ=1;条件成立2:=FILTER(成立2,5);TJ111:=(ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5))OR (VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1);立桩量3:=FILTER(TJ111,5);TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));成立:=TJ3=1;条件成立:=FILTER(成立,5);DRAWICON(条件成立AND 下跌= VAR6{ AND BB13>0},L*0.97,2);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);DRAWICON(CROSS(FF,MA15),LOW*0.97,1);DRAWTEXT(CROSS(88,RSI),(HIGH * 1.01),'R背'),COLOR00FF00;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,'∠'),COLORWHITE;超买:MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2; 超卖:MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORRED,LINETHICK2; 上:=EMA(C,3);中:=EMA(C,5);下:=EMA(中,5);QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;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);MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,5);MA13:=MA(CLOSE,13);VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) ORREF(C,1)>=REF(C,3))OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);{收盘价=4日内收盘价的最高值AND 昨收>=2日前的收盘价}VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值AND 昨收=4日内收盘价的最低值}VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) ORREF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);{收盘价=4日内收盘价的最低值AND (昨收<2日前的收盘价}VAR04:=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);{昨收=4日内收盘价的最低值AND 收盘价>=2日前的收盘价}VAR05:=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);{昨收=4日内收盘价的最高值AND 收盘价<2日前的收盘价}VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);{今日V5向上形成拐点}VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6); VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND CROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) ANDCROSS(MA(VAR09,2),VAR09))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR4;买3:=(VAR14 OR VAR15) AND VAR2;买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);买5:=(金叉AND VAR04) OR (金叉AND VAR02) OR (金叉AND VAR11); {涨停}STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 ANDCLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;{跌停}STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 ANDCLOSE=LOW,CLOSE,OPEN,4,-1),COLORGREEN;{蓝}STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.3,0),COLORFF6600; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),COLORFF8800; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.3,0),COLORFFAA00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.6,0),COLORFFCC00;{红}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLOR000099; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),COLOR0000BB; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.3,0),COLOR0000DD; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLOR0000FF;{绿}STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR009900; STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,2.4,0),COLOR00BB00; STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,1.3,0),COLOR00DD00; STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;{灰}STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR999999; STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,1.3,0),COLORDDDDDD; STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF; STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000066;DRAWICON(VAR16,LOW-0.02,6);DRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM,LOW-0.05,6); DRAWICON(死叉OR CROSS(50,VAR09) AND QQ AND K>50,HIGH+0.01,2); TTJ:=CROSS(FF,MA15);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG:=XG0 OR XG1;DRAWTEXT(XG,LOW*0.93,'全'),COLORRED;DRAWTEXT(XG,LOW*0.93-0.3,'仓'),COLORRED;GET:ZIG(3,3),COLORYELLOW;PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'(A)'),COLORFFFF00;DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'(B)'),COLORFF00FF;DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'(C)'),COLOR0000FF;DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;DRAWTEXT(EN2 AND DTJZ10=1,L*0.93,'Ⅰ'),COLORFF00FF; DRAWTEXT(EX2 AND DTJD10=2,H*1.05,'Ⅱ'),COLORFFFF00; DRAWTEXT(EN3 AND ZTJZ10=1,L*0.93,'Ⅲ'),COLOR0000FF; DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.03,'①'),LINETHICK3,COLOR00FFFF;DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.95,'②'),LINETHICK3,COLOR00FFFF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2)AND EX2,H*1.03,'③'),LINETHICK3,COLOR00FFFF;DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.95,'④'),LINETHICK3,COLOR00FFFF;{黄金买点}ZZ:=(O+H+L)/3;HJMD:EMA(ZZ,4),COLORYELLOW,LINETHICK1;XXB:=CLOSE*VOL;XXBYM:EMA((EMA(XXB,3)/EMA(VOL,3)+EMA(XXB,6)/EMA(VOL,6)+EMA(XXB,1 2)/EMA(VOL,12)+EMA(XXB,24)/EMA(VOL,24))/4,13),COLORFF00FF,LINETHIC K0;{爱心:=EMA(CLOSE,13)-EMA(CLOSE,55);无价:=EMA(爱心,3);PARTLINE(XXBYM,爱心>=无价,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK2; DRAWTEXTREL(700,120,'今日买点:'+NUMTOSTRN(HJMD,2 )),LINETHICK2,COLORYELLOW; };。

通达信指标——黑马绝技四线粘合指标公式

通达信指标——黑马绝技四线粘合指标公式

通达信指标——黑马绝技四线粘合指标公式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,'终');当然,炒股仅靠一个指标是肯定不行的,毕竟一个指标就算在厉害,也是有限的,可以结合多个指标,那样操作起来才会更轻松,本人还有一套自己独创的放心买选股系统。

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

上线:=SMA(C,6.5,1);下线:=SMA(C,13.5,1);上线1:=SMA(C,3,1);下线1:=SMA(C,8,1);STICKLINE(上线>下线,上线,下线,2,2),COLORRED,LINETHICK2;STICKLINE(下线>上线,上线,下线,2,2),COLORGREEN,LINETHICK2;DRAWTEXT(CROSS(上线,下线),LOW,'●全仓买'),COLOR00FF00;DRAWTEXT(CROSS(下线1,上线1),H,'◆清仓'),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) , HIGH,'◆减仓') ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;V AR1:LLV(A7,21);V AR0:HHV(A7,21);SK:=EMA((A7-V AR1)/(V AR0-V AR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'●买进') ,COLOR0099FF;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW*0.98,'●买进') ,COLORYELLOW;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'●抄底'),COLORYELLOW;V AR12:=((VOL / CAPITAL) * 100);V AR15:=HHVBARS(HIGH,50);V AR17:=(((CLOSE - REF(OPEN,V AR15)) / REF(OPEN,V AR15)) * 100);V AR22:=(REF(CLOSE,2) * 0.865);V AR23:=(REF(CLOSE,13) * 0.772);V AR24:=MIN(V AR22,V AR23);超跌反弹:=(IF((((((CLOSE - V AR24) / CLOSE) < 0.03) AND (V AR17 < (0 - 35))) AND ((SUM(V AR12,5) / 5) < 1.8)),1,0) * 5);DRAWTEXT(超跌反弹,L,'♂'),COLORRED;V AR2:=C<0.98*REF(C,1);V AR3:=O<REF(C,1);V AR4:=(C-REF(C,1))/REF(C,1)*100;V AR5:=(C-REF(O,29))/REF(O,29)*100;V AR6:=MA(COST(22)/L,3);成功率99:=V AR6>1.5 AND V AR4>5 AND V AR5<-30;DRAWTEXT(成功率99>0 AND REF(成功率99,1)=0,L,'↑99%'),COLORRED;仓:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);仓1:=INDEXC;仓2:=MA(仓1,5);仓3:=MA(仓1,20);仓4:=MA(仓1,30);B2:=仓2>仓1*1.03 AND 仓3>仓1*1.13;操盘手:=仓<6 AND B2;DRAWTEXT(操盘手,L,'仓'),COLORRED;底1:=IF((((((EMA(CLOSE,5) / EMA(EMA(CLOSE,9),16)) <= 0.85) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),50,0);底2:=((0 - ((100 * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34)))) + 100);底3:=((0 - ((100 * (HHV(HIGH,50) - CLOSE)) / (HHV(HIGH,50) - LLV(LOW,50)))) + 100); 底:=((0 - ((100 * (HHV(HIGH,70) - CLOSE)) / (HHV(HIGH,70) - LLV(LOW,70)))) + 100);底4:=(((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100) + 10) * 5);底5:=(((((CLOSE - MA(CLOSE,50)) / MA(CLOSE,50)) * 100) + 10) * 5);底6:=(((((CLOSE - MA(CLOSE,70)) / MA(CLOSE,70)) * 100) + 10) * 5);S1:=((((((底2 + 底3) + 底) + 底4) + 底5) + 底6) / 6);S2:=EMA(S1,3);S3:=ABS((底4 - 底6));S4:=((S1 + S3) / 2);S5:=(((0 - 1) * (EMA((100 * (1 - WINNER(CLOSE))),1) - 50)) + 50);S6:=(S5 + S4);S7:=IF(((底1 > 0) AND (S6 < 0)),200,0);S8:=IF((((((S4 < 0) AND (CLOSE = LLV(CLOSE,5))) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),(0 - 50),0);S9:=IF(((S6 < 0) AND (S8 = (0 - 50))),100,0);底C0:=(REF(CLOSE,2) * 0.865);底C1:=(REF(CLOSE,13) * 0.772);底C2:=MIN(底C0,底C1);底C3:=((100 * VOL) / CAPITAL);底C4:=IF(((((CLOSE - 底C2) / CLOSE) < (3 / 100)) AND ((SUM(底C3,5) / 5) < 1.8)),1,0);底AA:=IF(((底C4 > 0) AND ((S8 < 0) OR (底1 > 0))),100,0);V1:=(((((S7 > 0) AND (S9 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR (底C4 > 0)) AND ((S8 < 0) OR (底1 > 0)));V2:=((((S7 > 0) AND (S9 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR ((底C4 > 0) AND ((REF(CLOSE,1) / REF(CLOSE,2)) > 0.902)));V3:=(V1 OR V2);V4:=(底AA OR V3);V5:=底AA;G:=(MA(CLOSE,80) - (MA(CLOSE,10) / 3));Z:=IF((V4 > 0),87,0);Z1:=IF((V5 > 0),91,0);Z2:=IF(((底AA > 0) AND (CLOSE < G)),97,0);Z3:=MAX(MAX(Z2,Z),Z1);DRAWTEXT(FILTER(((((Z > 80) AND (Z1 > 90)) AND (Z2 > 90)) AND (Z3 > 90)),13),L,'↑底95%'),COLORRED;。

相关文档
最新文档