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

通达信顶底背离和压力支撑主图指标公式,通达信DMIA指标公式

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

    关注√

    牛市通网微信

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

通达信顶底背离和压力支撑主图指标公式,通达信DMIA指标公式

通达信顶底背离和压力支撑主图指标公式

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);

stICKLINE((((AA12 <= AA10) AND (BB12 >= 1)) AND (BB10 >= 1)),AA10,AA12,4,0),COLOR0080FF;

STICKLINE((((AA12 >= AA10) AND (BB10 <= 1)) AND (BB10 <= 1)),AA10,AA12,4,0),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,'∠45上升'),COLORWHITE;

压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;

支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;

AA1:=AMOUNT/V;

BB1:=L

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;

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) AND CROSS(DX,MA(DX,2)),1,0);

通达信DMIA指标公式

ATRA :=SMA(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),6,1);

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

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

DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),6,1);

DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),6,1);

pdi:= DMP*100/ATRA;

mdi:= DMM*100/ATRA;

ADX: SMA(ABS(MDI-PDI)/(MDI+PDI)*100,6,1),LINETHICK2;

涨趋势:IF((MDI-PDI)/(MDI+PDI)<0,10,DRAWNULL),COLOR8899DD,NODRAW;

跌趋势:IF((MDI-PDI)/(MDI+PDI)>=0,10,ADX),COLORDD9988,NODRAW;

DRAWBAND(ADX,RGB(100,80,110),10,0);

DRAWBAND(跌趋势,RGB(200,120,230),涨趋势,RGB(180,124,204));

对比线:=(ADX+REF(ADX,6))/2;

stICKLINE(crOSS(ADX,30),ADX,30,3,0),COLOR00FFFF,LINETHICK5;

STICKLINE(C>0,80,80,1.5,0),COLORFFFFFF;

STICKLINE(C>0,50,50,1.5,0),COLOR00FFFF;

STICKLINE(C>0,20,20,1.5,0),COLORFF00FF;

WW1:=SMA(((CLOSE-LLV(CLOSE,10))/(HHV(HIGH,10)-LLV(LOW,10))),3,1);

WW2:=SMA(((WW1-LLV(WW1,3))/(HHV(WW1,3)-LLV(WW1,3))),3,1)*100;

ZZ:=SMA(((vol-LLV(VOL,10))/(HHV(VOL,10)-LLV(VOL,10))),3,1);

ZZ1:=SMA(((ZZ-LLV(ZZ,3))/(HHV(ZZ,3)-LLV(ZZ,3))),3,1)*100;

快线:=ema(WW2,1),COLORBLUE,LINETHICK2;

慢线:=EMA(快线,2),COLORGREEN,LINETHICK2;

量快:=EMA(ZZ1,1)COLORWHITE,LINETHICK2;

量慢:=EMA(量快,2),COLORWHITE,LINETHICK2;

AA1:=SMA(((CLOSE-LLV(CLOSE,13))/(HHV(HIGH,13)-LLV(LOW,13))),3,1);

价线:=SMA(((AA1-LLV(AA1,4))/(HHV(AA1,4)-LLV(AA1,4))),3,1)*100;

周线:MA(价线,5),COLORMAGENTA,LINETHICK1;

BB1:=SMA(((VOL-LLV(VOL,13))/(HHV(VOL,13)-LLV(VOL,13))),3,1);

量线:SMA(((BB1-LLV(BB1,4))/(HHV(BB1,4)-LLV(BB1,4))),3,1)*100,NODRAW;

周量:MA(量线,5),COLORYELLOW,LINETHICK1;

月线:=MA(价线,22),COLORRED,LINETHICK0;

月量:=MA(量线,22),COLORYELLOW,LINETHICK0;

快线2:=EMA(周线,1),COLORBLUE,LINETHICK2;

慢线2:=EMA(快线2,2),COLORGREEN,LINETHICK2;

量快2:=EMA(周量,1);

量慢2:=EMA(量快2,2),COLORWHITE,LINETHICK2;

DRAWTEXT(FILTER(快线>=95 AND 慢线>=95 AND 周线>=90 OR 周量>=90,5),85,'减');

看色块→:30,COLORRED;

IF(周线>=REF(周线,1),周线,DRAWNULL),COLORMAGENTA,LINETHICK2;

IF(周线>=REF(周线,1) AND 月线>=REF(月线,1),周线,DRAWNULL),COLORRED,LINETHICK2;

IF(周线

IF(周量>=REF(周量,1),周量,DRAWNULL),COLORYELLOW,LINETHICK2;

IF(周量

IF(CROSS(快线2,慢线2),慢线2,DRAWNULL),COLORRED,LINETHICK3,CIRCLEDOT;

IF(CROSS(慢线2,快线2),快线2,DRAWNULL),COLORGREEN,LINETHICK3,CIRCLEDOT;

IF(CROSS(量快2,量慢2),量慢2,DRAWNULL),COLORRED,LINETHICK2,CIRCLEDOT;

IF(CROSS(量慢2,量快2),量快2,DRAWNULL),COLORLIGREEN,LINETHICK3,CIRCLEDOT;

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

责任编辑:admin888 标签:通达信顶底背离和压力支撑主图指标公式,通达信DMIA指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信顶底背离和压力支撑主图指标公式,通达信DMIA指标公式

admin888

|

通达信顶底背离和压力支撑主图指标公式,通达信DMIA指标公式

通达信顶底背离和压力支撑主图指标公式

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);

stICKLINE((((AA12 <= AA10) AND (BB12 >= 1)) AND (BB10 >= 1)),AA10,AA12,4,0),COLOR0080FF;

STICKLINE((((AA12 >= AA10) AND (BB10 <= 1)) AND (BB10 <= 1)),AA10,AA12,4,0),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,'∠45上升'),COLORWHITE;

压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;

支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;

AA1:=AMOUNT/V;

BB1:=L

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;

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) AND CROSS(DX,MA(DX,2)),1,0);

通达信DMIA指标公式

ATRA :=SMA(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),6,1);

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

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

DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),6,1);

DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),6,1);

pdi:= DMP*100/ATRA;

mdi:= DMM*100/ATRA;

ADX: SMA(ABS(MDI-PDI)/(MDI+PDI)*100,6,1),LINETHICK2;

涨趋势:IF((MDI-PDI)/(MDI+PDI)<0,10,DRAWNULL),COLOR8899DD,NODRAW;

跌趋势:IF((MDI-PDI)/(MDI+PDI)>=0,10,ADX),COLORDD9988,NODRAW;

DRAWBAND(ADX,RGB(100,80,110),10,0);

DRAWBAND(跌趋势,RGB(200,120,230),涨趋势,RGB(180,124,204));

对比线:=(ADX+REF(ADX,6))/2;

stICKLINE(crOSS(ADX,30),ADX,30,3,0),COLOR00FFFF,LINETHICK5;

STICKLINE(C>0,80,80,1.5,0),COLORFFFFFF;

STICKLINE(C>0,50,50,1.5,0),COLOR00FFFF;

STICKLINE(C>0,20,20,1.5,0),COLORFF00FF;

WW1:=SMA(((CLOSE-LLV(CLOSE,10))/(HHV(HIGH,10)-LLV(LOW,10))),3,1);

WW2:=SMA(((WW1-LLV(WW1,3))/(HHV(WW1,3)-LLV(WW1,3))),3,1)*100;

ZZ:=SMA(((vol-LLV(VOL,10))/(HHV(VOL,10)-LLV(VOL,10))),3,1);

ZZ1:=SMA(((ZZ-LLV(ZZ,3))/(HHV(ZZ,3)-LLV(ZZ,3))),3,1)*100;

快线:=ema(WW2,1),COLORBLUE,LINETHICK2;

慢线:=EMA(快线,2),COLORGREEN,LINETHICK2;

量快:=EMA(ZZ1,1)COLORWHITE,LINETHICK2;

量慢:=EMA(量快,2),COLORWHITE,LINETHICK2;

AA1:=SMA(((CLOSE-LLV(CLOSE,13))/(HHV(HIGH,13)-LLV(LOW,13))),3,1);

价线:=SMA(((AA1-LLV(AA1,4))/(HHV(AA1,4)-LLV(AA1,4))),3,1)*100;

周线:MA(价线,5),COLORMAGENTA,LINETHICK1;

BB1:=SMA(((VOL-LLV(VOL,13))/(HHV(VOL,13)-LLV(VOL,13))),3,1);

量线:SMA(((BB1-LLV(BB1,4))/(HHV(BB1,4)-LLV(BB1,4))),3,1)*100,NODRAW;

周量:MA(量线,5),COLORYELLOW,LINETHICK1;

月线:=MA(价线,22),COLORRED,LINETHICK0;

月量:=MA(量线,22),COLORYELLOW,LINETHICK0;

快线2:=EMA(周线,1),COLORBLUE,LINETHICK2;

慢线2:=EMA(快线2,2),COLORGREEN,LINETHICK2;

量快2:=EMA(周量,1);

量慢2:=EMA(量快2,2),COLORWHITE,LINETHICK2;

DRAWTEXT(FILTER(快线>=95 AND 慢线>=95 AND 周线>=90 OR 周量>=90,5),85,'减');

看色块→:30,COLORRED;

IF(周线>=REF(周线,1),周线,DRAWNULL),COLORMAGENTA,LINETHICK2;

IF(周线>=REF(周线,1) AND 月线>=REF(月线,1),周线,DRAWNULL),COLORRED,LINETHICK2;

IF(周线

IF(周量>=REF(周量,1),周量,DRAWNULL),COLORYELLOW,LINETHICK2;

IF(周量

IF(CROSS(快线2,慢线2),慢线2,DRAWNULL),COLORRED,LINETHICK3,CIRCLEDOT;

IF(CROSS(慢线2,快线2),快线2,DRAWNULL),COLORGREEN,LINETHICK3,CIRCLEDOT;

IF(CROSS(量快2,量慢2),量慢2,DRAWNULL),COLORRED,LINETHICK2,CIRCLEDOT;

IF(CROSS(量慢2,量快2),量快2,DRAWNULL),COLORLIGREEN,LINETHICK3,CIRCLEDOT;

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


财经频道