通达信彩色KDJ指标公式,通达信金牛MACD背离指标公式
admin888
|通达信彩色KDJ指标公式,通达信金牛MACD背离指标公式
通达信彩色KDJ指标公式
TYP:=(HIGH+LOW+CLOSE)/3;
RSV:=(TYP-MA(TYP,14.14))/(0.015*AVEDEV(TYP,14.14));
K:EMA(RSV,3);
D:EMA(K,3);
J:3*K-2*D;
DRAWBAND(J,RGB(200,0,200),K,RGB(0,0,200));
DRAWBAND(D,RGB(0,200,0),J,RGB(200,0,200));
DRAWBAND(K,RGB(0,0,200),D,RGB(200,200,0));
通达信金牛MACD背离指标公式
DIF:EMA(CLOSE,12)-EMA(CLOSE,27),COLORRED,LINETHICK2;
DEA:EMA(DIF,9),COLORWHITE,LINETHICK2;
持仓段:=0,COLOR00CFFF;
空仓段:=0,COLORFFCCFF;
stICKLINE(DIF>DEA,-0.5,-0.6,10,1),COLOR00CFFF;
STICKLINE(DIF
macd:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((MacD0)),0,MACD,1,0),COLORLIBLUE,LINETHICK2;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORFF00FF,LINETHICK2;
建仓:IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK2;
加仓:IF(DIF<0,0,DIF),COLORRED,LINETHICK2;
白线破仓:IF(DIF
趋势强弱:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
AA:=COUNT(crOSS(DIF,DEA),BArslAST(DEA>=0));
二次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1,COLORMAGENTA,NODRAW;
DRAWTEXT(二次金叉,0.25,' 二次金叉'),COLORYELLOW;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),COLORMAGENTA,NODRAW;
STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;
底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;
DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:REF(CLOSE,A2+1)
顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。