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

通达信MACD优化自编指标公式,通达信阶段底部指标公式

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

    关注√

    牛市通网微信

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

通达信MACD优化自编指标公式,通达信阶段底部指标公式

通达信MACD优化自编指标公式

DIFF:MA(CLOSE,12)-MA(CLOSE,26),COLORFFFFFF,LINETHICK2,COLORFF7F00;

DEA:MA(DIFF,9),COLOR00FFFF,LINETHICK2,COLORFF7F00;

DRAWBAND(DIFF,RGB(155,50,50),DEA,RGB(0,100,50));

macd:2*(DIFF-DEA), COLORstICK,LINETHICK1;

抄底:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),0.15,(-0)),COLOR00FF00,LINETHICK1;

中区:0,COLORYELLOW,LINETHICK1;

动力:MA(MacD,5),COLORYELLOW,LINETHICK2;

主动:IF(MACD>=动力 AND 动力<=中区,动力,DRAWNULL),COLORYELLOW,LINETHICK2;

主拉:IF(动力>=中区,动力,DRAWNULL),COLORRED,LINETHICK2;

翻空:IF(动力<中区 AND 动力>MACD,动力,DRAWNULL),COLORGREEN,LINETHICK2;

中区10:0,COLORFFFF00,LINETHICK1;

动力10:MA(MACD,10),COLORFFFF00,LINETHICK2;

主动10:IF(MACD>=动力10 AND 动力10<=中区10,动力10,DRAWNULL),COLORFFFF00,LINETHICK2;

主拉10:IF(动力10>=中区10,动力10,DRAWNULL),COLORFF43B9,LINETHICK2;

翻空10:IF(动力10<中区10 AND 动力10>MACD,动力10,DRAWNULL),COLOR00FF00,LINETHICK2;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORRED;

STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORRED;

STICKLINE(MACD0,0,MACD,1,0),COLORGREEN;

STICKLINE(MACD

沉:IF(DIFF>=DEA,DIFF,DRAWNULL),COLORRED;

着:IF(DEA>=DIFF,DEA,DRAWNULL),COLORFF9900;

冷:IF(DIFF>=DEA,DEA,DRAWNULL),COLOR00FFFF;

静:IF(DEA>=DIFF,DIFF,DRAWNULL),COLOR00FF00;

AA:=BArslAST(REF(crOSS(DIFF,DEA),1));

BB:=REF(CLOSE,AA+1)>CLOSE AND DIFF>REF(DIFF,AA+1) AND CROSS(DIFF,DEA);

乐:DRAWLINE(AA=0,DEA,BB,DEA,0),COLOR0000FF;

STICKLINE(BB,-0.2,0.2,0,1),COLORFFFFFF;

主升: DIFF>0 AND DIFF>DEA,COLOR0000FF,POINTDOT,NODRAW;

STICKLINE(主升,DIFF,DEA,5,0),COLORFF00FF;

DRAWICON(CROSS(DIFF,DEA),DIFF,1);

DRAWICON(CROSS(DEA,DIFF),DEA,2);

通达信阶段底部指标公式

LC:=REF(CLOSE,1);

rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100);

TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);

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

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

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

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

pdi:=((DMP * 100) / TR1);

mdi:=((DMM * 100) / TR1);

ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);

AV:=(RSI5 + ADX);

DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);

0,COLORFF00FF;

wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));

NEWvol:=(RSI5 - WR10);

阶段底部:=(AV + NEWVOL);

stICKLINE((阶段底部 < 0),0,-10,0.8,1),LINETHICK6,COLORYELLOW;

趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;

STICKLINE(crOSS(阶段底部,0),0,-10,0.8,1),LINETHICK6,COLORRED;

STICKLINE((趋势线 >230 ),100,90,0.3,1),LINETHICK6,COLORGREEN;

LOWV:=LLV(LOW,9);

HIGHV:=HHV(HIGH,9);

RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

K:EMA(RSV,3);

D:MA(K,3);

STICKLINE(K>D , K,D ,2.5,0),COLORRED,LINETHICK2;

STICKLINE(D>K,K,D,2.5,0),COLORGREEN,LINETHICK2;

逃顶线:90,COLORGREEN;

中轴线: 50,COLORRED;

抄底线:10,COLORGREEN;

DRAWICON(CROSS(K,D),12,1)COLORRED;

DRAWICON(CROSS(D,K),88,2)COLORGREEN;

警戒:阶段底部 < 0,LINETHICK0,COLORYELLOW;

出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;

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

责任编辑:admin888 标签:通达信MACD优化自编指标公式,通达信阶段底部指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信MACD优化自编指标公式,通达信阶段底部指标公式

admin888

|

通达信MACD优化自编指标公式,通达信阶段底部指标公式

通达信MACD优化自编指标公式

DIFF:MA(CLOSE,12)-MA(CLOSE,26),COLORFFFFFF,LINETHICK2,COLORFF7F00;

DEA:MA(DIFF,9),COLOR00FFFF,LINETHICK2,COLORFF7F00;

DRAWBAND(DIFF,RGB(155,50,50),DEA,RGB(0,100,50));

macd:2*(DIFF-DEA), COLORstICK,LINETHICK1;

抄底:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),0.15,(-0)),COLOR00FF00,LINETHICK1;

中区:0,COLORYELLOW,LINETHICK1;

动力:MA(MacD,5),COLORYELLOW,LINETHICK2;

主动:IF(MACD>=动力 AND 动力<=中区,动力,DRAWNULL),COLORYELLOW,LINETHICK2;

主拉:IF(动力>=中区,动力,DRAWNULL),COLORRED,LINETHICK2;

翻空:IF(动力<中区 AND 动力>MACD,动力,DRAWNULL),COLORGREEN,LINETHICK2;

中区10:0,COLORFFFF00,LINETHICK1;

动力10:MA(MACD,10),COLORFFFF00,LINETHICK2;

主动10:IF(MACD>=动力10 AND 动力10<=中区10,动力10,DRAWNULL),COLORFFFF00,LINETHICK2;

主拉10:IF(动力10>=中区10,动力10,DRAWNULL),COLORFF43B9,LINETHICK2;

翻空10:IF(动力10<中区10 AND 动力10>MACD,动力10,DRAWNULL),COLOR00FF00,LINETHICK2;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORRED;

STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORRED;

STICKLINE(MACD0,0,MACD,1,0),COLORGREEN;

STICKLINE(MACD

沉:IF(DIFF>=DEA,DIFF,DRAWNULL),COLORRED;

着:IF(DEA>=DIFF,DEA,DRAWNULL),COLORFF9900;

冷:IF(DIFF>=DEA,DEA,DRAWNULL),COLOR00FFFF;

静:IF(DEA>=DIFF,DIFF,DRAWNULL),COLOR00FF00;

AA:=BArslAST(REF(crOSS(DIFF,DEA),1));

BB:=REF(CLOSE,AA+1)>CLOSE AND DIFF>REF(DIFF,AA+1) AND CROSS(DIFF,DEA);

乐:DRAWLINE(AA=0,DEA,BB,DEA,0),COLOR0000FF;

STICKLINE(BB,-0.2,0.2,0,1),COLORFFFFFF;

主升: DIFF>0 AND DIFF>DEA,COLOR0000FF,POINTDOT,NODRAW;

STICKLINE(主升,DIFF,DEA,5,0),COLORFF00FF;

DRAWICON(CROSS(DIFF,DEA),DIFF,1);

DRAWICON(CROSS(DEA,DIFF),DEA,2);

通达信阶段底部指标公式

LC:=REF(CLOSE,1);

rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100);

TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);

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

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

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

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

pdi:=((DMP * 100) / TR1);

mdi:=((DMM * 100) / TR1);

ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);

AV:=(RSI5 + ADX);

DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);

0,COLORFF00FF;

wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));

NEWvol:=(RSI5 - WR10);

阶段底部:=(AV + NEWVOL);

stICKLINE((阶段底部 < 0),0,-10,0.8,1),LINETHICK6,COLORYELLOW;

趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;

STICKLINE(crOSS(阶段底部,0),0,-10,0.8,1),LINETHICK6,COLORRED;

STICKLINE((趋势线 >230 ),100,90,0.3,1),LINETHICK6,COLORGREEN;

LOWV:=LLV(LOW,9);

HIGHV:=HHV(HIGH,9);

RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);

K:EMA(RSV,3);

D:MA(K,3);

STICKLINE(K>D , K,D ,2.5,0),COLORRED,LINETHICK2;

STICKLINE(D>K,K,D,2.5,0),COLORGREEN,LINETHICK2;

逃顶线:90,COLORGREEN;

中轴线: 50,COLORRED;

抄底线:10,COLORGREEN;

DRAWICON(CROSS(K,D),12,1)COLORRED;

DRAWICON(CROSS(D,K),88,2)COLORGREEN;

警戒:阶段底部 < 0,LINETHICK0,COLORYELLOW;

出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;

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


财经频道