万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信波段时机主图指标公式[万物公式]

admin 2024-05-21 23:33:37 通达信主副图指标 550 ℃

SHORT:=12;

LONG:=26;

M:=12;

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);

DEA:=EMA(DIF,M);

macd:=2*(DIF-DEA);

KK:=IF(DIF>DEA,5,-5);

JCSC:=(M-1)/(M+1)*DEA/(1-2/(M+1));

DD:=(MACD/2+(DEA*(M-1)/(M+1)))/(1-2/(M+1));

DIF转折点:=(DIF*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1)))COLORGREEN,POINTDOT;

金死叉价:=(JCSC*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1))),NODRAW;

变格:=(DD*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1))),COLORYELLOW,POINTDOT;

顶参考:=IF(变格>=DIF转折点,变格,DRAWNULL),COLORYELLOW,CIRCLEDOT,LINETHICK1;

TY:=H;

上拐:IF(DIF转折点< 变格,DIF转折点,DRAWNULL),COLORRED,LINETHICK4;

下拐:IF(DIF转折点>=变格,DIF转折点,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;

ZJ:=上拐,COLOR0000FF;

HY:=金死叉价,COLORFF00FF;

IF(ZJ>REF(ZJ,1),ZJ,DRAWNULL),COLORRED,LINETHICK2;

IF(HY>REF(HY,1),HY,DRAWNULL),COLORMAGENTA,LINETHICK2,NODRAW;

IF(HY< REF(HY,1),HY,DRAWNULL),COLORBLUE,LINETHICK2,NODRAW;

STICKLINE(C>ZJ AND C>O,H,C,0,0 ),COLORRED;

STICKLINE(C>ZJ AND C>O,L,O,0,0 ),COLORRED;

STICKLINE(C>ZJ AND C>O,O,C,2.8,1),COLORRED;

STICKLINE(C>ZJ AND C<=O,H,L,0,0 ),COLORRED;

STICKLINE(C>ZJ AND C<=O,O,C,2.8,0),COLORRED;

STICKLINE(CLOSE=ZJ,H,L,3,0),COLORWHITE;

STICKLINE(CLOSE< ZJ,H,L,0,0),COLORYELLOW;

STICKLINE(CLOSE< ZJ,O,C,2.5,0),COLORYELLOW;

STICKLINE(C< HY AND C>O,H,C,0,0),COLORCYAN;

STICKLINE(C< HY AND C>O,O,L,0,0),COLORCYAN;

STICKLINE(C< HY AND C>O,O,C,2.8,1),COLORCYAN;

STICKLINE(C< HY AND C<=O,H,L,0,0),COLORCYAN;

STICKLINE(C< HY AND C<=O,O,C,2.8,0),COLORCYAN;

HD0:=crOSS(DIF,DEA);

买入准备:DRAWICON(CROSS(变格,DIF转折点),上拐,34);

卖出准备:DRAWICON(CROSS(DIF转折点,变格),下拐,35);

SBL:=STRCAT(STRCAT(STRCAT(STRCAT(DYBLOCK,HYBLOCK),FGBLOCK),GNBLOCK),ZDBLOCK);

DRAWTEXT_FIX(ISLASTBAR,0.01,0.005,0,SBL),COLORCYAN;

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群