通達(dá)信超漂亮的MACD指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)語言: 簡(jiǎn)體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-08-15 00:00:00
內(nèi)容介紹:
通達(dá)信超漂亮的MACD指標(biāo)公式:
DIFF:(EMA(C,12)-EMA(C,26))*20,COLORWHITE,LINETHICK1;
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;
MACD:=2*(DIFF-DEA);
MACD1:=2*(DIFF-DEA);
MACD2:=EMA((3*MACD1+2*REF(MACD1,1)+REF(MACD1,2))/6,1);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLORYELLOW;
STICKLINE(MACD1<MACD2,0,MACD1,0,0),COLORCYAN;
S1:=MACD<0;
S2:=(MACD>=0);
S3:=BARSLAST(CROSS(DIFF,DEA));
S4:=REF(S3,S3+1);
S5:=DEA>REF(DEA,S4);
S6:=DEA;
上成立:IF(CROSS(DIFF,DEA) AND S5,3,0),COLORYELLOW;
下成立:IF(CROSS(DIFF,DEA) AND S6,3,0),COLOR000098;
L1:=(EMA(C,3)-EMA(C,13));
L2:=EMA(L1,9);
變盤:=CROSS(L1,L2){ AND L2};
STICKLINE(變盤,5,-5,1,1),COLORD6FF9C;
成立距今:BARSLAST(CROSS(DIFF,DEA)),NODRAW;
DRAWICON(CROSS(L1,L2),DIFF,1);
DRAWICON(CROSS(L2,L1),DIFF,2);
MD:=REF(DEA,S3),POINTDOT,COLORGREEN;
金山:IF(L1>L2,MD,DRAWNULL),CIRCLEDOT,COLOR0088FF;
鉆坑:IF(MACD<0,MD,DRAWNULL),CIRCLEDOT,COLORFFAA00;
IF(DIFF>DEA,DIFF,DRAWNULL),COLORFF11CC,LINETHICK1;
LS:=IF(DIFF>DEA AND DIFF>0,1,0);
加速上揚(yáng):IF(REF(LS=0,1) AND LS=1,3,0),COLOREEEEEE;
{XG1:=CROSS(MACD1,MACD2) AND MACD1<0,LINETHICK0;
XG2:=CROSS(DIFF,DEA),LINETHICK0};
M1:=MACD>REF(MACD,1) AND DIFF<DEA;
綠柱短了:=M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD<0,5)>=5;
DRAWTEXT(綠柱短了,MACD-2.8,'綠柱短了');
通達(dá)信超漂亮的MACD指標(biāo)公式更新時(shí)間:2017-08-15 15:52
- ·中泰化學(xué)業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比略低于預(yù)期
- ·敏芯股份業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比減少674.39%
- ·百潤(rùn)股份業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比增長(zhǎng)104.7%
- ·陶瓷行業(yè)股票2023業(yè)績(jī)分析:陶瓷基板發(fā)展迅速,精密陶瓷零部件有望加速國(guó)產(chǎn)化
- ·天奧電子業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比增長(zhǎng)10.37%
- ·香飄飄業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比增長(zhǎng)110%