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

通达信深化MACD指标公式,通达信变形KDJ指标公式

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

    关注√

    牛市通网微信

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

通达信深化MACD指标公式,通达信变形KDJ指标公式

通达信深化MACD指标公式

SHORT:=12;

LONG:=26;

M:=9;

difF:ema(CLOSE,SHORT)-Ema(CLOSE,LONG);

DEA:EMA(DIFF,M),COLORGREEN,LINETHICK2;

macd:2*(DIFF-DEA),LINETHICK0;

stICKLINE(MacD>=0 AND MACD>=REF(MACD,1),0,MACD,2,1),COLORRED;

STICKLINE(MACD>=0 AND MACD

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,1),COLORYELLOW;

STICKLINE(MACD<0 AND MACD

obv:=DEA;

P:=10;

A1:=REF(OBV,P)=HHV(OBV,2*P+1);

B1:=FILTER(A1,P);

C1:=BACKSET(B1,P+1);

D1:=FILTER(C1,P);

{高点}A2:=REF(OBV,P)=LLV(OBV,2*P+1);

B2:=FILTER(A2,P);

C2:=BACKSET(B2,P+1);

D2:=FILTER(C2,P);

{低点}上:=REF(OBV,BArslAST(D1)),COLORFF00FF,NODRAW;

下:=REF(OBV,BARSLAST(D2)),COLOR00FF00,NODRAW;

向上:=crOSS(OBV,上*1.01),NODRAW;

相对能量:(OBV-下)/(上-下)*100,COLORYELLOW,NODRAW;

R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);

S11:=R11>REF(R11,1);

DRAWLINE(D1,OBV,S11,OBV,1),COLORYELLOW;

T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);

U11:=T11>REF(T11,1);

DRAWLINE(D2,OBV,U11,OBV,1),COLOR00FF00;

STICKLINE(C>0,下,下,1,0),COLOR00FF00;

STICKLINE(C>0,上,上,1,0),COLORFF00FF;

DRAWTEXT(CROSS(OBV,上*1.01),上,上),COLORYELLOW;

DRAWTEXT(CROSS(下*0.99,OBV),下,下),COLORYELLOW;

DRAWICON(D1,OBV,1);

DRAWICON(D2,OBV,2);

通达信变形KDJ指标公式

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

K:SMA(RSV,3,1),COLORWHITE;

D:Sma(K,3,1),COLORYELLOW;

J:3*K-2*D,COLORYELLOW;

IF(K

IF(D

IF(J

IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK1;

IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1;

IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK1;

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

责任编辑:admin888 标签:通达信深化MACD指标公式,通达信变形KDJ指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信深化MACD指标公式,通达信变形KDJ指标公式

admin888

|

通达信深化MACD指标公式,通达信变形KDJ指标公式

通达信深化MACD指标公式

SHORT:=12;

LONG:=26;

M:=9;

difF:ema(CLOSE,SHORT)-Ema(CLOSE,LONG);

DEA:EMA(DIFF,M),COLORGREEN,LINETHICK2;

macd:2*(DIFF-DEA),LINETHICK0;

stICKLINE(MacD>=0 AND MACD>=REF(MACD,1),0,MACD,2,1),COLORRED;

STICKLINE(MACD>=0 AND MACD

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,1),COLORYELLOW;

STICKLINE(MACD<0 AND MACD

obv:=DEA;

P:=10;

A1:=REF(OBV,P)=HHV(OBV,2*P+1);

B1:=FILTER(A1,P);

C1:=BACKSET(B1,P+1);

D1:=FILTER(C1,P);

{高点}A2:=REF(OBV,P)=LLV(OBV,2*P+1);

B2:=FILTER(A2,P);

C2:=BACKSET(B2,P+1);

D2:=FILTER(C2,P);

{低点}上:=REF(OBV,BArslAST(D1)),COLORFF00FF,NODRAW;

下:=REF(OBV,BARSLAST(D2)),COLOR00FF00,NODRAW;

向上:=crOSS(OBV,上*1.01),NODRAW;

相对能量:(OBV-下)/(上-下)*100,COLORYELLOW,NODRAW;

R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);

S11:=R11>REF(R11,1);

DRAWLINE(D1,OBV,S11,OBV,1),COLORYELLOW;

T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);

U11:=T11>REF(T11,1);

DRAWLINE(D2,OBV,U11,OBV,1),COLOR00FF00;

STICKLINE(C>0,下,下,1,0),COLOR00FF00;

STICKLINE(C>0,上,上,1,0),COLORFF00FF;

DRAWTEXT(CROSS(OBV,上*1.01),上,上),COLORYELLOW;

DRAWTEXT(CROSS(下*0.99,OBV),下,下),COLORYELLOW;

DRAWICON(D1,OBV,1);

DRAWICON(D2,OBV,2);

通达信变形KDJ指标公式

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

K:SMA(RSV,3,1),COLORWHITE;

D:Sma(K,3,1),COLORYELLOW;

J:3*K-2*D,COLORYELLOW;

IF(K

IF(D

IF(J

IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK1;

IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1;

IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK1;

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


财经频道