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

达信看清背离指标公式,通达信魔鬼趋势通道主图指标公式

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

    关注√

    牛市通网微信

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

达信看清背离指标公式,通达信魔鬼趋势通道主图指标公式

达信看清背离指标公式

N:=55;

WL:(CLOSE-ma(CLOSE,6))/MA(CLOSE,6)*100,LINETHICK2,COLOR0000FF;

WLT:MA(WL,89),COLOR00FFFF,LINETHICK2;

WLT1:=crOSS(WL,WLT);

WLT11:=CROSS(WL,-10);

WLT2:=FILTER(WLT1,8);

SKY:10,POINTDOT,COLORFF0000,LINETHICK1;

SEA:-10,POINTDOT,COLORFF00FF,LINETHICK1;

DRAWICON(WLT2,WLT,23);

DRAWICON(WLT11,SEA,15);

WLT3:=COUNT(WL>10,5)>=3;

WLT33:=CROSS(10,WL);

SEL:=WLT3 AND WLT33;

DRAWICON(SEL,10,19);

stICKLINE(WL>10,WL,10,0.001,0),COLOR00FF00;

STICKLINE(WL<-10,WL,-10,0.001,0),COLORFF00FF;

dif:=ema(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

macd:=(DIF-DEA)*2,COLORSTICK;

DIF底:=LLV(DIF,120);

最底价:=L=LLV(L,120);

距今:=BArslAST(最底价);

偏离:=IF((距今=0 AND DIF>DIF底),1,0);

DDD:=EXIST(偏离,20) AND SLOPE(DEA,2)>=0;

HRY:=FILTER(DDD,10);

STICKLINE(HRY,-5,-10,3,0),COLOR00FFFF;

DRAWTEXT(HRY,-5,'M背'),COLOR00FFFF;

{YYY:COUNT(偏离,5);}

DIF顶:=HHV(DIF,120);

最高价:=H=HHV(H,120);

距今高:=BARSLAST(最高价);

偏离高:=IF((距今高=0 AND DIF

GGG:=EXIST(偏离高,20) AND SLOPE(DEA,2)<0;

HRY1:=FILTER(GGG,10);

STICKLINE(HRY1,10,5,3,0),COLORFF0000;

DRAWTEXT(HRY1,5,'M背'),COLORFF0000;

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

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

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

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

KDJ底背:FILTER(IF(B2>0,-1,0),13),NODRAW;

STICKLINE(KDJ底背,-10,-5,3,0),COLORFF00FF;

DRAWTEXT(KDJ底背,-5,'K背'),COLORFF00FF;

RSI底背:FILTER(IF(B3>0,-1,0),13),NODRAW;

STICKLINE(RSI底背,-10,-5,3,0),COLOR0000FF;

DRAWTEXT(RSI底背,-5,'R背'),COLOR0000FF;

KDJ顶背:FILTER(IF(D2>0,1,0),13),NODRAW;

STICKLINE(KDJ顶背,10,5,3,0),COLORFFFF00;

DRAWTEXT(KDJ顶背,5,'K背'),COLORFFFF00;

RSI顶背:FILTER(IF(D3>0,1,0),13),NODRAW;

STICKLINE(RSI顶背,10,5,3,0),COLOR00FF00;

DRAWTEXT(RSI顶背,5,'R背'),COLOR00FF00;

DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,-4,'短'),COLORRED ;

STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,-10,-5,3,0),COLOR00FFFF;

AA1:=HHV(H,55);

BB1:=REF(H,13);

TJ1:=AA1=BB1;

XX:=LLV(L,55);

YY:=REF(L,13);

YY1:=REF(L,21);

TJ2:=XX=YY;

TJ3:=XX=YY1;

XG:=TJ1 OR TJ2;

DRAWTEXT(TJ2,-6,'离底13'),COLOR00FF00;

STICKLINE(TJ2 ,-10,-6,2,0),COLOR00FF00;

DRAWTEXT(TJ3,-4,'离底21'),COLOR00FFFF;

STICKLINE(TJ3 ,-10,-4,2,0),COLOR00FFFF;

DRAWTEXT(TJ1,-6,'离高13'),COLOR0000FF;

STICKLINE(TJ1 ,-10,-6,2,0),COLOR0000FF;

LV:=MA(C,24);

HR0:=HHV(HIGH,N);

HRY0:=LLV(LOW,N);

HRY110:=HR0*HRY0;

HRY330:=SQRT(HRY110);

NS1:=C>HRY330 AND HRY330 >=REF(HRY330,1) AND C>LV;

STICKLINE(C>0,-10,-11.5,3,0),COLORFF0000;

STICKLINE(WLT2 OR WL>WLT,-10,-11.5,3,0),COLOR00FFFF;

STICKLINE(NS1,-10,-11.5,3,0),COLOR0000FF;

DRAWTEXT(FILTER(NS1,21),-11,'持股'),COLORFFFFFF;

DRAWTEXT(FILTER(WLT2 OR WL>WLT,13),-11,'买入'),COLOR0000FF;

通达信魔鬼趋势通道主图指标公式

BF:=ma(CLOSE,20);

上:BF+2*stD(CLOSE,20),NODRAW;

下:BF-2*STD(CLOSE,20),NODRAW;

DRAWBAND(上,RGB(85,20,30),BF,RGB(0,60,5));

DRAWBAND(BF,RGB(0,60,5),下,RGB(0,60,5));

PP:=crOSS(C,MA(C,4));

EE:=STICKLINE(PP AND MA(C,20)>=REF(MA(C,20),1) AND

C>O,H,L,1,0),COLORFF00FF,LINETHICK2;{

20日均线走强买点};

dif:=ema(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

macd:=(DIF-DEA)*2;

AA:=MacD>REF(MACD,1) AND REF(MACD,1)

MACD>0;

CT:=MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)

(MACD,3)0;

PPO:=MA(C,4)>MA(C,24) AND PP AND MA(C,24)>=REF(MA(C,24),1) ;

VIP:=AA AND PPO OR CT AND PPO;

DRAWICON(VIP=1,LOW*0.95,9),COLORRED;

DRAWKLINE(H,O,L,C);

MA5:MA(CLOSE,5),COLORWHITE;

MA10:MA(CLOSE,10),COLORRED,LINETHICK2;

MA20:MA(CLOSE,20),COLORBLUE;

MA62:=MA(CLOSE,62),POINTDOT,COLORBLUE;

MA133:=MA(CLOSE,133),POINTDOT,COLORGREEN;

{涨幅}日:((C-REF(C,1))/REF(C,1))*100,COLORRED,NODRAW;

周:((C-REF(C,5))/REF(C,5))*100,COLORLIRED,NODRAW;

月:((C-REF(C,20))/REF(C,20))*100,COLORRED,NODRAW;

季:((C-REF(C,60))/REF(C,60))*100,COLORYELLOW,NODRAW;

STICKLINE(日>=9.95,O,C,2,0),COLORRED,LINETHICK2;

IF(MA10>=MA5,MA10,DRAWNULL),COLORGREEN,LINETHICK2;

IF(MA5<=MA10,MA10,DRAWNULL),COLORGREEN,LINETHICK2;

买线YGB:=EMA(C,2);

卖线YGB:=EMA(SLOPE(C,21)*20+C,42);

指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);

界:=MA(CLOSE,27);

B买:IF(CROSS(指导线,界) OR CROSS(买线YGB,卖线YGB),C,DRAWNULL),COLORMAGENTA,NODRAW;

持仓:IF(买线YGB>=卖线YGB,C,DRAWNULL),COLORRED,NODRAW;

S卖:IF(CROSS(界,指导线) OR CROSS(卖线YGB,买线YGB),C,DRAWNULL),COLORLIGRAY,NODRAW;

空仓:IF(买线YGB<卖线YGB,C,DRAWNULL),COLORGREEN,NODRAW;

N1:=7;

LC:=REF(CLOSE,1);

X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;

魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;

魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;

TJ0:=X=魔王;

TJ1:=X=魔鬼;

TJ2:=X

TJ3:=X>REF(1,X);

JRS1:=DRAWICON(TJ1 AND TJ2,X,1);

JRS2:=DRAWICON(TJ0 AND TJ3,X,2);

DRAWICON(FILTER(JRS1>0,1),L*0.97,1);

DRAWICON(FILTER(JRS2>0,1),H*1.02,15);

VAR4:=(LOW+HIGH+CLOSE)/3;

操作:=MA(VAR4,5);

拉升:=HHV(操作,13),POINTDOT;

压力:=HHV(操作,60),POINTDOT;

买卖:=LLV(操作,13),POINTDOT;

支撑:=LLV(LOW,60)*1.02,POINTDOT;

顶部:=HHV(HIGH,60)*0.98,POINTDOT,COLORCYAN;

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

责任编辑:admin888 标签:达信看清背离指标公式,通达信魔鬼趋势通道主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

达信看清背离指标公式,通达信魔鬼趋势通道主图指标公式

admin888

|

达信看清背离指标公式,通达信魔鬼趋势通道主图指标公式

达信看清背离指标公式

N:=55;

WL:(CLOSE-ma(CLOSE,6))/MA(CLOSE,6)*100,LINETHICK2,COLOR0000FF;

WLT:MA(WL,89),COLOR00FFFF,LINETHICK2;

WLT1:=crOSS(WL,WLT);

WLT11:=CROSS(WL,-10);

WLT2:=FILTER(WLT1,8);

SKY:10,POINTDOT,COLORFF0000,LINETHICK1;

SEA:-10,POINTDOT,COLORFF00FF,LINETHICK1;

DRAWICON(WLT2,WLT,23);

DRAWICON(WLT11,SEA,15);

WLT3:=COUNT(WL>10,5)>=3;

WLT33:=CROSS(10,WL);

SEL:=WLT3 AND WLT33;

DRAWICON(SEL,10,19);

stICKLINE(WL>10,WL,10,0.001,0),COLOR00FF00;

STICKLINE(WL<-10,WL,-10,0.001,0),COLORFF00FF;

dif:=ema(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

macd:=(DIF-DEA)*2,COLORSTICK;

DIF底:=LLV(DIF,120);

最底价:=L=LLV(L,120);

距今:=BArslAST(最底价);

偏离:=IF((距今=0 AND DIF>DIF底),1,0);

DDD:=EXIST(偏离,20) AND SLOPE(DEA,2)>=0;

HRY:=FILTER(DDD,10);

STICKLINE(HRY,-5,-10,3,0),COLOR00FFFF;

DRAWTEXT(HRY,-5,'M背'),COLOR00FFFF;

{YYY:COUNT(偏离,5);}

DIF顶:=HHV(DIF,120);

最高价:=H=HHV(H,120);

距今高:=BARSLAST(最高价);

偏离高:=IF((距今高=0 AND DIF

GGG:=EXIST(偏离高,20) AND SLOPE(DEA,2)<0;

HRY1:=FILTER(GGG,10);

STICKLINE(HRY1,10,5,3,0),COLORFF0000;

DRAWTEXT(HRY1,5,'M背'),COLORFF0000;

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

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

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

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

KDJ底背:FILTER(IF(B2>0,-1,0),13),NODRAW;

STICKLINE(KDJ底背,-10,-5,3,0),COLORFF00FF;

DRAWTEXT(KDJ底背,-5,'K背'),COLORFF00FF;

RSI底背:FILTER(IF(B3>0,-1,0),13),NODRAW;

STICKLINE(RSI底背,-10,-5,3,0),COLOR0000FF;

DRAWTEXT(RSI底背,-5,'R背'),COLOR0000FF;

KDJ顶背:FILTER(IF(D2>0,1,0),13),NODRAW;

STICKLINE(KDJ顶背,10,5,3,0),COLORFFFF00;

DRAWTEXT(KDJ顶背,5,'K背'),COLORFFFF00;

RSI顶背:FILTER(IF(D3>0,1,0),13),NODRAW;

STICKLINE(RSI顶背,10,5,3,0),COLOR00FF00;

DRAWTEXT(RSI顶背,5,'R背'),COLOR00FF00;

DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,-4,'短'),COLORRED ;

STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,-10,-5,3,0),COLOR00FFFF;

AA1:=HHV(H,55);

BB1:=REF(H,13);

TJ1:=AA1=BB1;

XX:=LLV(L,55);

YY:=REF(L,13);

YY1:=REF(L,21);

TJ2:=XX=YY;

TJ3:=XX=YY1;

XG:=TJ1 OR TJ2;

DRAWTEXT(TJ2,-6,'离底13'),COLOR00FF00;

STICKLINE(TJ2 ,-10,-6,2,0),COLOR00FF00;

DRAWTEXT(TJ3,-4,'离底21'),COLOR00FFFF;

STICKLINE(TJ3 ,-10,-4,2,0),COLOR00FFFF;

DRAWTEXT(TJ1,-6,'离高13'),COLOR0000FF;

STICKLINE(TJ1 ,-10,-6,2,0),COLOR0000FF;

LV:=MA(C,24);

HR0:=HHV(HIGH,N);

HRY0:=LLV(LOW,N);

HRY110:=HR0*HRY0;

HRY330:=SQRT(HRY110);

NS1:=C>HRY330 AND HRY330 >=REF(HRY330,1) AND C>LV;

STICKLINE(C>0,-10,-11.5,3,0),COLORFF0000;

STICKLINE(WLT2 OR WL>WLT,-10,-11.5,3,0),COLOR00FFFF;

STICKLINE(NS1,-10,-11.5,3,0),COLOR0000FF;

DRAWTEXT(FILTER(NS1,21),-11,'持股'),COLORFFFFFF;

DRAWTEXT(FILTER(WLT2 OR WL>WLT,13),-11,'买入'),COLOR0000FF;

通达信魔鬼趋势通道主图指标公式

BF:=ma(CLOSE,20);

上:BF+2*stD(CLOSE,20),NODRAW;

下:BF-2*STD(CLOSE,20),NODRAW;

DRAWBAND(上,RGB(85,20,30),BF,RGB(0,60,5));

DRAWBAND(BF,RGB(0,60,5),下,RGB(0,60,5));

PP:=crOSS(C,MA(C,4));

EE:=STICKLINE(PP AND MA(C,20)>=REF(MA(C,20),1) AND

C>O,H,L,1,0),COLORFF00FF,LINETHICK2;{

20日均线走强买点};

dif:=ema(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

macd:=(DIF-DEA)*2;

AA:=MacD>REF(MACD,1) AND REF(MACD,1)

MACD>0;

CT:=MACD>REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)

(MACD,3)0;

PPO:=MA(C,4)>MA(C,24) AND PP AND MA(C,24)>=REF(MA(C,24),1) ;

VIP:=AA AND PPO OR CT AND PPO;

DRAWICON(VIP=1,LOW*0.95,9),COLORRED;

DRAWKLINE(H,O,L,C);

MA5:MA(CLOSE,5),COLORWHITE;

MA10:MA(CLOSE,10),COLORRED,LINETHICK2;

MA20:MA(CLOSE,20),COLORBLUE;

MA62:=MA(CLOSE,62),POINTDOT,COLORBLUE;

MA133:=MA(CLOSE,133),POINTDOT,COLORGREEN;

{涨幅}日:((C-REF(C,1))/REF(C,1))*100,COLORRED,NODRAW;

周:((C-REF(C,5))/REF(C,5))*100,COLORLIRED,NODRAW;

月:((C-REF(C,20))/REF(C,20))*100,COLORRED,NODRAW;

季:((C-REF(C,60))/REF(C,60))*100,COLORYELLOW,NODRAW;

STICKLINE(日>=9.95,O,C,2,0),COLORRED,LINETHICK2;

IF(MA10>=MA5,MA10,DRAWNULL),COLORGREEN,LINETHICK2;

IF(MA5<=MA10,MA10,DRAWNULL),COLORGREEN,LINETHICK2;

买线YGB:=EMA(C,2);

卖线YGB:=EMA(SLOPE(C,21)*20+C,42);

指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);

界:=MA(CLOSE,27);

B买:IF(CROSS(指导线,界) OR CROSS(买线YGB,卖线YGB),C,DRAWNULL),COLORMAGENTA,NODRAW;

持仓:IF(买线YGB>=卖线YGB,C,DRAWNULL),COLORRED,NODRAW;

S卖:IF(CROSS(界,指导线) OR CROSS(卖线YGB,买线YGB),C,DRAWNULL),COLORLIGRAY,NODRAW;

空仓:IF(买线YGB<卖线YGB,C,DRAWNULL),COLORGREEN,NODRAW;

N1:=7;

LC:=REF(CLOSE,1);

X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;

魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;

魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;

TJ0:=X=魔王;

TJ1:=X=魔鬼;

TJ2:=X

TJ3:=X>REF(1,X);

JRS1:=DRAWICON(TJ1 AND TJ2,X,1);

JRS2:=DRAWICON(TJ0 AND TJ3,X,2);

DRAWICON(FILTER(JRS1>0,1),L*0.97,1);

DRAWICON(FILTER(JRS2>0,1),H*1.02,15);

VAR4:=(LOW+HIGH+CLOSE)/3;

操作:=MA(VAR4,5);

拉升:=HHV(操作,13),POINTDOT;

压力:=HHV(操作,60),POINTDOT;

买卖:=LLV(操作,13),POINTDOT;

支撑:=LLV(LOW,60)*1.02,POINTDOT;

顶部:=HHV(HIGH,60)*0.98,POINTDOT,COLORCYAN;

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


财经频道