您当前的位置:股票 > 财经资讯 > 财经频道

顶底DMI(通达信),五线组合拳(通达信)

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

顶底DMI(通达信),五线组合拳(通达信)

顶底DMI(通达信)

TR:=ema(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);

HD :=HIGH-REF(HIGH,1);

LD :=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),7);

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),7);

pdi: DMP*100/TR;

mdi: DMM*100/TR;

ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,7);

ADXR:EMA(ADX,7);

抄底1:COUNT(PDI50,1) AND REF(ADX,1)>=REF(ADX,2) AND

ADX

逃顶1:=COUNT(PDI>MDI,3)=3 AND REF(ADX>50,1) AND REF(ADX,1)>=REF(ADX,2) AND

ADX

五十:50;

三十:30;

二十:20;

DRAWTEXT(抄底1,PDI,'抄底');

DRAWTEXT(逃顶1,ADX,'逃顶');

用法: 1、PDI由下往上交叉NDI,为买进讯号。

2、PDI由上往下交叉NDI,为卖出讯号。

3、ADX脱离20~30之间往上爬升时,不论当时的价格正往上涨或者往下跌都可以认定,将产生一段有相当幅度的上涨(下跌)行情。

4、ADX位于PDI的下方,特别在20以下时,代表股价已经陷入泥沼,处于沉闷的整理期,此时,应退出市场观望。*注意!投资人身处股林中,不好战、恋战、久战,只能在趋势明显的行情里加入战局,一旦战况混沌不清时,应该毫不犹豫的退出市场,避免造成坐困愁城的窘境。

5、ADX一旦高于50以上,忽然转弯向下反折,此时,不论股价正在上涨或者下跌,都代表行情即将反转。

6、当PDI相交之后,ADX会随后交叉ADXR,代表一种特殊的意义?如果你错过了PDI交叉讯号,别急!这个讯号提供你最后一次下手的机会。

五线组合拳(通达信)

VARA:=(ma(C,13)+MA(C,17))/2;

VARB:=(stD(C,13)+STD(C,17))/2;

VARC:=IF((C>REF(C,1)),88,0);

VARD:=VARA+0.72*VARB;

VARF:=IF(((C)/(REF(C,1))>1.05) AND H/C<1.01 AND VARC>0,91,0);

VARE:=IF(VARB>1.88 ,MA(VARD,3),VARD);

VARG:=ema(EMA(C,9),9);

CON:=(VARG-REF(VARG,1))/REF(VARG,1)*1000;

HCON:=100*WINNER(C*0.95);

VAR1:=EMA(EMA(EMA(C,5),5),5);

VAR2:=VAR1-REF(VAR1,1)+VAR1;

VAR3:=crOSS(VAR2,MA(VAR2,26));

VAR4:=CROSS(MA(C,13),MA(C,21));

VAR5:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

VAR6:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);

VAR7:=IF(VAR6<=10,30,0);

VARJ:=SMA(VAR5,3,1);

VARK:=SMA(VARJ,3,1);

VARL:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3);

VARM:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(Abs(C-REF(C,1)),6,1)*100;

VAR8:=(VARL>20 AND VARL<80);

VAR9:=((VARL-REF(VARL,1))>3 AND VAR8);

VAR10:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*100,5);

VAR11:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*50,13);

止赢:VARE*1.1,COLORRED,LINETHICK2;

压力:VARE*1.05,COLORBLUE,LINETHICK2;

支撑:VARE*0.95,COLOR18FF18,LINETHICK2;

反转:VARE*0.9,COLORYELLOW,LINETHICK2;

平衡:VARE,COLORFFFFFF,LINETHICK3;

DRAWTEXT(ISLASTBAR,止赢,'止赢'),COLORRED;

DRAWTEXT(ISLASTBAR,压力,'压力'),COLORBLUE;

DRAWTEXT(ISLASTBAR,支撑,'支撑'),COLOR18FF18;

DRAWTEXT(ISLASTBAR,反转,'反转'),COLOR18CCFF;

DRAWTEXT(ISLASTBAR,平衡,'平衡'),COLORFFFFFF;

DRAWTEXT(FILTER((VARF>90),34),LOW*0.965,'◆'),COLORRED;

STICKLINE(HCON>50 AND COST(85)0,O,C,1.8,0),COLORFF00FF;

DRAWTEXT(VAR3 AND VAR4,L*0.95,'圆底'),COLORYELLOW;

STICKLINE(CROSS(VARJ,VARK) AND CROSS(macd.dif, MacD.DEA),C,O,1,0),COLORYELLOW;

DRAWTEXT(VAR7

DRAWTEXT(FILTER(VAR9,5),L*0.97,'加'),COLORFF00FF;

DRAWICON(CROSS(76,VARM),H,6);

重心:AMOUNT/vol/100,POINTDOT,LINETHICK5,COLORYELLOW;

布林极限:BB,COLORFF00FF,NODRAW;

rsi1:RSI.RSI1,COLORRED,NODRAW;

kdjJ:kdJ.J,COLORWHITE,NODRAW;

STICKLINE(CROSS(VAR10, VAR11),O,C,1.6,1),COLORRED;

STICKLINE(CROSS(VAR10, VAR11),O,C,1,1),COLORRED;

DRAWTEXT(FILTER(CROSS(C,反转) OR CROSS(C,支撑) OR CROSS(C,平衡) OR CROSS(C,压力),3),L*0.995,'买'),COLORRED;

DRAWTEXT(FILTER(CROSS(反转,C) OR CROSS(支撑,C) OR CROSS(平衡,C) OR CROSS(压力,C),3),H*1.02,'卖'),COLORGREEN;

AA1:=MA(C,5);

BB1:=MA(C,15);

AF:=CROSS(AA1,BB1);

STICKLINE(AF,LLV(L,4),LLV(L,4),50,1),COLORRED,LINETHICK3;

DRAWTEXT(AF,LLV(L,4),'止损线'),COLORYELLOW;

E1:=BARSCOUNT(C);

AH:=HHV(H,200);

AL:=LLV(L,200);

B0:=(AH-AL)/40;

KB1:=H+B0;

KB2:=L-B0;

STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3;

DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,'时窗'),COLORYELLOW;

MA18:=MA(CLOSE,18);

mtm:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));

DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;

加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);

DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;

卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);

DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1:=L

EE1:=V

FF1:=BB1 AND CC1 AND DD1 AND EE1;

DRAWTEXT(FF1,LOW*0.99,'老鼠仓'),COLOR4080FF;

XXS:=MA(LOW,5)*(1-5/100);

XXS1:=MA(HIGH,5)*(1+5/100);

均线:=C,COLORGREEN;

AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ;

DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED;

BBAA:=CROSS(XXS1,C);

DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;

DDDD:=CROSS(C,XXS1);

DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;

AAA:=MA(LOW,5)*(1-5/100);

BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;

DRAWTEXT(CROSS(BBB,L) AND BBB>REF(BBB,1),L*0.98,'←斋主回马枪'),COLORWHITE;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

DRAWTEXT(REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA),L*0.97,'★←老李夺命抢'),COLORMAGENTA;

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;

HR:=HHV(HIGH,55);

HRY:=LLV(LOW,55);

HRY11:=HR*HRY;

HRY33:SQRT(HRY11),COLORGREEN,LINETHICK2;

IF(C>HRY33 AND HRY33 >=REF(HRY33 ,1), HRY33 ,DRAWNULL),LINETHICK2,COLORRED;

BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;

EMA3:=EMA(C,3);

DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),

LOW*0.99,'★∠45'),COLORFFFFFF;

TT:=FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10);

VAR27:=REF(CLOSE,1);

VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;

DRAWICON((IF(CROSS(76,VAR28),1,0)) OR CROSS(70,RSI),H*1.01,2);

DRAWICON((IF(CROSS(VAR28,21),1,0)),L*0.97,1);

DRAWTEXT((IF(CROSS(76,VAR28),1,0)) OR CROSS(84,RSI),H*1.03,'快跑') ,COLORYELLOW;

股价:MA(C,3),COLORGREEN,LINETHICK2;

B:=股价

短线:IF(B-1,股价,DRAWNULL)COLORMAGENTA,LINETHICK2;

VAR4A:=EMA(CLOSE,3);

DRAWICON(COUNT(REF(VAR4A,1)REF(VAR4A,1),L*0.98,4);

DRAWTEXT(COUNT(REF(VAR4A,1)REF(VAR4A,1),L*0.96,'出拳');

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:顶底DMI(通达信),五线组合拳(通达信)
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

顶底DMI(通达信),五线组合拳(通达信)

admin888

|

顶底DMI(通达信),五线组合拳(通达信)

顶底DMI(通达信)

TR:=ema(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);

HD :=HIGH-REF(HIGH,1);

LD :=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),7);

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),7);

pdi: DMP*100/TR;

mdi: DMM*100/TR;

ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,7);

ADXR:EMA(ADX,7);

抄底1:COUNT(PDI50,1) AND REF(ADX,1)>=REF(ADX,2) AND

ADX

逃顶1:=COUNT(PDI>MDI,3)=3 AND REF(ADX>50,1) AND REF(ADX,1)>=REF(ADX,2) AND

ADX

五十:50;

三十:30;

二十:20;

DRAWTEXT(抄底1,PDI,'抄底');

DRAWTEXT(逃顶1,ADX,'逃顶');

用法: 1、PDI由下往上交叉NDI,为买进讯号。

2、PDI由上往下交叉NDI,为卖出讯号。

3、ADX脱离20~30之间往上爬升时,不论当时的价格正往上涨或者往下跌都可以认定,将产生一段有相当幅度的上涨(下跌)行情。

4、ADX位于PDI的下方,特别在20以下时,代表股价已经陷入泥沼,处于沉闷的整理期,此时,应退出市场观望。*注意!投资人身处股林中,不好战、恋战、久战,只能在趋势明显的行情里加入战局,一旦战况混沌不清时,应该毫不犹豫的退出市场,避免造成坐困愁城的窘境。

5、ADX一旦高于50以上,忽然转弯向下反折,此时,不论股价正在上涨或者下跌,都代表行情即将反转。

6、当PDI相交之后,ADX会随后交叉ADXR,代表一种特殊的意义?如果你错过了PDI交叉讯号,别急!这个讯号提供你最后一次下手的机会。

五线组合拳(通达信)

VARA:=(ma(C,13)+MA(C,17))/2;

VARB:=(stD(C,13)+STD(C,17))/2;

VARC:=IF((C>REF(C,1)),88,0);

VARD:=VARA+0.72*VARB;

VARF:=IF(((C)/(REF(C,1))>1.05) AND H/C<1.01 AND VARC>0,91,0);

VARE:=IF(VARB>1.88 ,MA(VARD,3),VARD);

VARG:=ema(EMA(C,9),9);

CON:=(VARG-REF(VARG,1))/REF(VARG,1)*1000;

HCON:=100*WINNER(C*0.95);

VAR1:=EMA(EMA(EMA(C,5),5),5);

VAR2:=VAR1-REF(VAR1,1)+VAR1;

VAR3:=crOSS(VAR2,MA(VAR2,26));

VAR4:=CROSS(MA(C,13),MA(C,21));

VAR5:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

VAR6:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);

VAR7:=IF(VAR6<=10,30,0);

VARJ:=SMA(VAR5,3,1);

VARK:=SMA(VARJ,3,1);

VARL:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3);

VARM:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(Abs(C-REF(C,1)),6,1)*100;

VAR8:=(VARL>20 AND VARL<80);

VAR9:=((VARL-REF(VARL,1))>3 AND VAR8);

VAR10:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*100,5);

VAR11:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*50,13);

止赢:VARE*1.1,COLORRED,LINETHICK2;

压力:VARE*1.05,COLORBLUE,LINETHICK2;

支撑:VARE*0.95,COLOR18FF18,LINETHICK2;

反转:VARE*0.9,COLORYELLOW,LINETHICK2;

平衡:VARE,COLORFFFFFF,LINETHICK3;

DRAWTEXT(ISLASTBAR,止赢,'止赢'),COLORRED;

DRAWTEXT(ISLASTBAR,压力,'压力'),COLORBLUE;

DRAWTEXT(ISLASTBAR,支撑,'支撑'),COLOR18FF18;

DRAWTEXT(ISLASTBAR,反转,'反转'),COLOR18CCFF;

DRAWTEXT(ISLASTBAR,平衡,'平衡'),COLORFFFFFF;

DRAWTEXT(FILTER((VARF>90),34),LOW*0.965,'◆'),COLORRED;

STICKLINE(HCON>50 AND COST(85)0,O,C,1.8,0),COLORFF00FF;

DRAWTEXT(VAR3 AND VAR4,L*0.95,'圆底'),COLORYELLOW;

STICKLINE(CROSS(VARJ,VARK) AND CROSS(macd.dif, MacD.DEA),C,O,1,0),COLORYELLOW;

DRAWTEXT(VAR7

DRAWTEXT(FILTER(VAR9,5),L*0.97,'加'),COLORFF00FF;

DRAWICON(CROSS(76,VARM),H,6);

重心:AMOUNT/vol/100,POINTDOT,LINETHICK5,COLORYELLOW;

布林极限:BB,COLORFF00FF,NODRAW;

rsi1:RSI.RSI1,COLORRED,NODRAW;

kdjJ:kdJ.J,COLORWHITE,NODRAW;

STICKLINE(CROSS(VAR10, VAR11),O,C,1.6,1),COLORRED;

STICKLINE(CROSS(VAR10, VAR11),O,C,1,1),COLORRED;

DRAWTEXT(FILTER(CROSS(C,反转) OR CROSS(C,支撑) OR CROSS(C,平衡) OR CROSS(C,压力),3),L*0.995,'买'),COLORRED;

DRAWTEXT(FILTER(CROSS(反转,C) OR CROSS(支撑,C) OR CROSS(平衡,C) OR CROSS(压力,C),3),H*1.02,'卖'),COLORGREEN;

AA1:=MA(C,5);

BB1:=MA(C,15);

AF:=CROSS(AA1,BB1);

STICKLINE(AF,LLV(L,4),LLV(L,4),50,1),COLORRED,LINETHICK3;

DRAWTEXT(AF,LLV(L,4),'止损线'),COLORYELLOW;

E1:=BARSCOUNT(C);

AH:=HHV(H,200);

AL:=LLV(L,200);

B0:=(AH-AL)/40;

KB1:=H+B0;

KB2:=L-B0;

STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK3;

DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,'时窗'),COLORYELLOW;

MA18:=MA(CLOSE,18);

mtm:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));

DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;

加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);

DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;

卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);

DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;

DD1:=L

EE1:=V

FF1:=BB1 AND CC1 AND DD1 AND EE1;

DRAWTEXT(FF1,LOW*0.99,'老鼠仓'),COLOR4080FF;

XXS:=MA(LOW,5)*(1-5/100);

XXS1:=MA(HIGH,5)*(1+5/100);

均线:=C,COLORGREEN;

AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ;

DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED;

BBAA:=CROSS(XXS1,C);

DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;

DDDD:=CROSS(C,XXS1);

DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;

AAA:=MA(LOW,5)*(1-5/100);

BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;

DRAWTEXT(CROSS(BBB,L) AND BBB>REF(BBB,1),L*0.98,'←斋主回马枪'),COLORWHITE;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

DRAWTEXT(REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA),L*0.97,'★←老李夺命抢'),COLORMAGENTA;

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;

HR:=HHV(HIGH,55);

HRY:=LLV(LOW,55);

HRY11:=HR*HRY;

HRY33:SQRT(HRY11),COLORGREEN,LINETHICK2;

IF(C>HRY33 AND HRY33 >=REF(HRY33 ,1), HRY33 ,DRAWNULL),LINETHICK2,COLORRED;

BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;

EMA3:=EMA(C,3);

DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),

LOW*0.99,'★∠45'),COLORFFFFFF;

TT:=FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10);

VAR27:=REF(CLOSE,1);

VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;

DRAWICON((IF(CROSS(76,VAR28),1,0)) OR CROSS(70,RSI),H*1.01,2);

DRAWICON((IF(CROSS(VAR28,21),1,0)),L*0.97,1);

DRAWTEXT((IF(CROSS(76,VAR28),1,0)) OR CROSS(84,RSI),H*1.03,'快跑') ,COLORYELLOW;

股价:MA(C,3),COLORGREEN,LINETHICK2;

B:=股价

短线:IF(B-1,股价,DRAWNULL)COLORMAGENTA,LINETHICK2;

VAR4A:=EMA(CLOSE,3);

DRAWICON(COUNT(REF(VAR4A,1)REF(VAR4A,1),L*0.98,4);

DRAWTEXT(COUNT(REF(VAR4A,1)REF(VAR4A,1),L*0.96,'出拳');

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道