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

通达信机会风险系数指标公式,通达信MACD线底积顶指标公式

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

    关注√

    牛市通网微信

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

通达信机会风险系数指标公式,通达信MACD线底积顶指标公式

通达信机会风险系数指标公式

LC := REF(CLOSE,1);

rsi1:=SMA(maX(CLOSE-LC,0),3,1)/SMA(Abs(CLOSE-LC),3,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;

相对强弱:=0.5*RSI1+0.31*RSI2+0.19*RSI3;

WAVE1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);

WAVE2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);

WAVE3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);

短线波段=0.5*WAVE1+0.31*WAVE2+0.19*WAVE3;

机会区:20,POINTDOT,COLORRED;

风险区:80,POINTDOT,COLORGREEN;

风险系数:0.5*相对强弱+0.5*短线波段,COLORYELLOW;CD1:=IF(风险系数<20 AND CLOSE>OPEN ANDddx>0,1,0);

CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND DDX>0,1,0);

CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);

LBUY:=(CD1=1 OR CD2=1 OR CD3=1);

X:=(LBUY AND COUNT(LBUY,3)=1);

DRAWICON(REF(风险系数,1)<20&&crOSS(风险系数,REF(风险系数,1)),风险系数,1);

通达信MACD线底积顶指标公式

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

DEA:EMA(DIFF,9);

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

JC:=DEA-DIFF;

绿柱面积:=IF(MacD<0,SUM(MACD,BArslAST(JC<0)),0);

红柱面积:=IF(MACD>0,SUM(MACD,BARSLAST(JC>0)),0);

本次最低价:=LLV(L,BARSLAST(JC<0));

本次最高价:=HHV(H,BARSLAST(JC>0));

X1:=IF(MACD<0,BARSLAST(crOSS(DIFF,DEA)),0);

前次绿柱面积:=REF(绿柱面积,X1+1);

前次最低价:=REF(本次最低价,X1+1);

Y1:=IF(绿柱面积<0 AND Abs(绿柱面积) AND 本次最低价<前次最低价,1,0);

RS1:=MACD<0 AND REF(MACD,1)<0 AND C<前次最低价 AND ABS(绿柱面积);

底背驰:=IF(CROSS(DIFF,DEA),REF(Y1,1),0);

DRAWTEXT(底背驰,-0.01,'积底'),COLORRED;{DRAWBAND(DIFF,RGB(200,50,55),DEA,RGB(50,100,10));}

X2:=IF(MACD>0,BARSLAST(CROSS(DEA,DIFF)),0);

前次红柱面积:=REF(红柱面积,X2+1);

前次最高价:=REF(本次最高价,X2+1);

Y2:=IF(红柱面积>0 AND 红柱面积<前次红柱面积 AND 本次最高价>前次最高价,1,0);

RS2:=MACD>0 AND REF(MACD,1)>0 AND C>前次最高价 AND ABS(红柱面积);

顶背驰:=IF(CROSS(DEA,DIFF),REF(Y2,1),0);

DRAWTEXT(顶背驰,0.01,'积顶'),COLORGREEN;

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

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

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

DRAWTEXT(底背离,DEA,'线底'),COLORRED;

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

顶背离:=REF(CLOSE,A22+1)

DRAWTEXT(顶背离,DEA,'线顶'),COLORGREEN;

A1:=DIFF<0 AND DEA<0;

A2:=A1>REF(A1,1);

A3:=BARSLAST(A2);

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

责任编辑:admin888 标签:通达信机会风险系数指标公式,通达信MACD线底积顶指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信机会风险系数指标公式,通达信MACD线底积顶指标公式

admin888

|

通达信机会风险系数指标公式,通达信MACD线底积顶指标公式

通达信机会风险系数指标公式

LC := REF(CLOSE,1);

rsi1:=SMA(maX(CLOSE-LC,0),3,1)/SMA(Abs(CLOSE-LC),3,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;

相对强弱:=0.5*RSI1+0.31*RSI2+0.19*RSI3;

WAVE1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);

WAVE2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);

WAVE3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);

短线波段=0.5*WAVE1+0.31*WAVE2+0.19*WAVE3;

机会区:20,POINTDOT,COLORRED;

风险区:80,POINTDOT,COLORGREEN;

风险系数:0.5*相对强弱+0.5*短线波段,COLORYELLOW;CD1:=IF(风险系数<20 AND CLOSE>OPEN ANDddx>0,1,0);

CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND DDX>0,1,0);

CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);

LBUY:=(CD1=1 OR CD2=1 OR CD3=1);

X:=(LBUY AND COUNT(LBUY,3)=1);

DRAWICON(REF(风险系数,1)<20&&crOSS(风险系数,REF(风险系数,1)),风险系数,1);

通达信MACD线底积顶指标公式

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

DEA:EMA(DIFF,9);

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

JC:=DEA-DIFF;

绿柱面积:=IF(MacD<0,SUM(MACD,BArslAST(JC<0)),0);

红柱面积:=IF(MACD>0,SUM(MACD,BARSLAST(JC>0)),0);

本次最低价:=LLV(L,BARSLAST(JC<0));

本次最高价:=HHV(H,BARSLAST(JC>0));

X1:=IF(MACD<0,BARSLAST(crOSS(DIFF,DEA)),0);

前次绿柱面积:=REF(绿柱面积,X1+1);

前次最低价:=REF(本次最低价,X1+1);

Y1:=IF(绿柱面积<0 AND Abs(绿柱面积) AND 本次最低价<前次最低价,1,0);

RS1:=MACD<0 AND REF(MACD,1)<0 AND C<前次最低价 AND ABS(绿柱面积);

底背驰:=IF(CROSS(DIFF,DEA),REF(Y1,1),0);

DRAWTEXT(底背驰,-0.01,'积底'),COLORRED;{DRAWBAND(DIFF,RGB(200,50,55),DEA,RGB(50,100,10));}

X2:=IF(MACD>0,BARSLAST(CROSS(DEA,DIFF)),0);

前次红柱面积:=REF(红柱面积,X2+1);

前次最高价:=REF(本次最高价,X2+1);

Y2:=IF(红柱面积>0 AND 红柱面积<前次红柱面积 AND 本次最高价>前次最高价,1,0);

RS2:=MACD>0 AND REF(MACD,1)>0 AND C>前次最高价 AND ABS(红柱面积);

顶背驰:=IF(CROSS(DEA,DIFF),REF(Y2,1),0);

DRAWTEXT(顶背驰,0.01,'积顶'),COLORGREEN;

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

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

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

DRAWTEXT(底背离,DEA,'线底'),COLORRED;

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

顶背离:=REF(CLOSE,A22+1)

DRAWTEXT(顶背离,DEA,'线顶'),COLORGREEN;

A1:=DIFF<0 AND DEA<0;

A2:=A1>REF(A1,1);

A3:=BARSLAST(A2);

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


财经频道