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

通达信波段四种背离指标公式,通达信地底炮选股指标公式

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

    关注√

    牛市通网微信

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

通达信波段四种背离指标公式,通达信地底炮选股指标公式

通达信波段四种背离指标公式

SJ:=1;

严重超买:100*SJ,COLORRED,DOTLINE;

超买:80,COLORRED,DOTLINE;

超卖:20,COLOR00FF00,DOTLINE;

严重超卖:0*SJ,COLOR00FF00,DOTLINE;

macd顶背:0,COLOR00FF00;

maCD底背:0,COLORRED;

kdj顶背:0,COLORFFCC66;

kdJ底背:0,COLORFF00FF;

rsi顶背:0,COLORFFFFFF;

RSI底背:0,COLORYELLOW;

dmi顶背:0,COLORBLUE;

DMI底背:0,COLOR0099FF;

TRR := SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);

HD := HIGH-REF(HIGH,1);

LD := REF(LOW,1)-LOW;

PDM:= SUM(IF(HD>0 AND HD>LD,HD,0),14);

MDM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);

pdi:= PDM*100/TRR;

mdi:= MDM*100/TRR;

A1:=BArslAst(REF(crOSS("MacD.dif"(12,26,9),"MACD.DEA"(12,26,9)),1))*SJ;

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

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

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

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

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

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

D1:=REF(C,C1+1)"MACD.DIF"(12,26,9) AND CROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9))*SJ;

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

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

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

D3:=REF(C,C3+1)"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24))*SJ;

C4:=BARSLAST(REF(CROSS(MDI,PDI),1));

D4:=REF(C,C+1)MDI AND CROSS(MDI,PDI);

A4:=BARSLAST(REF(CROSS(PDI,MDI),1));

B4:=REF(C,A4+1)>C AND REF(PDI,A4+1)

DRAWTEXT(B4>0,5,'DMI底背'),COLOR0099FF;

DRAWTEXT(D4>0,95,'DMI顶背'),COLORBLUE;

DRAWTEXT(B1>0,15,'MACD底背'),COLORRED;

DRAWTEXT(B2>0,10,'KDJ底背')*SJ,COLORFF00FF;

DRAWTEXT(B3>0,18,'RSI底背')*SJ,COLORYELLOW;

DRAWTEXT(D1>0,85,'MACD顶背')*SJ,COLOR00FF00;

DRAWTEXT(D2>0,90,'KDJ顶背')*SJ,COLORFFCC66;

DRAWTEXT(D3>0,96,'RSI顶背')*SJ,COLORFFFFFF;

STICKLINE(B1>0,20,0,0,0),COLORRED;

STICKLINE(B2>0,20,0,0,0),COLORFF00FF;

STICKLINE(B3>0,20,0,0,0),COLORYELLOW;

STICKLINE(D1>0,80,100,0,0),COLOR00FF00;

STICKLINE(D2>0,100,80,0,0),COLORFFCC66;

STICKLINE(D3>0,100,80,0,0),COLORWHITE;

STICKLINE(B4>0,20,0,0,0),COLOR0099FF;

STICKLINE(D4>0,100,80,0,0),COLORBLUE;

VAR188:=((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100);

VAR288:=REVERSE(VAR188);

VAR388:=SMA(VAR188,9,1);

K88:=SMA(VAR388,3,1)*SJ;

D88:=SMA(K88,3,1)*SJ;

STICKLINE((K88 >= D88),K88,D88,1,0),COLOR0000FF;

STICKLINE((K88 <= D88),K88,D88,1,0),COLOR00FF00;

通达信地底炮选股指标公式

XA_1:=ma(CLOSE,20);

XA_2:=REF(CLOSE,8)/REF(XA_1,8)<=0.82 OR REF(CLOSE,15)/REF(XA_1,15)<=0.82;

XA_3:=REF(CLOSE,1)/REF(CLOSE,2)>=1.08;

XA_4:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE>=HHV(HIGH,20)*0.95;

X5:XA_1 AND XA_2 AND XA_3 AND XA_4;

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

责任编辑:admin888 标签:通达信波段四种背离指标公式,通达信地底炮选股指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信波段四种背离指标公式,通达信地底炮选股指标公式

admin888

|

通达信波段四种背离指标公式,通达信地底炮选股指标公式

通达信波段四种背离指标公式

SJ:=1;

严重超买:100*SJ,COLORRED,DOTLINE;

超买:80,COLORRED,DOTLINE;

超卖:20,COLOR00FF00,DOTLINE;

严重超卖:0*SJ,COLOR00FF00,DOTLINE;

macd顶背:0,COLOR00FF00;

maCD底背:0,COLORRED;

kdj顶背:0,COLORFFCC66;

kdJ底背:0,COLORFF00FF;

rsi顶背:0,COLORFFFFFF;

RSI底背:0,COLORYELLOW;

dmi顶背:0,COLORBLUE;

DMI底背:0,COLOR0099FF;

TRR := SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);

HD := HIGH-REF(HIGH,1);

LD := REF(LOW,1)-LOW;

PDM:= SUM(IF(HD>0 AND HD>LD,HD,0),14);

MDM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);

pdi:= PDM*100/TRR;

mdi:= MDM*100/TRR;

A1:=BArslAst(REF(crOSS("MacD.dif"(12,26,9),"MACD.DEA"(12,26,9)),1))*SJ;

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

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

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

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

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

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

D1:=REF(C,C1+1)"MACD.DIF"(12,26,9) AND CROSS("MACD.DEA"(12,26,9),"MACD.DIF"(12,26,9))*SJ;

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

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

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

D3:=REF(C,C3+1)"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24))*SJ;

C4:=BARSLAST(REF(CROSS(MDI,PDI),1));

D4:=REF(C,C+1)MDI AND CROSS(MDI,PDI);

A4:=BARSLAST(REF(CROSS(PDI,MDI),1));

B4:=REF(C,A4+1)>C AND REF(PDI,A4+1)

DRAWTEXT(B4>0,5,'DMI底背'),COLOR0099FF;

DRAWTEXT(D4>0,95,'DMI顶背'),COLORBLUE;

DRAWTEXT(B1>0,15,'MACD底背'),COLORRED;

DRAWTEXT(B2>0,10,'KDJ底背')*SJ,COLORFF00FF;

DRAWTEXT(B3>0,18,'RSI底背')*SJ,COLORYELLOW;

DRAWTEXT(D1>0,85,'MACD顶背')*SJ,COLOR00FF00;

DRAWTEXT(D2>0,90,'KDJ顶背')*SJ,COLORFFCC66;

DRAWTEXT(D3>0,96,'RSI顶背')*SJ,COLORFFFFFF;

STICKLINE(B1>0,20,0,0,0),COLORRED;

STICKLINE(B2>0,20,0,0,0),COLORFF00FF;

STICKLINE(B3>0,20,0,0,0),COLORYELLOW;

STICKLINE(D1>0,80,100,0,0),COLOR00FF00;

STICKLINE(D2>0,100,80,0,0),COLORFFCC66;

STICKLINE(D3>0,100,80,0,0),COLORWHITE;

STICKLINE(B4>0,20,0,0,0),COLOR0099FF;

STICKLINE(D4>0,100,80,0,0),COLORBLUE;

VAR188:=((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100);

VAR288:=REVERSE(VAR188);

VAR388:=SMA(VAR188,9,1);

K88:=SMA(VAR388,3,1)*SJ;

D88:=SMA(K88,3,1)*SJ;

STICKLINE((K88 >= D88),K88,D88,1,0),COLOR0000FF;

STICKLINE((K88 <= D88),K88,D88,1,0),COLOR00FF00;

通达信地底炮选股指标公式

XA_1:=ma(CLOSE,20);

XA_2:=REF(CLOSE,8)/REF(XA_1,8)<=0.82 OR REF(CLOSE,15)/REF(XA_1,15)<=0.82;

XA_3:=REF(CLOSE,1)/REF(CLOSE,2)>=1.08;

XA_4:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE>=HHV(HIGH,20)*0.95;

X5:XA_1 AND XA_2 AND XA_3 AND XA_4;

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


财经频道