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

大智慧反向推算MACD指标公式,大智慧一凡分割主图指标公式

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

    关注√

    牛市通网微信

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

大智慧反向推算MACD指标公式,大智慧一凡分割主图指标公式

大智慧反向推算MACD指标公式

input: short (5,1,20), long(26,1,60),M(9,1,30);

DIFF: EMA(CLOSE, short)-EMA(CLOSE, long ),color0066ff,LINETHICK0,LAYER0;

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

DEA:EMA(DIFF,M),COLOR00BB00,LINETHICK1,LAYER0;

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

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

FILLRGN(DIFF,DEA,DIFF>DEA,rgb(255,0,0),DIFF

中轴:0,LAYER0,Coloreeeeee,LINETHICK1;

jcsc:=(M-1)/(M+1)*dea/(1-2/(m+1));

{计算出金叉死叉时的Diff值}dd:=(macd/2+(dea*(m-1)/(M+1)))/(1-2/(m+1));

{计算出明日macd=macd时的Diff值}xx:=(diff*(short+1)*(long+1)-(long+1)*(short-1)*ema(c,short)+(short+1)*(long-1)*ema(c,long))/(2*((long+1)-(short+1)));

{计算今日Diff=diff的对应股价}js:=(jcsc*(short+1)*(long+1)-(long+1)*(short-1)*ema(c,short)+(short+1)*(long-1)*ema(c,long))/(2*((long+1)-(short+1)));

{计算金叉死叉的对应股价}ddd:=(dd*(short+1)*(long+1)-(long+1)*(short-1)*ema(c,short)+(short+1)*(long-1)*ema(c,long))/(2*((long+1)-(short+1)));

{计算macd柱体变向时的对应股价};

DRAWTEXTABS(3,0,'DIFF拐头股价:'+numtostrn(xx,2)),ColorFFFFFF,LINETHICK3;

DRAWTEXTABS(175,0,'MACD柱体变向对应股价:'+numtostrn(ddd,2)),Color00A5FF,LINETHICK3;

DRAWTEXTABS(410,0,'金叉死叉对应股价:'+numtostrn(js,2)),COLOR00BB00,LINETHICK3;

PARTLINE(DIFF,CROSS(DIFF,DEA) AND DIFF<-0.2,RGB(255,245,12)),CROSSDOT,LINETHICK5;

PARTLINE(DIFF,CROSS(DIFF,DEA) AND DIFF>0,RGB(252,24,212)),CROSSDOT,LINETHICK5;

PARTLINE(DIFF,CROSS(DIFF,DEA) AND DIFF>-0.2 AND DIFF<0,RGB(200,80,20)),CROSSDOT,LINETHICK7;

PARTLINE(DIFF,CROSS(DEA,DIFF) AND DIFF>0,RGB(125,245,252)),CIRCLEDOT,LINETHICK5;

大智慧一凡分割主图指标公式

高:IF(C>=DYNAINFO(3),IF(TIME<=110000,HHV(C,0),ref(HHV(C,0),TIME-110000)),IF(DYNAINFO(4)

低:IF(C>=DYNAINFO(3),IF(DYNAINFO(4)>DYNAINFO(3),DYNAINFO(3),IF(TIME<=110000,LLV(C,0),ref(LLV(C,0),TIME-110000))),IF(TIME<=110000,LLV(C,0),ref(LLV(C,0),TIME-110000))),dotline,precis2,color00ff00;

突破价618:(高-低)*0.618+低,precis2,colorff00ff;

中间价:(高-低)*0.5+低,precis2,DOTLINE,colorDDDDDD;

低价382:(高-低)*0.382+低,precis2,colorffff00;

均价突破:IF(SUM(amount,0)/sum(V,0)/100>=突破价618,1,0),precis0,linethick0;

drawtext(C>DYNAINFO(3) and cross(SUM(amount,0)/sum(V,0)/100,突破价618),C*1.01,'突破618'),color0000ff;

drawtext(C

VERTLINE(C>=DYNAINFO(3) and cross(SUM(amount,0)/sum(V,0)/100,突破价618),2),color00ffff;

VERTLINE(C

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

责任编辑:admin888 标签:大智慧反向推算MACD指标公式,大智慧一凡分割主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

大智慧反向推算MACD指标公式,大智慧一凡分割主图指标公式

admin888

|

大智慧反向推算MACD指标公式,大智慧一凡分割主图指标公式

大智慧反向推算MACD指标公式

input: short (5,1,20), long(26,1,60),M(9,1,30);

DIFF: EMA(CLOSE, short)-EMA(CLOSE, long ),color0066ff,LINETHICK0,LAYER0;

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

DEA:EMA(DIFF,M),COLOR00BB00,LINETHICK1,LAYER0;

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

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

FILLRGN(DIFF,DEA,DIFF>DEA,rgb(255,0,0),DIFF

中轴:0,LAYER0,Coloreeeeee,LINETHICK1;

jcsc:=(M-1)/(M+1)*dea/(1-2/(m+1));

{计算出金叉死叉时的Diff值}dd:=(macd/2+(dea*(m-1)/(M+1)))/(1-2/(m+1));

{计算出明日macd=macd时的Diff值}xx:=(diff*(short+1)*(long+1)-(long+1)*(short-1)*ema(c,short)+(short+1)*(long-1)*ema(c,long))/(2*((long+1)-(short+1)));

{计算今日Diff=diff的对应股价}js:=(jcsc*(short+1)*(long+1)-(long+1)*(short-1)*ema(c,short)+(short+1)*(long-1)*ema(c,long))/(2*((long+1)-(short+1)));

{计算金叉死叉的对应股价}ddd:=(dd*(short+1)*(long+1)-(long+1)*(short-1)*ema(c,short)+(short+1)*(long-1)*ema(c,long))/(2*((long+1)-(short+1)));

{计算macd柱体变向时的对应股价};

DRAWTEXTABS(3,0,'DIFF拐头股价:'+numtostrn(xx,2)),ColorFFFFFF,LINETHICK3;

DRAWTEXTABS(175,0,'MACD柱体变向对应股价:'+numtostrn(ddd,2)),Color00A5FF,LINETHICK3;

DRAWTEXTABS(410,0,'金叉死叉对应股价:'+numtostrn(js,2)),COLOR00BB00,LINETHICK3;

PARTLINE(DIFF,CROSS(DIFF,DEA) AND DIFF<-0.2,RGB(255,245,12)),CROSSDOT,LINETHICK5;

PARTLINE(DIFF,CROSS(DIFF,DEA) AND DIFF>0,RGB(252,24,212)),CROSSDOT,LINETHICK5;

PARTLINE(DIFF,CROSS(DIFF,DEA) AND DIFF>-0.2 AND DIFF<0,RGB(200,80,20)),CROSSDOT,LINETHICK7;

PARTLINE(DIFF,CROSS(DEA,DIFF) AND DIFF>0,RGB(125,245,252)),CIRCLEDOT,LINETHICK5;

大智慧一凡分割主图指标公式

高:IF(C>=DYNAINFO(3),IF(TIME<=110000,HHV(C,0),ref(HHV(C,0),TIME-110000)),IF(DYNAINFO(4)

低:IF(C>=DYNAINFO(3),IF(DYNAINFO(4)>DYNAINFO(3),DYNAINFO(3),IF(TIME<=110000,LLV(C,0),ref(LLV(C,0),TIME-110000))),IF(TIME<=110000,LLV(C,0),ref(LLV(C,0),TIME-110000))),dotline,precis2,color00ff00;

突破价618:(高-低)*0.618+低,precis2,colorff00ff;

中间价:(高-低)*0.5+低,precis2,DOTLINE,colorDDDDDD;

低价382:(高-低)*0.382+低,precis2,colorffff00;

均价突破:IF(SUM(amount,0)/sum(V,0)/100>=突破价618,1,0),precis0,linethick0;

drawtext(C>DYNAINFO(3) and cross(SUM(amount,0)/sum(V,0)/100,突破价618),C*1.01,'突破618'),color0000ff;

drawtext(C

VERTLINE(C>=DYNAINFO(3) and cross(SUM(amount,0)/sum(V,0)/100,突破价618),2),color00ffff;

VERTLINE(C

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


财经频道