通信达公式怎么用?通达信MACD操作版副图指标 www.beexiaomifeng.com小编为您提供
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK2;
MACD:DIFF-0,COLORGRAY;
ZERO:0,COLORGRAY;
熊:-0.2,COLORGREEN;
牛:0.2,COLORRED;
AA:=CROSS(DIFF,熊);
BB:=CROSS(DIFF,牛);
STICKLINE(MACD>=REF(MACD,1),0,MACD,6,0),COLORRED;
STICKLINE(MACD
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(81)<=CLOSE AND MACD>REF(MACD,1),MACD,0,6,0),COLORMAGENTA;
低位金叉:=CROSS(DIFF,DEA)AND DIFF<-0.1;
STICKLINE(低位金叉,DEA*0.86,DEA*0.66,10,0),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA)AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,DEA*0.96,DEA*0.76,10,0),COLORMAGENTA;
DRAWTEXT(二次金叉,0,'B');
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=CLOSEREF(DIFF,A1+1)AND CROSS(DIFF,DEA)AND DEA<0;
STICKLINE(底背离,DEA*1.09,DEA*0.86,10,0),COLOR00FF00;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK1;
DRAWTEXT(底背离,DEA*1.09,'底背'),COLOR6600FF;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=CLOSE>REF(CLOSE,A2+1)AND DIFF
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK1;
DRAWTEXT(顶背离,DEA*0.8,'顶背'),COLOR00FF00;
DRAWTEXT(AA,-0.2,'建'),COLORRED;
DRAWTEXT(BB,0,'击'),COLORRED;
DRAWICON(CROSS(DIFF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIFF),DEA,2);
?
更多股票公式相关资讯请关注www.beexiaomifeng.com
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!