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

通达信微积分MACD指标公式,通达信中短长涨跌主图指标公式

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

    关注√

    牛市通网微信

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

通达信微积分MACD指标公式,通达信中短长涨跌主图指标公式

通达信微积分MACD指标公式

DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;

DEA12:=EMA(DIF12,9);

相对macd:2*(DIF12-DEA12),COLORstICK,COLORRED;

kdIF12:=3*(DIF12-DEA12);

{KDIF12:=2*(DIF12-DEA12)};

KDEA12:=SMA(KDIF12,5,2);

买卖力道:2*(KDIF12-KDEA12),COLORLIRED,LINETHICK1;

相对DIF:DIF12,COLORMAGENTA,LINETHICK2;

相对DEA:DEA12,COLORGREEN,LINETHICK2;

微分DIF:KDIF12,COLORYELLOW,LINETHICK2;

微分DEA:KDEA12,COLORLIGRAY,LINETHICK1;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

通达信中短长涨跌主图指标公式

N:=5;

M:=13;

boll:MA(CLOSE,20),COLORRED;

UPPER:BOLL+2*stD(CLOSE,20),COLOR808080,LINETHICK2;

LOWER:BOLL-2*STD(CLOSE,20),COLORGREEN,LINETHICK2;

BOLL1:=MA(CLOSE,65);

UPPER1:BOLL1+2*STD(CLOSE,65),COLORWHITE,POINTDOT;

LOWER1:BOLL1-2*STD(CLOSE,65),COLORWHITE,POINTDOT;

MA5:=MA(C,N),COLORWHITE;

MA18:=MA(CLOSE,18);

MA13:=MA(C,M),COLORGREEN;

VAR1:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);

VAR2:=C=LLV(C,4) AND (REF(C,1)

VAR3:=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,1);

A:=(3*C+L+O+H)/6;

VAR4:=(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;

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

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

CB:=EMA(VAR4,13);

{红}STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR0000FF;

STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;

{蓝}STICKLINE(CLOSE

STICKLINE(CLOSE

{粉}STICKLINE(VAR1,C,(O+C)/2,3,0),COLORFF11FF;

STICKLINE(VAR1,C,(O+C)/2,0.5,0),COLORFFddfF;

{灰}STICKLINE(VAR2,C,(O+C)/2,3,0),COLOR999999;

S

TICKLINE(VAR2,C,(O+C)/2,0.5,0),COLORFFBBFF;

{绿}STICKLINE(VAR3,O,(O+C)/2,3,0),COLOR00BB00;

STICKLINE(VAR3,O,(O+C)/2,0.5,0),COLOR00FF00;

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

DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORGREEN;

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

DRAWTEXT(FILTER(买=1,5),LOW-0.03,'买'),COLORRED;

加仓:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;

DRAWTEXT(FILTER((CROSS(加仓,0) OR CROSS(CLOSE,CB)) AND 买=1,3),LOW-0.03,'加'),COLORWHITE;

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

DRAWTEXT(跟,LOW*0.96,'跟'),COLORCC66FF;

天:=CONST(HHV(H,120))*1+0.6;

地:=CONST(LLV(L,120))*1-0.6;

bias11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

BIAS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

BIAS13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

短跌BIAS:IF(BIAS11<=-6,0.6+地,地),COLORBLacK,LINETHICK2;

中跌BIAS:IF(BIAS12<=-10,0.6+地,地),COLORBLUE,LINETHICK2;

长跌BIAS:IF(BIAS13<=-16,0.6+地,地),COLORRED,LINETHICK2;

短涨BIAS:IF(BIAS11>=6,天,天+0.6),COLORBLACK,LINETHICK2;

中涨BIAS:IF(BIAS12>=10,天,天+0.6),COLORBLUE,LINETHICK2;

长涨BIAS:IF(BIAS13>=16,天,天+0.6),COLORRED,LINETHICK2;

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

责任编辑:admin888 标签:通达信微积分MACD指标公式,通达信中短长涨跌主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信微积分MACD指标公式,通达信中短长涨跌主图指标公式

admin888

|

通达信微积分MACD指标公式,通达信中短长涨跌主图指标公式

通达信微积分MACD指标公式

DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;

DEA12:=EMA(DIF12,9);

相对macd:2*(DIF12-DEA12),COLORstICK,COLORRED;

kdIF12:=3*(DIF12-DEA12);

{KDIF12:=2*(DIF12-DEA12)};

KDEA12:=SMA(KDIF12,5,2);

买卖力道:2*(KDIF12-KDEA12),COLORLIRED,LINETHICK1;

相对DIF:DIF12,COLORMAGENTA,LINETHICK2;

相对DEA:DEA12,COLORGREEN,LINETHICK2;

微分DIF:KDIF12,COLORYELLOW,LINETHICK2;

微分DEA:KDEA12,COLORLIGRAY,LINETHICK1;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

通达信中短长涨跌主图指标公式

N:=5;

M:=13;

boll:MA(CLOSE,20),COLORRED;

UPPER:BOLL+2*stD(CLOSE,20),COLOR808080,LINETHICK2;

LOWER:BOLL-2*STD(CLOSE,20),COLORGREEN,LINETHICK2;

BOLL1:=MA(CLOSE,65);

UPPER1:BOLL1+2*STD(CLOSE,65),COLORWHITE,POINTDOT;

LOWER1:BOLL1-2*STD(CLOSE,65),COLORWHITE,POINTDOT;

MA5:=MA(C,N),COLORWHITE;

MA18:=MA(CLOSE,18);

MA13:=MA(C,M),COLORGREEN;

VAR1:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);

VAR2:=C=LLV(C,4) AND (REF(C,1)

VAR3:=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,1);

A:=(3*C+L+O+H)/6;

VAR4:=(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;

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

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

CB:=EMA(VAR4,13);

{红}STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR0000FF;

STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;

{蓝}STICKLINE(CLOSE

STICKLINE(CLOSE

{粉}STICKLINE(VAR1,C,(O+C)/2,3,0),COLORFF11FF;

STICKLINE(VAR1,C,(O+C)/2,0.5,0),COLORFFddfF;

{灰}STICKLINE(VAR2,C,(O+C)/2,3,0),COLOR999999;

S

TICKLINE(VAR2,C,(O+C)/2,0.5,0),COLORFFBBFF;

{绿}STICKLINE(VAR3,O,(O+C)/2,3,0),COLOR00BB00;

STICKLINE(VAR3,O,(O+C)/2,0.5,0),COLOR00FF00;

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

DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORGREEN;

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

DRAWTEXT(FILTER(买=1,5),LOW-0.03,'买'),COLORRED;

加仓:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;

DRAWTEXT(FILTER((CROSS(加仓,0) OR CROSS(CLOSE,CB)) AND 买=1,3),LOW-0.03,'加'),COLORWHITE;

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

DRAWTEXT(跟,LOW*0.96,'跟'),COLORCC66FF;

天:=CONST(HHV(H,120))*1+0.6;

地:=CONST(LLV(L,120))*1-0.6;

bias11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

BIAS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

BIAS13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

短跌BIAS:IF(BIAS11<=-6,0.6+地,地),COLORBLacK,LINETHICK2;

中跌BIAS:IF(BIAS12<=-10,0.6+地,地),COLORBLUE,LINETHICK2;

长跌BIAS:IF(BIAS13<=-16,0.6+地,地),COLORRED,LINETHICK2;

短涨BIAS:IF(BIAS11>=6,天,天+0.6),COLORBLACK,LINETHICK2;

中涨BIAS:IF(BIAS12>=10,天,天+0.6),COLORBLUE,LINETHICK2;

长涨BIAS:IF(BIAS13>=16,天,天+0.6),COLORRED,LINETHICK2;

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


财经频道