通达信短线选股指标_通达信指标_金拐点主图通达信公式 主图 源码附图

流动资金资金类好公式和谐源码分享通达信公式 副图 源码附图

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));{计算出金叉死叉时的DIFF值}
 
DD:=(MACD/2+(DEA*(M-1)/(M+1)))/(1-2/(M+1));{计算出明日MACD=MACD时的DIFF值}
 
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;
 
上拐: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);
 
金收:REF(L,BARSLAST(HD0)),COLORYELLOW,DOTLINE;
 
LD0:=CROSS(DEA,DIF);
 
死收:REF(H,BARSLAST(LD0)),COLOR00FF00,DOTLINE;
 
买入准备: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、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/184243.html,转载请注明出处。
通达信《2024资金1号》主副图指标:开启投资新篇章
通达信《2024资金1号》主副图指标:开启投资新篇章
1分钟前 有人购买 去瞅瞅看
温馨提示:本站暂不支持手机端在线支付,请您在电脑端扫码完成支付!
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录