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

通达信三重MACD指标公式,通达信K线回顾主图指标公式

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

    关注√

    牛市通网微信

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

通达信三重MACD指标公式,通达信K线回顾主图指标公式

通达信三重MACD指标公式

difF8 :=ema(CLOSE,25) - Ema(CLOSE,65),POINTDOT,LINETHICK2;

DEA8 := EMA(DIFF8,45),POINTDOT,LINETHICK2;

macd8 := 2*(DIFF8-DEA8), COLORstICK;

STICKLINE(DIFF8>=DEA8,DIFF8,DEA8,4,0),COLOR006CCC;

STICKLINE(DIFF8

STICKLINE(DIFF80,DIFF8,DEA8,4,0),COLOR003C76;

DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW,LINETHICK2;

DEA := EMA(DIFF,9)COLORGREEN,LINETHICK2;

MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK1;

STICKLINE(MACDDEA,MACD,0,0.1,0),COLORRED;

STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,3,0),COLORRED;

STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,0.1,0),COLORYELLOW;

STICKLINE(DIFF>DEA AND MACD

STICKLINE(DIFF>DEA AND MACD

STICKLINE(DIFF

{STICKLINE(DIFF

}STICKLINE(DIFFREF(MACD,1) ,MACD,0,3,0),COLOR7BA600;

{STICKLINE(DIFFREF(MACD,1),MACD,0,1,0),COLORDDDDDD;

}DIFFS : EMA(CLOSE,5) - EMA(CLOSE,12)COLORWHITE,LINETHICK1;

DEAS : EMA(DIFFS,4)COLORGREEN,LINETHICK1;

MACDS := 2*(DIFFS-DEAS), COLORSTICK,LINETHICK1;

DRAWICON(crOSS(DEA8,DIFF8),DEA8,3);

DRAWICON(CROSS(DIFF8,DEA8),DEA8,1);

DRAWTEXT(CROSS(DIFF,DEA) AND MACD8>0 AND DIFFS>DEAS,DEA,'--卧槽马');

通达信K线回顾主图指标公式

N:=2;

{招财猫}OK:=ema(O,60);

CG:=Ema(C,60);

PDU:=IF(OK>REF(OK,1) AND CG>REF(CG,1),1,0);

Z1:=MA(C,13);

ZX:=REF(Z1,13/2+1);

LIFE:=(EMA(C,60)+EMA(C,90))/2;

VAR1:=(2*C+H+L)/4;

SNOOK:=EMA(VAR1,99)*0.91;

A1:=(C-REF(C,1))/REF(C,1)*100;

MA5:=BArslAst(A1>3);

MA20:=IF(MA5>0,1,0);

STICKLINE(C>ZX AND C>=LIFE,O,C,3,0),COLOR0000FF;

STICKLINE(C>ZX AND C<=SNOOK,O,C,3,0),COLOR00FF00;

STICKLINE(C>ZX AND C>SNOOK AND C

STICKLINE(C>ZX AND MA20=0,O,C,3,0),COLOR00FFFF;

STICKLINE(C>ZX,O,C,1,0),COLORFFFFFF;

DRAWICON(crOSS(C,ZX),L*0.99,1);

DRAWICON(CROSS(ZX,C),H*1.01,5);

BY20:=MA(C,5);

招财猫:=MA(C,20),LINETHICK2,COLOR00FFFF;

鼠变异:=IF(BY20>招财猫,招财猫,BY20),LINETHICK2,COLOR808080;

选股:=CROSS(C,ZX) AND C>ZX AND MA20=0 ,LINETHICK0;

RB:=BARSCOUNT(C)=ISLASTBAR;

RD:=BARSLAST(RB);

K2:=HHV(H,50);

K1:=LLV(L,50);

T1:=C>ZX AND C>=LIFE;

T2:=C>ZX AND C>SNOOK AND C

T3:=C>ZX AND C<=SNOOK;

T4:=C<=ZX;

T5:=鼠变异>REF(鼠变异,1) AND 鼠变异!=招财猫 ;

T6:=鼠变异>REF(鼠变异,1) AND 鼠变异=招财猫 AND PDU!=1;

T7:=鼠变异>REF(鼠变异,1) AND 鼠变异=招财猫 AND PDU=1;

T8:=C>ZX AND MA20=0 ;

EEE:=T1+T2+T3+T4+T5+T6+T7+T8 ;

E:=(K2-K1)/(EEE+8) ;

DRAWTEXT(C>0 AND T1>0 AND ISLASTBAR,K2-E,'出洞了逮住它!'),COLOR0000FF;

DRAWTEXT(C>0 AND T2>0 AND ISLASTBAR,K2-E,'鼠玩猫守着它!,'),COLORFF7700;

DRAWTEXT(C>0 AND T3>0 AND ISLASTBAR,K2-E,'露尾巴动作快!,'),COLOR00FF00;

DRAWTEXT(C>0 AND T4>0 AND ISLASTBAR,K2-E,'没有了打个盹!,'),COLOR808080;

DRAWTEXT(C>0 AND T5>0 AND ISLASTBAR,K2-E*2,'发现鼠迹!'),COLOR00FF00;

DRAWTEXT(C>0 AND T6>0 AND ISLASTBAR,K2-E*2,'瞬间鼠影!'),COLORFF66FF;

DRAWTEXT(C>0 AND T7>0 AND ISLASTBAR,K2-E*2,'恶鼠难遁!'),COLOR0000FF;

{k线回顾副图}开:REF(OPEN,N-1)NODRAW;

收:REF(CLOSE,N-1)NODRAW,COLORYELLOW;

高:REF(HIGH,N-1)NODRAW,COLORWHITE;

低:REF(LOW,N-1)NODRAW,COLORYELLOW;

DRAWKLINE(高,开,低,收);

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

责任编辑:admin888 标签:通达信三重MACD指标公式,通达信K线回顾主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信三重MACD指标公式,通达信K线回顾主图指标公式

admin888

|

通达信三重MACD指标公式,通达信K线回顾主图指标公式

通达信三重MACD指标公式

difF8 :=ema(CLOSE,25) - Ema(CLOSE,65),POINTDOT,LINETHICK2;

DEA8 := EMA(DIFF8,45),POINTDOT,LINETHICK2;

macd8 := 2*(DIFF8-DEA8), COLORstICK;

STICKLINE(DIFF8>=DEA8,DIFF8,DEA8,4,0),COLOR006CCC;

STICKLINE(DIFF8

STICKLINE(DIFF80,DIFF8,DEA8,4,0),COLOR003C76;

DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW,LINETHICK2;

DEA := EMA(DIFF,9)COLORGREEN,LINETHICK2;

MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK1;

STICKLINE(MACDDEA,MACD,0,0.1,0),COLORRED;

STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,3,0),COLORRED;

STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,0.1,0),COLORYELLOW;

STICKLINE(DIFF>DEA AND MACD

STICKLINE(DIFF>DEA AND MACD

STICKLINE(DIFF

{STICKLINE(DIFF

}STICKLINE(DIFFREF(MACD,1) ,MACD,0,3,0),COLOR7BA600;

{STICKLINE(DIFFREF(MACD,1),MACD,0,1,0),COLORDDDDDD;

}DIFFS : EMA(CLOSE,5) - EMA(CLOSE,12)COLORWHITE,LINETHICK1;

DEAS : EMA(DIFFS,4)COLORGREEN,LINETHICK1;

MACDS := 2*(DIFFS-DEAS), COLORSTICK,LINETHICK1;

DRAWICON(crOSS(DEA8,DIFF8),DEA8,3);

DRAWICON(CROSS(DIFF8,DEA8),DEA8,1);

DRAWTEXT(CROSS(DIFF,DEA) AND MACD8>0 AND DIFFS>DEAS,DEA,'--卧槽马');

通达信K线回顾主图指标公式

N:=2;

{招财猫}OK:=ema(O,60);

CG:=Ema(C,60);

PDU:=IF(OK>REF(OK,1) AND CG>REF(CG,1),1,0);

Z1:=MA(C,13);

ZX:=REF(Z1,13/2+1);

LIFE:=(EMA(C,60)+EMA(C,90))/2;

VAR1:=(2*C+H+L)/4;

SNOOK:=EMA(VAR1,99)*0.91;

A1:=(C-REF(C,1))/REF(C,1)*100;

MA5:=BArslAst(A1>3);

MA20:=IF(MA5>0,1,0);

STICKLINE(C>ZX AND C>=LIFE,O,C,3,0),COLOR0000FF;

STICKLINE(C>ZX AND C<=SNOOK,O,C,3,0),COLOR00FF00;

STICKLINE(C>ZX AND C>SNOOK AND C

STICKLINE(C>ZX AND MA20=0,O,C,3,0),COLOR00FFFF;

STICKLINE(C>ZX,O,C,1,0),COLORFFFFFF;

DRAWICON(crOSS(C,ZX),L*0.99,1);

DRAWICON(CROSS(ZX,C),H*1.01,5);

BY20:=MA(C,5);

招财猫:=MA(C,20),LINETHICK2,COLOR00FFFF;

鼠变异:=IF(BY20>招财猫,招财猫,BY20),LINETHICK2,COLOR808080;

选股:=CROSS(C,ZX) AND C>ZX AND MA20=0 ,LINETHICK0;

RB:=BARSCOUNT(C)=ISLASTBAR;

RD:=BARSLAST(RB);

K2:=HHV(H,50);

K1:=LLV(L,50);

T1:=C>ZX AND C>=LIFE;

T2:=C>ZX AND C>SNOOK AND C

T3:=C>ZX AND C<=SNOOK;

T4:=C<=ZX;

T5:=鼠变异>REF(鼠变异,1) AND 鼠变异!=招财猫 ;

T6:=鼠变异>REF(鼠变异,1) AND 鼠变异=招财猫 AND PDU!=1;

T7:=鼠变异>REF(鼠变异,1) AND 鼠变异=招财猫 AND PDU=1;

T8:=C>ZX AND MA20=0 ;

EEE:=T1+T2+T3+T4+T5+T6+T7+T8 ;

E:=(K2-K1)/(EEE+8) ;

DRAWTEXT(C>0 AND T1>0 AND ISLASTBAR,K2-E,'出洞了逮住它!'),COLOR0000FF;

DRAWTEXT(C>0 AND T2>0 AND ISLASTBAR,K2-E,'鼠玩猫守着它!,'),COLORFF7700;

DRAWTEXT(C>0 AND T3>0 AND ISLASTBAR,K2-E,'露尾巴动作快!,'),COLOR00FF00;

DRAWTEXT(C>0 AND T4>0 AND ISLASTBAR,K2-E,'没有了打个盹!,'),COLOR808080;

DRAWTEXT(C>0 AND T5>0 AND ISLASTBAR,K2-E*2,'发现鼠迹!'),COLOR00FF00;

DRAWTEXT(C>0 AND T6>0 AND ISLASTBAR,K2-E*2,'瞬间鼠影!'),COLORFF66FF;

DRAWTEXT(C>0 AND T7>0 AND ISLASTBAR,K2-E*2,'恶鼠难遁!'),COLOR0000FF;

{k线回顾副图}开:REF(OPEN,N-1)NODRAW;

收:REF(CLOSE,N-1)NODRAW,COLORYELLOW;

高:REF(HIGH,N-1)NODRAW,COLORWHITE;

低:REF(LOW,N-1)NODRAW,COLORYELLOW;

DRAWKLINE(高,开,低,收);

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


财经频道