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

大智慧人性化设计DMI指标公式,大智慧MACD抓大牛指标公式

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

    关注√

    牛市通网微信

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

大智慧人性化设计DMI指标公式,大智慧MACD抓大牛指标公式

大智慧人性化设计DMI指标公式

n:=14;

m:=6;

TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);

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

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

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);

DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);

PDI: DMP*100/TR;

MDI: DMM*100/TR;

ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M),LINETHICK4,COLORff0000;

PARTLINE(adx,(adx>=REF(adx,1) and pdi>mdi),RGB(255,0,0)),LINETHICK4;

ADXR:(ADX+REF(ADX,M))/2,COLOR888888;

PARTLINE(adxr,(adxr>=REF(adxr,1) and pdi>mdi),RGB(255,0,255)),LINETHICK2;

FILLRGN(pdi,mdi,pdi>mdi,RGB(150,0,150),pdi

大智慧MACD抓大牛指标公式

SHORT:=5;LONG:=26;M:=4;

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);

DEA : EMA(DIFF,M);

MAC: 2*(DIFF-DEA), COLORSTICK;

partline(diff,diff>=ref(diff,1),rgb(255,0,0),diff

partline(DEA,DEA>=ref(DEA,1),rgb(255,180,0),DEA

DRAWTEXTABS(3,1,'DIFF翻红,结合增仓及均线多头抓主升。'),linethick1,Colorred;DRAWTEXTABS(220,1,'DIFF泛绿时持币,宁缺毋滥。'),linethick1,Color00ff00;

0;

aa:= DIFF;

bb:= EMA(aa,M);

STICKLINE((aa>0.5 or bb>0.5),0.9,1,10,0),coloraa22aa;

STICKLINE((aa<-0.5 or bb<-0.5),-0.9,-1,10,0),color22aa22;

STICKLINE((aa>1.5 or bb>1.5),1.9,2,10,0),coloraa22aa;

STICKLINE((aa<-1.5 or bb<-1.5),-1.9,-2,10,0),color22aa22;

STICKLINE((aa>2.5 or bb>2.5),2.9,3,10,0),coloraa22aa;

STICKLINE((aa<-2.5 or bb<-2.5),-2.9,-3,10,0),color22aa22;

STICKLINE((aa>3.5 or bb>3.5),3.9,4,10,0),coloraa22aa;

STICKLINE((aa<-3.5 or bb<-3.5),-3.9,-4,10,0),color22aa22;

STICKLINE((aa>4.5 or bb>4.5),4.9,5,10,0),coloraa22aa;

STICKLINE((aa<-4.5 or bb<-4.5),-4.9,-5,10,0),color22aa22;

FILLRGN(aa,bb,aa>bb,RGB(105,0,105),aa

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

责任编辑:admin888 标签:大智慧人性化设计DMI指标公式,大智慧MACD抓大牛指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

大智慧人性化设计DMI指标公式,大智慧MACD抓大牛指标公式

admin888

|

大智慧人性化设计DMI指标公式,大智慧MACD抓大牛指标公式

大智慧人性化设计DMI指标公式

n:=14;

m:=6;

TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);

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

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

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);

DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);

PDI: DMP*100/TR;

MDI: DMM*100/TR;

ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M),LINETHICK4,COLORff0000;

PARTLINE(adx,(adx>=REF(adx,1) and pdi>mdi),RGB(255,0,0)),LINETHICK4;

ADXR:(ADX+REF(ADX,M))/2,COLOR888888;

PARTLINE(adxr,(adxr>=REF(adxr,1) and pdi>mdi),RGB(255,0,255)),LINETHICK2;

FILLRGN(pdi,mdi,pdi>mdi,RGB(150,0,150),pdi

大智慧MACD抓大牛指标公式

SHORT:=5;LONG:=26;M:=4;

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);

DEA : EMA(DIFF,M);

MAC: 2*(DIFF-DEA), COLORSTICK;

partline(diff,diff>=ref(diff,1),rgb(255,0,0),diff

partline(DEA,DEA>=ref(DEA,1),rgb(255,180,0),DEA

DRAWTEXTABS(3,1,'DIFF翻红,结合增仓及均线多头抓主升。'),linethick1,Colorred;DRAWTEXTABS(220,1,'DIFF泛绿时持币,宁缺毋滥。'),linethick1,Color00ff00;

0;

aa:= DIFF;

bb:= EMA(aa,M);

STICKLINE((aa>0.5 or bb>0.5),0.9,1,10,0),coloraa22aa;

STICKLINE((aa<-0.5 or bb<-0.5),-0.9,-1,10,0),color22aa22;

STICKLINE((aa>1.5 or bb>1.5),1.9,2,10,0),coloraa22aa;

STICKLINE((aa<-1.5 or bb<-1.5),-1.9,-2,10,0),color22aa22;

STICKLINE((aa>2.5 or bb>2.5),2.9,3,10,0),coloraa22aa;

STICKLINE((aa<-2.5 or bb<-2.5),-2.9,-3,10,0),color22aa22;

STICKLINE((aa>3.5 or bb>3.5),3.9,4,10,0),coloraa22aa;

STICKLINE((aa<-3.5 or bb<-3.5),-3.9,-4,10,0),color22aa22;

STICKLINE((aa>4.5 or bb>4.5),4.9,5,10,0),coloraa22aa;

STICKLINE((aa<-4.5 or bb<-4.5),-4.9,-5,10,0),color22aa22;

FILLRGN(aa,bb,aa>bb,RGB(105,0,105),aa

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


财经频道