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

通达信双底背离指标公式,通达信MACD三全指标公式

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

    关注√

    牛市通网微信

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

通达信双底背离指标公式,通达信MACD三全指标公式

通达信双底背离指标公式

dif:=ema(C,12)-Ema(C,26);

DEA:=EMA(DIF,9);

macd:=2*(DIF-DEA);

QZQ:=BArslAst(REF(MacD,1)<0 AND MACD>0);

QM:=LLVBARS(MACD,QZQ+20);

MQDZ:=IF(QM>QZQ,REF(MACD,QM),0);

QF:=LLVBARS(DIF,QZQ+20);

DQDZ:=IF(QF>QZQ,REF(DIF,QF),0);

XG1:=MACD<0 AND MACD>MQDZ AND DIF<0 AND DIF>DQDZ AND C=LLV(C,QZQ+20) AND MQDZ<0 AND DQDZ<0;

XG:REF(XG1,1)=1 AND MACD>REF(MACD,1);

S05:=SUM(MACD,0);

QST:=BARSLAST(MACD<0 AND REF(MACD,1)>0)+1;

QXT:=BARSLAST(MACD>0 AND REF(MACD,1)<0)+1;

S5:=IF(MACD>0,S05-REF(S05,BARSLAST(MACD<0)),S05-REF(S05,BARSLAST(MACD>0)))/10;

ST:=IF(MACD>0,REF(QST,QXT)+QXT,REF(QXT,QST)+QST);

RS5:=REF(S5,ST);

BC:IF(MACD>0 AND S5RS5 AND DEA<0,1,0));

通达信MACD三全指标公式

difF:ema(CLOSE,12)-Ema(CLOSE,26);

DEA:EMA(DIFF,9);

macd:2*(DIFF-DEA), COLORstICK,LINETHICK2;

低位金叉:=crOSS(DIFF,DEA) AND DIFF<-0.1;

STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;

DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;

DRAWICON(二次金叉,DEA*0.9,1) ;

DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;

底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;

DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);

顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;

DRAWTEXT(低位金叉 AND 二次金叉 AND 底背离,0.25,'三全项'),COLOR0000FF,LINETHICK2;

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

责任编辑:admin888 标签:通达信双底背离指标公式,通达信MACD三全指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信双底背离指标公式,通达信MACD三全指标公式

admin888

|

通达信双底背离指标公式,通达信MACD三全指标公式

通达信双底背离指标公式

dif:=ema(C,12)-Ema(C,26);

DEA:=EMA(DIF,9);

macd:=2*(DIF-DEA);

QZQ:=BArslAst(REF(MacD,1)<0 AND MACD>0);

QM:=LLVBARS(MACD,QZQ+20);

MQDZ:=IF(QM>QZQ,REF(MACD,QM),0);

QF:=LLVBARS(DIF,QZQ+20);

DQDZ:=IF(QF>QZQ,REF(DIF,QF),0);

XG1:=MACD<0 AND MACD>MQDZ AND DIF<0 AND DIF>DQDZ AND C=LLV(C,QZQ+20) AND MQDZ<0 AND DQDZ<0;

XG:REF(XG1,1)=1 AND MACD>REF(MACD,1);

S05:=SUM(MACD,0);

QST:=BARSLAST(MACD<0 AND REF(MACD,1)>0)+1;

QXT:=BARSLAST(MACD>0 AND REF(MACD,1)<0)+1;

S5:=IF(MACD>0,S05-REF(S05,BARSLAST(MACD<0)),S05-REF(S05,BARSLAST(MACD>0)))/10;

ST:=IF(MACD>0,REF(QST,QXT)+QXT,REF(QXT,QST)+QST);

RS5:=REF(S5,ST);

BC:IF(MACD>0 AND S5RS5 AND DEA<0,1,0));

通达信MACD三全指标公式

difF:ema(CLOSE,12)-Ema(CLOSE,26);

DEA:EMA(DIFF,9);

macd:2*(DIFF-DEA), COLORstICK,LINETHICK2;

低位金叉:=crOSS(DIFF,DEA) AND DIFF<-0.1;

STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;

DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;

DRAWICON(二次金叉,DEA*0.9,1) ;

DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;

底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;

DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);

顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;

DRAWTEXT(低位金叉 AND 二次金叉 AND 底背离,0.25,'三全项'),COLOR0000FF,LINETHICK2;

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


财经频道