当前位置:首页 > 通达信公式 > 内容

通达信金兰MACD背离指标公式源码

作者:公式网   更新时间:2023-03-27   点击:

ZT:=(C/REF(C,1)>1.095 OR C/REF(C,1)>2.095) AND C=H;
DIFF:EMA(CLOSE,12) - EMA(CLOSE,25);
DEA:EMA(DIFF,9);
macd:2*(DIFF-DEA), COLORSTICK;
J1:=0.7*(26-12)/2*EMA((C-REF(C,1)),12);
J2:EMA(EMA(J1,3),3);
J3:EMA(J1,3);
A2:=BArslAST(REF(crOSS(J2,J3),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(J2,A2+1)>J3 AND CROSS(J2,J3) AND COUNT(ZT,30)>1;
DRAWTEXT(顶背离,DIFF,' 顶背游'),COLORGREEN;
A3:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离J:=REF(CLOSE,A3+1)<CLOSE AND REF(DIFF,A3+1)>DIFF AND CROSS(DEA,DIFF) AND COUNT(ZT,30)>1 ;
DRAWTEXT(顶背离J,DIFF,' 顶背金'),COLORGREEN;
MD:=MacD>0;
UP5:=UPNDAY(MACD,4) AND COUNT(MD,4)=4;
TD:=COUNT(REF(UP5,1),2) AND CROSS(J2,J3) AND COUNT(MACD<REF(MACD,1),2) AND COUNT(ZT,30)>1;
DRAWTEXT(TD,J2,'减仓'),COLORGREEN;

通达信金兰MACD背离指标公式源码

通达信金兰MACD背离指标公式源码

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web