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

真正的macd,kdj和rsi背离指标(通达信),单双线(通达信)

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

    关注√

    牛市通网微信

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

真正的macd,kdj和rsi背离指标(通达信),单双线(通达信)

真正的macd,kdj和rsi背离指标(通达信)

真正的macd,kdj和rsi背离指标

{参数N为5,10,5}difIF1:=ema(CLOSE,12) - Ema(CLOSE,26);

DEAEA1:=EMA(DIFIF1,9);

MacD1:=2*(DIFIF1-DEAEA1),stICK;

MACD2:=EMA(MACD1,3);

STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;

STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORGREEN;

STICKLINE(MACD1

STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;

DIFIF1,COLOR33FF33,LINETHICK2;

DEAEA1,COLORYELLOW,LINETHICK2;

MACD:MACD1,NODRAW,COLORMAGENTA;

强:IF(DIFIF1>=DEAEA1,DIFIF1,DRAWNULL),COLORRED,LINETHICK2;

弱:=IF(DEAEA1>=DIFIF1,DEAEA1,DRAWNULL),COLORFF9900,LINETHICK2;

DRAWICON(crOSS(DIFIF1,DEAEA1),DIFIF1+0.1,1);

DRAWICON(CROSS(DEAEA1,DIFIF1),0.4,2);

A1:=BArslAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));

B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");

DRAWTEXT(B1>0,-0.8,'MACD底背'),COLORFF00FF;

A2:=BARSLAST(REF(CROSS("kdJ.K","KDJ.D"),1));

B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");

DRAWTEXT(B2,-0.6,'KDJ底离'),COLORYELLOW;{KDJ底背离};

A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));

B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");

DRAWTEXT(B3>0,-0.3,'RSI底离'),COLORCYAN;{RSI底背离};

C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));

D1:=REF(C,C1+1)"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");

DRAWTEXT(D1>0,0.4,'MACD顶离'),COLORBLUE;{MACD顶背离}

C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));

D2:=REF(C,C2+1)"KDJ.K" AND CROSS("KDJ.D","KDJ.K");

DRAWTEXT(D2>0,0.6,'KDJ顶离'),COLORLIGRAY;{KDJ顶背离}

C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));

D3:=REF(C,C3+1)"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");

DRAWTEXT(D3>0,0.8,'RSI顶离'),COLORGREEN;{RSI顶背离};

单双线(通达信)

这是一个很好的指标.我用它操作去年就已经有300%的利益.用途.在0的上方出双线就操作.出单线休息.

A1:=ema(CLOSE,7)-Ema(CLOSE,21);

B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);

短多:IF(A1>=B1,A1,B1),LINETHICK2,COLORRED;

短空:IF(B1-A1,B1,A1),LINETHICK2,COLORGREEN;

ENTERLONG:(PEAK(1,5,5)>PEAK(1,5,6) AND PEAK(1,5,5)>PEAK(1,5,4) AND

PEAK(1,5,4)>PEAK(1,5,3) AND PEAK(1,5,3)>PEAK(1,5,2) AND

PEAK(1,5,2)>PEAK(1,5,1)) ANDcrOSS(REF(TROUGH(2,5,1),1),L*0.97);

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

责任编辑:admin888 标签:真正的macd,kdj和rsi背离指标(通达信),单双线(通达信)
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

真正的macd,kdj和rsi背离指标(通达信),单双线(通达信)

admin888

|

真正的macd,kdj和rsi背离指标(通达信),单双线(通达信)

真正的macd,kdj和rsi背离指标(通达信)

真正的macd,kdj和rsi背离指标

{参数N为5,10,5}difIF1:=ema(CLOSE,12) - Ema(CLOSE,26);

DEAEA1:=EMA(DIFIF1,9);

MacD1:=2*(DIFIF1-DEAEA1),stICK;

MACD2:=EMA(MACD1,3);

STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;

STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORGREEN;

STICKLINE(MACD1

STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;

DIFIF1,COLOR33FF33,LINETHICK2;

DEAEA1,COLORYELLOW,LINETHICK2;

MACD:MACD1,NODRAW,COLORMAGENTA;

强:IF(DIFIF1>=DEAEA1,DIFIF1,DRAWNULL),COLORRED,LINETHICK2;

弱:=IF(DEAEA1>=DIFIF1,DEAEA1,DRAWNULL),COLORFF9900,LINETHICK2;

DRAWICON(crOSS(DIFIF1,DEAEA1),DIFIF1+0.1,1);

DRAWICON(CROSS(DEAEA1,DIFIF1),0.4,2);

A1:=BArslAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));

B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");

DRAWTEXT(B1>0,-0.8,'MACD底背'),COLORFF00FF;

A2:=BARSLAST(REF(CROSS("kdJ.K","KDJ.D"),1));

B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");

DRAWTEXT(B2,-0.6,'KDJ底离'),COLORYELLOW;{KDJ底背离};

A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));

B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");

DRAWTEXT(B3>0,-0.3,'RSI底离'),COLORCYAN;{RSI底背离};

C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));

D1:=REF(C,C1+1)"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");

DRAWTEXT(D1>0,0.4,'MACD顶离'),COLORBLUE;{MACD顶背离}

C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));

D2:=REF(C,C2+1)"KDJ.K" AND CROSS("KDJ.D","KDJ.K");

DRAWTEXT(D2>0,0.6,'KDJ顶离'),COLORLIGRAY;{KDJ顶背离}

C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));

D3:=REF(C,C3+1)"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");

DRAWTEXT(D3>0,0.8,'RSI顶离'),COLORGREEN;{RSI顶背离};

单双线(通达信)

这是一个很好的指标.我用它操作去年就已经有300%的利益.用途.在0的上方出双线就操作.出单线休息.

A1:=ema(CLOSE,7)-Ema(CLOSE,21);

B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);

短多:IF(A1>=B1,A1,B1),LINETHICK2,COLORRED;

短空:IF(B1-A1,B1,A1),LINETHICK2,COLORGREEN;

ENTERLONG:(PEAK(1,5,5)>PEAK(1,5,6) AND PEAK(1,5,5)>PEAK(1,5,4) AND

PEAK(1,5,4)>PEAK(1,5,3) AND PEAK(1,5,3)>PEAK(1,5,2) AND

PEAK(1,5,2)>PEAK(1,5,1)) ANDcrOSS(REF(TROUGH(2,5,1),1),L*0.97);

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


财经频道