通达信MACD量价公式

通达信MACD量价公式

2024-05-20 0 773
资源编号 9713 最近更新 2024-05-20
¥ 免费 K币
VIP折扣
    折扣详情
  • 问道 半年会员

    免费

  • 闻道 一年会员

    免费

  • 悟道 两年会员

    免费

  • 布道 永久会员

    免费

升级VIP
立即下载 升级会员
下载不了?请联系网站客服提交链接错误!
郑重提醒: 指标和技术只供学习使用,本站不承担由此造成的任何损失!

以下是通达信MACD量价公式

通达信MACD量价公式

源码

DRAWGBK(C>0, RGB(0,108,108),RGB(88,0,0),0,\’11\’,0);

成交额:AMOUNT/100000000,NODRAW;

主力:(LARGEINTRDVOL-LARGEOUTTRDVOL)*(11)/100,NODRAW;

大单:主力/成交额/100,NODRAW;

连红:BARSLASTCOUNT(主力>0),COLORRED,NODRAW;

预量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预量,0,3,-1),COLORFFFFFF;

量_价:=1;

CTKG:=1;

W:=量_价;

EPSL:=0.0001;

ZZ:=(C+H+L)/3;

TJA:=ZZ>=MAX(C,O) AND CTKG=1;

TJB:=ZZ<=MIN(C,O) AND CTKG=1;

ZF:=IF(TJA,1,IF(TJB,-1,0));

TJ0:=TJA OR TJB;

TJ1:=H=L AND C>REF(C,1);

TJ2:=H=L AND C<REF(C,1);

TJ3:=H=L AND C=REF(C,1);

量_价:=IF(W=1,VOL,AMOUNT),STICK,COLOREEFFEE;

EE:=IF(TJ1,EPSL,IF(TJ2,-EPSL,0));

ZL:=2*(H-L)+ABS(C-O)+3*IF(TJ3,EPSL,ABS(EE));

JGL_DX:=(IF(TJ0,2/3*(2*C-H-L)+ZF*ABS(C-O),(C-O))+EE)/ZL;

买卖差:=JGL_DX*量_价,COLOR13AADD,NODRAW;

买盘:=量_价*(1+JGL_DX)/2,COLOR1133AA,NODRAW;

卖盘:=量_价*(1-JGL_DX)/2,COLORFFFF00,NODRAW;

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;

主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;

净量:=主动买盘+主动卖盘,NODRAW;

STICKLINE(C<O ,0,VOL,3.0,0),COLORFF1100;

STICKLINE(C<O ,0,VOL,2.5,0),COLORFF3300;

STICKLINE(C<O ,0,VOL,2.1,0),COLORFF5500;

STICKLINE(C<O ,0,VOL,1.5,0),COLORFF7700;

STICKLINE(C<O ,0,VOL,0.9,0),COLORFF9900;

STICKLINE(C<O ,0,VOL,0.3,0),COLORFFBB00;

STICKLINE(C=O AND C<REF(C,1),0,VOL,3.0,0),COLOR006000;

STICKLINE(C=O AND C<REF(C,1),0,VOL,2.5,0),COLOR007500;

STICKLINE(C=O AND C<REF(C,1),0,VOL,2.1,0),COLOR009100;

STICKLINE(C=O AND C<REF(C,1),0,VOL,1.5,0),COLOR00A600;

STICKLINE(C=O AND C<REF(C,1),0,VOL,0.9,0),COLOR00BB00;

STICKLINE(C=O AND C<REF(C,1),0,VOL,0.3,0),COLOR00CC00;

STICKLINE(C=O AND C>REF(C,1),0,VOL,3.0,0),COLOR555555;

STICKLINE(C=O AND C>REF(C,1),0,VOL,2.5,0),COLOR777777;

STICKLINE(C=O AND C>REF(C,1),0,VOL,2.1,0),COLOR999999;

STICKLINE(C=O AND C>REF(C,1),0,VOL,1.5,0),COLORBBBBBB;

STICKLINE(C=O AND C>REF(C,1),0,VOL,0.9,0),COLORDDDDDD;

STICKLINE(C=O AND C>REF(C,1),0,VOL,0.3,0),COLORFFFFFF;

STICKLINE(C>O,0,VOL,3.0,0),COLORFF11FF;

STICKLINE(C>O,0,VOL,2.5,0),COLORFF33FF;

STICKLINE(C>O,0,VOL,2.1,0),COLORFF55FF;

STICKLINE(C>O,0,VOL,1.5,0),COLORFF77FF;

STICKLINE(C>O,0,VOL,0.9,0),COLORFF99FF;

STICKLINE(C>O,0,VOL,0.3,0),COLORFFBBFF;

资金异动:=VOL/MA(VOL,55)*100,COLORYELLOW;

STICKLINE(主动买盘>0,0,主动买盘,3.0,0),COLOR000055;

STICKLINE(主动买盘>0,0,主动买盘,2.5,0),COLOR000077;

STICKLINE(主动买盘>0,0,主动买盘,2.1,0),COLOR000099;

STICKLINE(主动买盘>0,0,主动买盘,1.5,0),COLOR0000BB;

STICKLINE(主动买盘>0,0,主动买盘,0.9,0),COLOR0000DD;

STICKLINE(主动买盘>0,0,主动买盘,0.3,0),COLOR0000FF;

STICKLINE(主动卖盘<0,0,主动卖盘,3.0,0),COLOR006000;

STICKLINE(主动卖盘<0,0,主动卖盘,2.5,0),COLOR007500;

STICKLINE(主动卖盘<0,0,主动卖盘,2.1,0),COLOR009100;

STICKLINE(主动卖盘<0,0,主动卖盘,1.5,0),COLOR00A600;

STICKLINE(主动卖盘<0,0,主动卖盘,0.9,0),COLOR00BB00;

STICKLINE(主动卖盘<0,0,主动卖盘,0.3,0),COLOR00CC00;

STICKLINE(资金异动>100 ,0,VOL,0.6,0),COLORYELLOW;

TX80:80,POINTDOT COLORYELLOW;

DX20:20,POINTDOT COLORGREEN;

VAR2:=HHV(HIGH,21);

K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED;

D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN;

VAR3:=LLV(LOW,55);

VAR4:=HHV(HIGH,34);

VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);

VAR6:=(K+VAR5)/2;

VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);

VAR8:=EMA(VAR6,5);

VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);

DRAWICON(LONGCROSS(D,K,0.1),D,2),COLORRED;

DRAWICON(LONGCROSS(K,D,0.1),K,1),COLORGREEN;

{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}
收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

你就是股神 副图公式 通达信MACD量价公式 https://www.694.cn/ziliaoxiazai/tongdaxin/futugongshi/9713.html

常见问题
  • 售后问题,如果是单独付费的部分,请联系发布者。如果是免费部分包括VIP免费部分,请参考网站帮助中心。
查看详情
  • 因为是虚拟内容,本站只审核真实性,只供学习之用。不保证收益,所以,不接受无效无用的退款理由。
查看详情

相关文章

官方客服团队

为您解决烦忧 - 24小时在线 专业服务