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

大智慧大盘指标公式,大智慧MACD面积指标公式

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

    关注√

    牛市通网微信

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

大智慧大盘指标公式,大智慧MACD面积指标公式

大智慧大盘指标公式

大盘:=INDEXC;

±:=INDEXC-REF(INDEXC,1);

沪深:="000300$CLOSE";

_±:="000300$CLOSE"-REF("000300$CLOSE",1);

cd:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$close","399001$close");

od:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$open","399001$open");

hd:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$high","399001$high");

ld:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$low","399001$low");

{cd:=INDEXC;

od:=INDEXO;

hd:=INDEXH;

ld:=INDEXL;

}STICKLINE(cd>=od,od,cd,7,1),COLORRED;

STICKLINE(od>cd,cd,od,7,0),COLORGREEN;

STICKLINE(cd>=od,cd,Hd,0,1 ),COLORRED;

STICKLINE(cd>=od,od,ld,0,1),COLORRED;

STICKLINE(od>cd,cd,ld,0,0),COLORGREEN;

STICKLINE(od>cd,od,Hd,0,0),COLORGREEN;

收盘:INDEXC,LINETHICK0,COLORFFFFFF,PRECIS2;

开盘:INDEXO,LINETHICK0,COLOR00FFFF,PRECIS2;

最高:INDEXh,LINETHICK0,COLOR0000FF,PRECIS2;

最低:INDEXL,LINETHICK0,COLOR00FF00,PRECIS2;

涨跌:收盘-REF(收盘,1),LINETHICK0,PRECIS2,COLORFFFF00;

涨幅:SUM(收盘/REF(收盘,1)*100-100,1),LINETHICK0,PRECIS2,COLORFF00FF;

DRAWTEXTABS(10,5,'大盘'),COLORYELLOW,LINETHICK3;

上涨:DYNAINFO(69),COLOR0000FF,LINETHICK0,PRECIS0;

下跌:DYNAINFO(70),COLOR00FF00,LINETHICK0,PRECIS0;

平盘:DYNAINFO(71),COLORFFFFFF,LINETHICK0,PRECIS0;

ma5:MA(收盘,5),COLORFFFFFF,PRECIS2;

ma10:MA(收盘,10),COLOR00FFFF,PRECIS2;

ma20:MA(收盘,20),COLORFF00FF,PRECIS2;

ma30:MA(收盘,30),COLOR00FF00,PRECIS2;ma60:MA(收盘,60),COLORB5B5B5,PRECIS2;

大智慧MACD面积指标公式

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),LAYER0;

DEA:EMA(DIFF,9),LAYER0;

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

绿柱面积:10*IF (MACD<0,SUM(MACD,BARSLAST(MACD>0)),0),LINETHICK0,Color00ff00,PRECIS2;

红柱面积:10*IF (MACD>0,SUM(MACD,BARSLAST(MACD<0)),0),LINETHICK0,colorred,PRECIS2;

DRAWTEXT(ref(MACD,1)>0 and MACD<=0 ,HHV(MACD,4),''+ref(红柱面积,1)),PRECIS1,ALIGN1,VALIGN1,colorred;

DRAWTEXT(ref(MACD,1)<0 and MACD>=0 ,LLV(MACD,4),''+ref(abs(绿柱面积),1)),ALIGN1,Color00ff00,PRECIS1;

DRAWTEXT(BARSTATUS=2 AND MACD<0,LLV(MACD,8),''+abs(绿柱面积)),align2,Colorwhite{004A00},PRECIS0;

DRAWTEXT(BARSTATUS=2 AND MACD>0,HHV(MACD,4),''+abs(红柱面积)),align2,VALIGN1,colorred;

MACDhs:=IF(MACD>0 AND MACD>REF(MACD,1),MACD,0);

MACDhx:=IF(MACD>0 AND MACD

MACDlx:=IF(MACD<0 AND MACD

MACDls:=IF(MACD<0 AND MACD>REF(MACD,1),MACD,0);

STICKLINE(MACDhs>0,0,MACD,8,0),Color0000BB;

STICKLINE(MACDhs>0,0,MACD,7,0),Color0000CC;

STICKLINE(MACDhs>0,0,MACD,6,0),Color0000CC;

STICKLINE(MACDhs>0,0,MACD,5,0),Color0000DD;

STICKLINE(MACDhs>0,0,MACD,4,0),Color0033DD;

STICKLINE(MACDhs>0,0,MACD,3,0),Color3355EE;

STICKLINE(MACDhs>0,0,MACD,2,0),Color6677EE;

STICKLINE(MACDhs>0,0,MACD,1,0),Color8888FF;

STICKLINE(MACDhs>0,0,MACD,1,0),Color9999FF;

STICKLINE(MACDhx>0,0,MACD,8,0),Color0077BB;

STICKLINE(MACDhx>0,0,MACD,7,0),Color0088CC;

STICKLINE(MACDhx>0,0,MACD,6,0),Color0099CC;

STICKLINE(MACDhx>0,0,MACD,5,0),Color00AADD;

STICKLINE(MACDhx>0,0,MACD,4,0),Color11BBDD;

STICKLINE(MACDhx>0,0,MACD,3,0),Color22CCEE;

STICKLINE(MACDhx>0,0,MACD,2,0),Color33DDEE;

STICKLINE(MACDhx>0,0,MACD,1,0),Color44EEFF;

STICKLINE(MACDhx>0,0,MACD,1,0),Color55FFFF;

STICKLINE(MACDlx<0,MACD,0,8,0),COLOR007700;

STICKLINE(MACDlx<0,MACD,0,7,0),COLOR009900;

STICKLINE(MACDlx<0,MACD,0,6,0),COLOR00AA00;

STICKLINE(MACDlx<0,MACD,0,5,0),COLOR00BB00;

STICKLINE(MACDlx<0,MACD,0,4,0),COLOR11CC11;

STICKLINE(MACDlx<0,MACD,0,3,0),COLOR22DD22;

STICKLINE(MACDlx<0,MACD,0,2,0),COLOR33FF33;

STICKLINE(MACDlx<0,MACD,0,1,0),COLOR44FF44;

STICKLINE(MACDlx<0,MACD,0,1,0),COLOR55FF55;

STICKLINE(MACDls<0,MACD,0,8,0),ColorBB0000;

STICKLINE(MACDls<0,MACD,0,7,0),ColorCC0000;

STICKLINE(MACDls<0,MACD,0,6,0),ColorCC2200;

STICKLINE(MACDls<0,MACD,0,5,0),ColorDD4400;

STICKLINE(MACDls<0,MACD,0,4,0),ColorDD6611;

STICKLINE(MACDls<0,MACD,0,3,0),ColorEE8822;

STICKLINE(MACDls<0,MACD,0,2,0),ColorEEAA33;

STICKLINE(MACDls<0,MACD,0,1,0),ColorFFBB44;

STICKLINE(MACDls<0,MACD,0,1,0),Color55FF55;

STICKLINE(MACDlx<0,MACD,0,8,0),ColorBB0000;

STICKLINE(MACDlx<0,MACD,0,7,0),ColorCC0000;

STICKLINE(MACDlx<0,MACD,0,6,0),ColorCC2200;

STICKLINE(MACDlx<0,MACD,0,5,0),ColorDD4400;

STICKLINE(MACDlx<0,MACD,0,4,0),ColorDD6611;

STICKLINE(MACDlx<0,MACD,0,3,0),ColorEE8822;

STICKLINE(MACDlx<0,MACD,0,2,0),ColorEEAA33;

STICKLINE(MACDlx<0,MACD,0,1,0),ColorFFBB44;

STICKLINE(MACDlx<0,MACD,0,1,0),ColorFFCC55;

STICKLINE(MACDls<0,MACD,0,8,0),Color007700;

STICKLINE(MACDls<0,MACD,0,7,0),Color009900;

STICKLINE(MACDls<0,MACD,0,6,0),Color00AA00;

STICKLINE(MACDls<0,MACD,0,5,0),Color00BB00;

STICKLINE(MACDls<0,MACD,0,4,0),Color11CC11;

STICKLINE(MACDls<0,MACD,0,3,0),Color22DD22;

STICKLINE(MACDls<0,MACD,0,2,0),Color33FF33;

STICKLINE(MACDls<0,MACD,0,1,0),Color44EF44;

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

责任编辑:admin888 标签:大智慧大盘指标公式,大智慧MACD面积指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

大智慧大盘指标公式,大智慧MACD面积指标公式

admin888

|

大智慧大盘指标公式,大智慧MACD面积指标公式

大智慧大盘指标公式

大盘:=INDEXC;

±:=INDEXC-REF(INDEXC,1);

沪深:="000300$CLOSE";

_±:="000300$CLOSE"-REF("000300$CLOSE",1);

cd:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$close","399001$close");

od:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$open","399001$open");

hd:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$high","399001$high");

ld:=IF(STRCMP(MARKETLABEL, 'SH')=0,"1a0001$low","399001$low");

{cd:=INDEXC;

od:=INDEXO;

hd:=INDEXH;

ld:=INDEXL;

}STICKLINE(cd>=od,od,cd,7,1),COLORRED;

STICKLINE(od>cd,cd,od,7,0),COLORGREEN;

STICKLINE(cd>=od,cd,Hd,0,1 ),COLORRED;

STICKLINE(cd>=od,od,ld,0,1),COLORRED;

STICKLINE(od>cd,cd,ld,0,0),COLORGREEN;

STICKLINE(od>cd,od,Hd,0,0),COLORGREEN;

收盘:INDEXC,LINETHICK0,COLORFFFFFF,PRECIS2;

开盘:INDEXO,LINETHICK0,COLOR00FFFF,PRECIS2;

最高:INDEXh,LINETHICK0,COLOR0000FF,PRECIS2;

最低:INDEXL,LINETHICK0,COLOR00FF00,PRECIS2;

涨跌:收盘-REF(收盘,1),LINETHICK0,PRECIS2,COLORFFFF00;

涨幅:SUM(收盘/REF(收盘,1)*100-100,1),LINETHICK0,PRECIS2,COLORFF00FF;

DRAWTEXTABS(10,5,'大盘'),COLORYELLOW,LINETHICK3;

上涨:DYNAINFO(69),COLOR0000FF,LINETHICK0,PRECIS0;

下跌:DYNAINFO(70),COLOR00FF00,LINETHICK0,PRECIS0;

平盘:DYNAINFO(71),COLORFFFFFF,LINETHICK0,PRECIS0;

ma5:MA(收盘,5),COLORFFFFFF,PRECIS2;

ma10:MA(收盘,10),COLOR00FFFF,PRECIS2;

ma20:MA(收盘,20),COLORFF00FF,PRECIS2;

ma30:MA(收盘,30),COLOR00FF00,PRECIS2;ma60:MA(收盘,60),COLORB5B5B5,PRECIS2;

大智慧MACD面积指标公式

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),LAYER0;

DEA:EMA(DIFF,9),LAYER0;

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

绿柱面积:10*IF (MACD<0,SUM(MACD,BARSLAST(MACD>0)),0),LINETHICK0,Color00ff00,PRECIS2;

红柱面积:10*IF (MACD>0,SUM(MACD,BARSLAST(MACD<0)),0),LINETHICK0,colorred,PRECIS2;

DRAWTEXT(ref(MACD,1)>0 and MACD<=0 ,HHV(MACD,4),''+ref(红柱面积,1)),PRECIS1,ALIGN1,VALIGN1,colorred;

DRAWTEXT(ref(MACD,1)<0 and MACD>=0 ,LLV(MACD,4),''+ref(abs(绿柱面积),1)),ALIGN1,Color00ff00,PRECIS1;

DRAWTEXT(BARSTATUS=2 AND MACD<0,LLV(MACD,8),''+abs(绿柱面积)),align2,Colorwhite{004A00},PRECIS0;

DRAWTEXT(BARSTATUS=2 AND MACD>0,HHV(MACD,4),''+abs(红柱面积)),align2,VALIGN1,colorred;

MACDhs:=IF(MACD>0 AND MACD>REF(MACD,1),MACD,0);

MACDhx:=IF(MACD>0 AND MACD

MACDlx:=IF(MACD<0 AND MACD

MACDls:=IF(MACD<0 AND MACD>REF(MACD,1),MACD,0);

STICKLINE(MACDhs>0,0,MACD,8,0),Color0000BB;

STICKLINE(MACDhs>0,0,MACD,7,0),Color0000CC;

STICKLINE(MACDhs>0,0,MACD,6,0),Color0000CC;

STICKLINE(MACDhs>0,0,MACD,5,0),Color0000DD;

STICKLINE(MACDhs>0,0,MACD,4,0),Color0033DD;

STICKLINE(MACDhs>0,0,MACD,3,0),Color3355EE;

STICKLINE(MACDhs>0,0,MACD,2,0),Color6677EE;

STICKLINE(MACDhs>0,0,MACD,1,0),Color8888FF;

STICKLINE(MACDhs>0,0,MACD,1,0),Color9999FF;

STICKLINE(MACDhx>0,0,MACD,8,0),Color0077BB;

STICKLINE(MACDhx>0,0,MACD,7,0),Color0088CC;

STICKLINE(MACDhx>0,0,MACD,6,0),Color0099CC;

STICKLINE(MACDhx>0,0,MACD,5,0),Color00AADD;

STICKLINE(MACDhx>0,0,MACD,4,0),Color11BBDD;

STICKLINE(MACDhx>0,0,MACD,3,0),Color22CCEE;

STICKLINE(MACDhx>0,0,MACD,2,0),Color33DDEE;

STICKLINE(MACDhx>0,0,MACD,1,0),Color44EEFF;

STICKLINE(MACDhx>0,0,MACD,1,0),Color55FFFF;

STICKLINE(MACDlx<0,MACD,0,8,0),COLOR007700;

STICKLINE(MACDlx<0,MACD,0,7,0),COLOR009900;

STICKLINE(MACDlx<0,MACD,0,6,0),COLOR00AA00;

STICKLINE(MACDlx<0,MACD,0,5,0),COLOR00BB00;

STICKLINE(MACDlx<0,MACD,0,4,0),COLOR11CC11;

STICKLINE(MACDlx<0,MACD,0,3,0),COLOR22DD22;

STICKLINE(MACDlx<0,MACD,0,2,0),COLOR33FF33;

STICKLINE(MACDlx<0,MACD,0,1,0),COLOR44FF44;

STICKLINE(MACDlx<0,MACD,0,1,0),COLOR55FF55;

STICKLINE(MACDls<0,MACD,0,8,0),ColorBB0000;

STICKLINE(MACDls<0,MACD,0,7,0),ColorCC0000;

STICKLINE(MACDls<0,MACD,0,6,0),ColorCC2200;

STICKLINE(MACDls<0,MACD,0,5,0),ColorDD4400;

STICKLINE(MACDls<0,MACD,0,4,0),ColorDD6611;

STICKLINE(MACDls<0,MACD,0,3,0),ColorEE8822;

STICKLINE(MACDls<0,MACD,0,2,0),ColorEEAA33;

STICKLINE(MACDls<0,MACD,0,1,0),ColorFFBB44;

STICKLINE(MACDls<0,MACD,0,1,0),Color55FF55;

STICKLINE(MACDlx<0,MACD,0,8,0),ColorBB0000;

STICKLINE(MACDlx<0,MACD,0,7,0),ColorCC0000;

STICKLINE(MACDlx<0,MACD,0,6,0),ColorCC2200;

STICKLINE(MACDlx<0,MACD,0,5,0),ColorDD4400;

STICKLINE(MACDlx<0,MACD,0,4,0),ColorDD6611;

STICKLINE(MACDlx<0,MACD,0,3,0),ColorEE8822;

STICKLINE(MACDlx<0,MACD,0,2,0),ColorEEAA33;

STICKLINE(MACDlx<0,MACD,0,1,0),ColorFFBB44;

STICKLINE(MACDlx<0,MACD,0,1,0),ColorFFCC55;

STICKLINE(MACDls<0,MACD,0,8,0),Color007700;

STICKLINE(MACDls<0,MACD,0,7,0),Color009900;

STICKLINE(MACDls<0,MACD,0,6,0),Color00AA00;

STICKLINE(MACDls<0,MACD,0,5,0),Color00BB00;

STICKLINE(MACDls<0,MACD,0,4,0),Color11CC11;

STICKLINE(MACDls<0,MACD,0,3,0),Color22DD22;

STICKLINE(MACDls<0,MACD,0,2,0),Color33FF33;

STICKLINE(MACDls<0,MACD,0,1,0),Color44EF44;

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


财经频道