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

通达信预测成交量指标公式,通达信超准MACD指标公式

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

    关注√

    牛市通网微信

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

通达信预测成交量指标公式,通达信超准MACD指标公式

通达信预测成交量指标公式

M1:=5;M2:=10;M3:=20;

vol1:VOL,VOLstICK;

ma1:MA(VOL,M1);

MA2:MA(VOL,M2);

MA3:MA(VOL,M3);

⑤%:CAPITAL*5/100,COLORFFFFFF,NODRAW;

STICKLINE(C>0,⑤%,⑤%,5,-1),COLORFFFFFF;

交易分钟数:=IF(TIMETOSEC(TIME)>93000 AND TIMETOSEC(TIME)<150000,IF(TIMETOSEC(TIME)<113000,(SECTOTIME(TIME)-34200)/60,IF(TIMETOSEC(TIME)>130000,(SECTOTIME(TIME)-39600)/60,120)),240);

预测量:IF(ISLASTBAR,VOL/交易分钟数*240,VOL),COLOR00FFFF,NODRAW;

{预测量2:IF(ISLASTBAR,VOL*240/FROMOPEN,VOL),COLOR00FF00,NODRAW;}

STICKLINE(ISLASTBAR,0,预测量,3,-1),COLOR00FFFF;

STICKLINE(ISLASTBAR,0,VOL,3,0),VOLSTICK;

通达信超准MACD指标公式

difF:ema(DCLOSE,12)-Ema(DCLOSE,26);

DEA:EMA(DIFF,9),COLORFFFF00;

macd:(DIFF-DEA)*2;

stICKLINE(MacD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;

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

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

STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLOR00FFFF;

多转空:=((((LLV(MACD,4)>0) AND (MACDREF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));

空转多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)

DRAWICON(多转空,MACD,2);

DRAWICON(空转多,MACD,1);

低位金叉:=crOSS(DIFF,DEA) AND DIFF<-0.1;

DRAWTEXT(低位金叉,DEA,' 低位金叉'),COLORFF00FF;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

STICKLINE(二次金叉,0,0.2,2,0),COLORFF00FF;

DRAWTEXT(二次金叉,DEA*1.06,'二次金叉'),COLORRED;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

DRAWTEXT(底背离-0.2-MACD,'底背离'),COLORWHITE;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);

DRAWTEXT(顶背离,0.2+MACD,'顶背离'),COLORWHITE;

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

责任编辑:admin888 标签:通达信预测成交量指标公式,通达信超准MACD指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信预测成交量指标公式,通达信超准MACD指标公式

admin888

|

通达信预测成交量指标公式,通达信超准MACD指标公式

通达信预测成交量指标公式

M1:=5;M2:=10;M3:=20;

vol1:VOL,VOLstICK;

ma1:MA(VOL,M1);

MA2:MA(VOL,M2);

MA3:MA(VOL,M3);

⑤%:CAPITAL*5/100,COLORFFFFFF,NODRAW;

STICKLINE(C>0,⑤%,⑤%,5,-1),COLORFFFFFF;

交易分钟数:=IF(TIMETOSEC(TIME)>93000 AND TIMETOSEC(TIME)<150000,IF(TIMETOSEC(TIME)<113000,(SECTOTIME(TIME)-34200)/60,IF(TIMETOSEC(TIME)>130000,(SECTOTIME(TIME)-39600)/60,120)),240);

预测量:IF(ISLASTBAR,VOL/交易分钟数*240,VOL),COLOR00FFFF,NODRAW;

{预测量2:IF(ISLASTBAR,VOL*240/FROMOPEN,VOL),COLOR00FF00,NODRAW;}

STICKLINE(ISLASTBAR,0,预测量,3,-1),COLOR00FFFF;

STICKLINE(ISLASTBAR,0,VOL,3,0),VOLSTICK;

通达信超准MACD指标公式

difF:ema(DCLOSE,12)-Ema(DCLOSE,26);

DEA:EMA(DIFF,9),COLORFFFF00;

macd:(DIFF-DEA)*2;

stICKLINE(MacD>=0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;

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

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

STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,1,0),COLOR00FFFF;

多转空:=((((LLV(MACD,4)>0) AND (MACDREF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));

空转多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)

DRAWICON(多转空,MACD,2);

DRAWICON(空转多,MACD,1);

低位金叉:=crOSS(DIFF,DEA) AND DIFF<-0.1;

DRAWTEXT(低位金叉,DEA,' 低位金叉'),COLORFF00FF;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

STICKLINE(二次金叉,0,0.2,2,0),COLORFF00FF;

DRAWTEXT(二次金叉,DEA*1.06,'二次金叉'),COLORRED;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

DRAWTEXT(底背离-0.2-MACD,'底背离'),COLORWHITE;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);

DRAWTEXT(顶背离,0.2+MACD,'顶背离'),COLORWHITE;

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


财经频道