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

通达信天马图指标公式,通达信MACD金叉与背离指标公式

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

    关注√

    牛市通网微信

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

通达信天马图指标公式,通达信MACD金叉与背离指标公式

通达信天马图指标公式天马图H1:ema(CLOSE,8);

H2:Ema(天马图H1,20);

LH牛熊界:EMA(CLOSE,240),COLORRED;

VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;

VAR2:=SMA(VAR1,5,1);

VAR3:=SMA(VAR2,8,1);

VAR4:=crOSS(VAR2,VAR3) AND VAR3<20;

VAR5:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR4;

VAR6:=IF(CLOSE>1000,VAR4,VAR5);

stICKLINE(天马图H1>H2,天马图H1,H2,1,1),COLORYELLOW;

STICKLINE(天马图H1>H2,天马图H1,H2,1,2);

STICKLINE(天马图H1

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.962,''),COLORYELLOW;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.98,'●'),COLORWHITE;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.952,''),COLORRED;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.982,'●'),COLORRED;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.98,'↑'),COLORYELLOW;

通达信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,NODRAW;

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,NODRAW;

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),NODRAW;

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

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

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,LINETHICK1;

三全:低位金叉 AND 二次金叉 AND 底背离,NODRAW;

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

{obv:=DIFF;

AA1:=REF(OBV,P)=HHV(OBV,2*P+1);

B1:=FILTER(AA1,P);

C1:=BacKSET(B1,P+1);

D1:=FILTER(C1,P);

AA2:=REF(OBV,P)=LLV(OBV,2*P+1);

B2:=FILTER(AA2,P);

C2:=BACKSET(B2,P+1);

D2:=FILTER(C2,P);

R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);

S11:=R11>REF(R11,1);

DRAWLINE(D1,OBV,S11,OBV,1),COLORYELLOW;

T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);

U11:=T11>REF(T11,1);

DRAWLINE(D2,OBV,U11,OBV,1),COLOR00FF00;};

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

责任编辑:admin888 标签:通达信天马图指标公式,通达信MACD金叉与背离指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信天马图指标公式,通达信MACD金叉与背离指标公式

admin888

|

通达信天马图指标公式,通达信MACD金叉与背离指标公式

通达信天马图指标公式天马图H1:ema(CLOSE,8);

H2:Ema(天马图H1,20);

LH牛熊界:EMA(CLOSE,240),COLORRED;

VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;

VAR2:=SMA(VAR1,5,1);

VAR3:=SMA(VAR2,8,1);

VAR4:=crOSS(VAR2,VAR3) AND VAR3<20;

VAR5:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR4;

VAR6:=IF(CLOSE>1000,VAR4,VAR5);

stICKLINE(天马图H1>H2,天马图H1,H2,1,1),COLORYELLOW;

STICKLINE(天马图H1>H2,天马图H1,H2,1,2);

STICKLINE(天马图H1

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.962,''),COLORYELLOW;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.98,'●'),COLORWHITE;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.952,''),COLORRED;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.982,'●'),COLORRED;

DRAWTEXT(CROSS(天马图H1,H2),天马图H1*0.98,'↑'),COLORYELLOW;

通达信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,NODRAW;

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,NODRAW;

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),NODRAW;

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

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

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,LINETHICK1;

三全:低位金叉 AND 二次金叉 AND 底背离,NODRAW;

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

{obv:=DIFF;

AA1:=REF(OBV,P)=HHV(OBV,2*P+1);

B1:=FILTER(AA1,P);

C1:=BacKSET(B1,P+1);

D1:=FILTER(C1,P);

AA2:=REF(OBV,P)=LLV(OBV,2*P+1);

B2:=FILTER(AA2,P);

C2:=BACKSET(B2,P+1);

D2:=FILTER(C2,P);

R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);

S11:=R11>REF(R11,1);

DRAWLINE(D1,OBV,S11,OBV,1),COLORYELLOW;

T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);

U11:=T11>REF(T11,1);

DRAWLINE(D2,OBV,U11,OBV,1),COLOR00FF00;};

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


财经频道