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

通达信多空警报指标公式,通达信统一MACD指标公式

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

    关注√

    牛市通网微信

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

通达信多空警报指标公式,通达信统一MACD指标公式

通达信多空警报指标公式

VAR1:=ema(ma(IF(CLOSE>OPEN,(CLOSE-OPEN)*vol,IF(CLOSE

VAR2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE

VAR3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN

VAR4:=EMA(MA(IF(CLOSEOPEN,(OPEN-CLOSE)*VOL,0)),10),1);

VAR5:=EMA(MA(IF(CLOSEREF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);

VAR6:=EMA(MA(IF(OPENREF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);

VAR7:=CLOSE>OPEN;

VAR8:=CLOSE>REF(CLOSE,1);

VAR9:=OPEN>REF(CLOSE,1);

多头:(VAR1+VAR2+VAR3)/3/100,COLORWHITE;

空头:(VAR4+VAR5+VAR6)/3/100,COLORYELLOW ;

一次警报:EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100,COLORMAGENTA;

二次警报:EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/3*MA(多头,5)*2*1.1,2),COLORBLUE;

stICKLINE(空头>0,0,空头,1,0),COLORCYAN;

STICKLINE(空头<0,0,空头,1,0),COLORRED;

修改:EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100,POINTDOT,COLOR9587FF;

通达信统一MACD指标公式

SH:=12;LO:=26;M:=9;

DA:=IF(DATE<1070531,1,0);

DJ:=MINUTE-REF(MINUTE,1);

SJ1:=HHV(HOUR-REF(HOUR,1),5);

SJ2:=LLV(HOUR-REF(HOUR,1),5);

KJ:=IF(DJ=5 OR DJ=-55 OR DJ=-25 OR DJ=35,5,

IF(DJ=-15 OR DJ=-45 OR DJ=15 OR DJ=45,15,

IF(LLV(DJ,80)=0 AND SJ1=0,240,

IF((DJ=0 OR DJ=-30 OR DJ=30) AND SJ1<3 AND SJ2<=0,30,

IF(LLV(DJ,3)=1 OR HHV(DJ,3)=1,1,60)))));

dif:(ema(CLOSE,SH)-Ema(CLOSE,LO))/EMA(CLOSE,LO)*1000,COLORGREEN;

DEA:EMA(DIF,M);

macd:(DIF-DEA)*2,COLORst;

JB:=(LO-SH)*KJ/(14*240);

BD:=(MacD-LLV(REF(MACD,1),2))/Abs(REF(DIF,1))/2;

该期增减:IF(BD>10,10,IF(BD<-10,-10,BD)),LINETHICK0;

L1:IF(DA=1 AND DIF>0,PLOYLINE(DIF>0,DIF),DRAWNULL),COLORWHITE;

L2:IF(DA=1 AND DIF>10*JB,PLOYLINE(DIF>10*JB,DIF),DRAWNULL),COLORRED;

L3:IF(DA=1 AND DIF>50*JB,PLOYLINE(DIF>50*JB,DIF),DRAWNULL),COLORMAGENTA;

MD:=MAX(MAX(DIF,DEA),MACD);

MX:=MIN(MIN(DIF,DEA),MACD);

MDC:=HHV(MD,50);

MXC:=LLV(MX,50);

DX:=MDC-MXC;

YS:=IF(DIF>50*JB,'强得发紫',

IF(DIF>10*JB AND DIF<50*JB,'多头区',IF(DIF>0 AND DIF<10*JB,'多头观望',

IF(DIF<0,'空头区',DRAWNULL))));

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF>50*JB,MXC+0.6*DX,YS),COLORMAGENTA;

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF>10*JB AND DIF<50*JB,MXC+0.6*DX,YS),COLORRED;

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF>0 AND DIF<10*JB,MXC+0.6*DX,YS),COLORWHITE;

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF<0,MXC+0.6*DX,YS),COLORGREEN;

DRAWTEXT(DA=1 AND DIF>0 AND DIF>DEA AND CURRBARSCOUNT=1,MXC+0.5*DX,'上升通道持续(参数③周期)');

DRAWTEXT(DA=1 AND DIF>0 AND DIF

DRAWTEXT(DA=1 AND DIF<0 AND DIF>DEA AND CURRBARSCOUNT=1,MXC+0.5*DX,'下降通道趋缓(参数③周期)');

DRAWTEXT(CURRBARSCOUNT=1,MXC+0.8*DX,'MACD庞辉V2.0大众版请阅用法注释'),COLORMAGENTA;

DRAWTEXT(CURRBARSCOUNT=1,MXC+0.4*DX,'SHOP34328852.TaoBAO.COM'),COLORMAGENTA;

{DRAWTEXT(CURRBARSCOUNT=1 AND MACD>=LLV(REF(MACD,1),2),MXC+0.6*DX,' 增强'),COLORRED;

DRAWTEXT(CURRBARSCOUNT=1 AND MACD

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

责任编辑:admin888 标签:通达信多空警报指标公式,通达信统一MACD指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信多空警报指标公式,通达信统一MACD指标公式

admin888

|

通达信多空警报指标公式,通达信统一MACD指标公式

通达信多空警报指标公式

VAR1:=ema(ma(IF(CLOSE>OPEN,(CLOSE-OPEN)*vol,IF(CLOSE

VAR2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE

VAR3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN

VAR4:=EMA(MA(IF(CLOSEOPEN,(OPEN-CLOSE)*VOL,0)),10),1);

VAR5:=EMA(MA(IF(CLOSEREF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);

VAR6:=EMA(MA(IF(OPENREF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);

VAR7:=CLOSE>OPEN;

VAR8:=CLOSE>REF(CLOSE,1);

VAR9:=OPEN>REF(CLOSE,1);

多头:(VAR1+VAR2+VAR3)/3/100,COLORWHITE;

空头:(VAR4+VAR5+VAR6)/3/100,COLORYELLOW ;

一次警报:EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100,COLORMAGENTA;

二次警报:EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/3*MA(多头,5)*2*1.1,2),COLORBLUE;

stICKLINE(空头>0,0,空头,1,0),COLORCYAN;

STICKLINE(空头<0,0,空头,1,0),COLORRED;

修改:EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100,POINTDOT,COLOR9587FF;

通达信统一MACD指标公式

SH:=12;LO:=26;M:=9;

DA:=IF(DATE<1070531,1,0);

DJ:=MINUTE-REF(MINUTE,1);

SJ1:=HHV(HOUR-REF(HOUR,1),5);

SJ2:=LLV(HOUR-REF(HOUR,1),5);

KJ:=IF(DJ=5 OR DJ=-55 OR DJ=-25 OR DJ=35,5,

IF(DJ=-15 OR DJ=-45 OR DJ=15 OR DJ=45,15,

IF(LLV(DJ,80)=0 AND SJ1=0,240,

IF((DJ=0 OR DJ=-30 OR DJ=30) AND SJ1<3 AND SJ2<=0,30,

IF(LLV(DJ,3)=1 OR HHV(DJ,3)=1,1,60)))));

dif:(ema(CLOSE,SH)-Ema(CLOSE,LO))/EMA(CLOSE,LO)*1000,COLORGREEN;

DEA:EMA(DIF,M);

macd:(DIF-DEA)*2,COLORst;

JB:=(LO-SH)*KJ/(14*240);

BD:=(MacD-LLV(REF(MACD,1),2))/Abs(REF(DIF,1))/2;

该期增减:IF(BD>10,10,IF(BD<-10,-10,BD)),LINETHICK0;

L1:IF(DA=1 AND DIF>0,PLOYLINE(DIF>0,DIF),DRAWNULL),COLORWHITE;

L2:IF(DA=1 AND DIF>10*JB,PLOYLINE(DIF>10*JB,DIF),DRAWNULL),COLORRED;

L3:IF(DA=1 AND DIF>50*JB,PLOYLINE(DIF>50*JB,DIF),DRAWNULL),COLORMAGENTA;

MD:=MAX(MAX(DIF,DEA),MACD);

MX:=MIN(MIN(DIF,DEA),MACD);

MDC:=HHV(MD,50);

MXC:=LLV(MX,50);

DX:=MDC-MXC;

YS:=IF(DIF>50*JB,'强得发紫',

IF(DIF>10*JB AND DIF<50*JB,'多头区',IF(DIF>0 AND DIF<10*JB,'多头观望',

IF(DIF<0,'空头区',DRAWNULL))));

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF>50*JB,MXC+0.6*DX,YS),COLORMAGENTA;

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF>10*JB AND DIF<50*JB,MXC+0.6*DX,YS),COLORRED;

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF>0 AND DIF<10*JB,MXC+0.6*DX,YS),COLORWHITE;

DRAWTEXT(DA=1 AND CURRBARSCOUNT=1 AND DIF<0,MXC+0.6*DX,YS),COLORGREEN;

DRAWTEXT(DA=1 AND DIF>0 AND DIF>DEA AND CURRBARSCOUNT=1,MXC+0.5*DX,'上升通道持续(参数③周期)');

DRAWTEXT(DA=1 AND DIF>0 AND DIF

DRAWTEXT(DA=1 AND DIF<0 AND DIF>DEA AND CURRBARSCOUNT=1,MXC+0.5*DX,'下降通道趋缓(参数③周期)');

DRAWTEXT(CURRBARSCOUNT=1,MXC+0.8*DX,'MACD庞辉V2.0大众版请阅用法注释'),COLORMAGENTA;

DRAWTEXT(CURRBARSCOUNT=1,MXC+0.4*DX,'SHOP34328852.TaoBAO.COM'),COLORMAGENTA;

{DRAWTEXT(CURRBARSCOUNT=1 AND MACD>=LLV(REF(MACD,1),2),MXC+0.6*DX,' 增强'),COLORRED;

DRAWTEXT(CURRBARSCOUNT=1 AND MACD

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


财经频道