设正点财经为首页     加入收藏
首 页 财经新闻 主力数据 财经视频 研究报告 证券软件 指标公式 股市学院 龙虎榜
软件搜索: 热词:大智慧 通达信 飞狐软件 分析家 指南针 同花顺 华尔街大师 券商行情
字母检索:
你的位置: > 正点财经 > 证券软件 > 指标公式 > 正文

通达信MACD参考指标公式

基本概况:
  • 指标类别: 通达信指标
  • 授权方式: 免费版
  • 指标评级: ★★★★★
  • 指标语言: 简体中文
  • 指标来源: 互联网
  • 指标日期: 2017-07-28 00:00:00
内容介绍:
通达信MACD参考指标公式:
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30),COLORYELLOW;
AAA:=C>REF(C,1)*1.09 AND C=H;
AQ:=MAX(MAX(MA(CLOSE,7),MA(CLOSE,13)),MA(CLOSE,34));
BQ:=MIN(MIN(MA(CLOSE,7),MA(CLOSE,13)),MA(CLOSE,34));
T2:=REF(MA(C,21),2)<REF(MA(C,21),1)<MA(C,21) AND REF(MA(C,13),2)<REF(MA(C,13),1)<MA(C,13);
T3:=REF(MA(C,34),2)<REF(MA(C,34),1)<MA(C,34) AND REF(MA(C,55),2)<REF(MA(C,55),1)<MA(C,55);
D1:=T2 AND T3 ;
AA:=VOL>REF(V,1)*1.9;
BB:=C>MA(C,5);
三线粘合:=IF(RANGE(100*(AQ-BQ)/BQ,0,5),100*(AQ-BQ)/BQ,DRAWNULL);
MA1:=MA(C,8);
MA2:=MA(C,13);
MA3:=MA(C,21);
MA4:=MA(C,34);
MA5:=MA(C,55);
P1:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3)+ABS(MA1-MA5)+ABS(MA2-MA5)+ABS(MA3-MA5)+ABS(MA4-MA5);
五线粘合:=IF(P1/C<10/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),888,0)COLORRED,LINETHICK3;
P2:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3);
四线粘合:=IF(P2/C<8/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),666,0)COLORYELLOW,LINETHICK3;
P3:=ABS(MA2-MA3)+ABS(MA3-MA4)+ABS(MA2-MA5)+ABS(MA3-MA5)+ABS(MA4-MA5)+ABS(MA2-MA3);
四线粘合2:=IF(P3/C<8/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),777,0)COLORLIRED,LINETHICK3;
粘合IN:=五线粘合 OR 四线粘合 OR 四线粘合2;
资金:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
JXTJ1:=COUNT(粘合IN,10)>=2 AND COUNT(REF(AAA,2),179)>0 AND C>O AND 资金>=80;
DSX1:=C>MA(C,10) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND C>MA(C,89);
DSX2:=C>MA(C,5) AND MA(C,5)>=MA(C,20) AND MA(C,10)>=MA(C,20) AND C>MA(C,89);
LTP:=C<38 AND FINANCE(7)/100000000<15 AND IF(NAMELIKE('*'),0,1) AND IF(NAMELIKE('S'),0,1);
HC22:=(NDAY(MA(C,21),REF(MA(C,21),1),4) AND BETWEEN(L/MA(C,30),1.001,1.005)) OR (NDAY(MA(C,21),REF(MA(C,21),1),4) AND L<MA(C,30) AND C>MA(C,30)) OR (NDAY(MA(C,21),REF(MA(C,21),1),4) AND ABS((L-MA(C,30)))/MA(C,30)*100<=0.8 AND C>MA(C,30));
HC11:=(NDAY(MA(C,30),REF(MA(C,30),1),4) AND BETWEEN(L/MA(C,30),1.001,1.005)) OR (NDAY(MA(C,30),REF(MA(C,30),1),4) AND L<MA(C,30) AND C>MA(C,30)) OR (NDAY(MA(C,30),REF(MA(C,30),1),4) AND ABS((L-MA(C,30)))/MA(C,30)*100<=0.8 AND C>MA(C,30));
DIFF:=(EMA(C,12)-EMA(C,26))*20;
DEA1:=EMA(DIFF,9);
MACD1:=2*(DIFF-DEA1);
MACD2:=EMA((3*MACD1+2*REF(MACD1,1)+REF(MACD1,2))/6,1);
HC33:=MACD1>MACD2 AND MACD1<0;
DSX:=三线粘合<5 AND C>=MA(C,89) AND D1 AND DSX2;
MDTJ1:=IF(DIF>=DEA,DIF>=DEA,HC33);
MQ1:=REF(MACD,1)>0 AND MACD<=REF(MACD,1) AND MACD>-0.01;
ZSXG:=(MACD>-0.2 AND (DIFF>=0 AND DEA1>=0 AND (MDTJ1 OR MQ1))) AND JXTJ1 AND LTP AND (DSX OR DSX1);
GL1:=(MA(C,5)-MA(C,20))/MA(C,20)*100<10;
GL3:=(MA(C,20)-MA(C,60))/MA(C,60)*100<5;
V5:=MA(VOL,5);
V10:=MA(VOL,13);
V35:=MA(VOL,35);
V60:=MA(VOL,60);
M5:=MA(CLOSE,5); 
M10:=MA(CLOSE,10); 
M20:=MA(CLOSE,20); 
M60:=MA(CLOSE,60);
M120:=MA(CLOSE,120);
G8:=MA(C,8);
G13:=MA(C,13);
G89:=MA(C,89);
NEWTJ1:=MA(C,5)>=MA(C,10) AND (MA(C,10)>=MA(C,20) OR CROSS(MA(C,10),MA(C,20))) AND MA(C,20)>=MA(C,30) AND MA(C,10)>MA(C,60) AND M
相关阅读信息
关于我们 | 商务合作 | 联系投稿 | 联系删稿 | 合作伙伴 | 法律声明 | 网站地图