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

通达信暴涨启动线指标公式,通达信国外很流行的MACD指标公式

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

    关注√

    牛市通网微信

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

通达信暴涨启动线指标公式,通达信国外很流行的MACD指标公式

通达信暴涨启动线指标公式

PEAK1:=LLV(ma((LOW),5),30);

箱底:PEAK1,COLORLIMAGENTA;

PEAK2:=HHV(MA((HIGH),6),30);

箱顶:PEAK2,COLORLIBLUE;

TROUGHBARS1:=(箱顶+箱底)/2;

平衡:TROUGHBARS1,COLORFF00FF;

TROUGHBARS2:=EXPMema(C,5);

操作线:TROUGHBARS2,COLORWHITE;

TROUGHBARS3:=EXPMEMA(C,12);

趋势线:TROUGHBARS3,COLORBLUE;

zig1:=平衡>=REF(平衡,1) AND趋势线>=REF(趋势线,1) AND REF(操作线,1)REF(操作线,1) AND 操作线>趋势线 AND 趋势线>平衡 AND 操作线/趋势线<1.01;

暴涨:ZIG1,COLORRED,NODRAW;

ZIG2:=crOSS(操作线,趋势线) AND 平衡>=REF(平衡,1);

启动:ZIG2,COLORYELLOW,NODRAW;

stICKLINE(趋势线>平衡,平衡,趋势线,0,-1),COLORRED;

STICKLINE(平衡>趋势线,趋势线,平衡,0,-1),COLORGREEN;

STICKLINE(启动,箱底,箱顶,0,0),COLORYELLOW;

STICKLINE(暴涨,箱底,箱顶,0,0),COLORRED;

DRAWICON(CROSS(箱顶,操作线),箱顶*1.02,2);

通达信国外很流行的MACD指标公式

据说是国外很流行的macd,越看越有看头,大智慧、飞狐、通达信通用

{//DRAWGBK(CLOSE>0,COLORRGB(120154,127),COLORRGB(120,154,127),0);

INPUT:P(13),S(5),M(1);}

P:=13;S:=5;M:=1;

difF:ema(C,S)-Ema(C,P);

DEA:EMA(DIFF,M),COLORRED;

MacD:2*(DIFF-DEA),COLORstICK;

P1:=P;S1:=S;

DIFF1:EMA(C,S1)-EMA(C,P1);

DEA1:EMA(DIFF,M),COLORRED;

MACD1:=2*(DIFF1-DEA1);

MACD2:=DEA;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,3,0 ),COLOR00AAFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.8,0 ),COLOR00BBFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.3,0 ),COLOR00CCFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.2,0 ),COLOR00ddfF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1,0 ),COLOR00EEFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,0.5,0 ),COLOR00FFFF;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3.4,0 ),COLOR0000AA;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3.2,0),COLOR0011BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3,0),COLOR0022CC;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,2,0),COLOR0033DD;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,1,0),COLOR0044EE;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,0.5,0),COLOR0055FF;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3.4,0),COLORAA00BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3.2,0),COLORBB11BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3,0),COLORCC22BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,2,0 ),COLORDD33BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,1,0),COLOREE44BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,0.5,0 ),COLORFF55BB;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,3,0 ),COLORFF7700;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.5 ,0 ),COLORFF8811;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.2,0 ),COLORFFAA22;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.0 ,0 ),COLORFFBB33;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,0.8 ,0 ),COLORFFDD44;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,0.5 ,0 ),COLORFFFF55;

R:=(HHV(DEA,100)+Abs(LLV(DEA ,100)))/2;

R/4,POINTDOT,COLORFFFF00;

R/2,POINTDOT,COLORFFFF00;

R/4*3,POINTDOT,COLORFFFF00;

-R/4,POINTDOT,COLORFFFF00;

-R/2,POINTDOT,COLORFFFF00;

-R/4*3,POINTDOT,COLORFFFF00;

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

责任编辑:admin888 标签:通达信暴涨启动线指标公式,通达信国外很流行的MACD指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信暴涨启动线指标公式,通达信国外很流行的MACD指标公式

admin888

|

通达信暴涨启动线指标公式,通达信国外很流行的MACD指标公式

通达信暴涨启动线指标公式

PEAK1:=LLV(ma((LOW),5),30);

箱底:PEAK1,COLORLIMAGENTA;

PEAK2:=HHV(MA((HIGH),6),30);

箱顶:PEAK2,COLORLIBLUE;

TROUGHBARS1:=(箱顶+箱底)/2;

平衡:TROUGHBARS1,COLORFF00FF;

TROUGHBARS2:=EXPMema(C,5);

操作线:TROUGHBARS2,COLORWHITE;

TROUGHBARS3:=EXPMEMA(C,12);

趋势线:TROUGHBARS3,COLORBLUE;

zig1:=平衡>=REF(平衡,1) AND趋势线>=REF(趋势线,1) AND REF(操作线,1)REF(操作线,1) AND 操作线>趋势线 AND 趋势线>平衡 AND 操作线/趋势线<1.01;

暴涨:ZIG1,COLORRED,NODRAW;

ZIG2:=crOSS(操作线,趋势线) AND 平衡>=REF(平衡,1);

启动:ZIG2,COLORYELLOW,NODRAW;

stICKLINE(趋势线>平衡,平衡,趋势线,0,-1),COLORRED;

STICKLINE(平衡>趋势线,趋势线,平衡,0,-1),COLORGREEN;

STICKLINE(启动,箱底,箱顶,0,0),COLORYELLOW;

STICKLINE(暴涨,箱底,箱顶,0,0),COLORRED;

DRAWICON(CROSS(箱顶,操作线),箱顶*1.02,2);

通达信国外很流行的MACD指标公式

据说是国外很流行的macd,越看越有看头,大智慧、飞狐、通达信通用

{//DRAWGBK(CLOSE>0,COLORRGB(120154,127),COLORRGB(120,154,127),0);

INPUT:P(13),S(5),M(1);}

P:=13;S:=5;M:=1;

difF:ema(C,S)-Ema(C,P);

DEA:EMA(DIFF,M),COLORRED;

MacD:2*(DIFF-DEA),COLORstICK;

P1:=P;S1:=S;

DIFF1:EMA(C,S1)-EMA(C,P1);

DEA1:EMA(DIFF,M),COLORRED;

MACD1:=2*(DIFF1-DEA1);

MACD2:=DEA;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,3,0 ),COLOR00AAFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.8,0 ),COLOR00BBFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.3,0 ),COLOR00CCFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.2,0 ),COLOR00ddfF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1,0 ),COLOR00EEFF;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,0.5,0 ),COLOR00FFFF;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3.4,0 ),COLOR0000AA;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3.2,0),COLOR0011BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,3,0),COLOR0022CC;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,2,0),COLOR0033DD;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,1,0),COLOR0044EE;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2,0.5,0),COLOR0055FF;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3.4,0),COLORAA00BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3.2,0),COLORBB11BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,3,0),COLORCC22BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,2,0 ),COLORDD33BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,1,0),COLOREE44BB;

STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2,0.5,0 ),COLORFF55BB;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,3,0 ),COLORFF7700;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.5 ,0 ),COLORFF8811;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.2,0 ),COLORFFAA22;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,1.0 ,0 ),COLORFFBB33;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,0.8 ,0 ),COLORFFDD44;

STICKLINE(MACD2<=REF(MACD2,1)AND MACD2<=0,0,MACD2,0.5 ,0 ),COLORFFFF55;

R:=(HHV(DEA,100)+Abs(LLV(DEA ,100)))/2;

R/4,POINTDOT,COLORFFFF00;

R/2,POINTDOT,COLORFFFF00;

R/4*3,POINTDOT,COLORFFFF00;

-R/4,POINTDOT,COLORFFFF00;

-R/2,POINTDOT,COLORFFFF00;

-R/4*3,POINTDOT,COLORFFFF00;

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


财经频道