同花顺睿哥四色MACD副图指标
-
相关简介:同花顺睿哥四色MACD副图指标 源码 DIFF : EMA(CLOSE,12) - EMA(CLOSE,26); DEA : EMA(DIFF,9); MACD=2*(DIFF-DEA); Zero : 0; gj:=MAX(C,O); STICKLINE(MACD0 AND MACD=REF(MACD,1),0,MACD,2,0),color0000ff; STICKLINE(MACD0 AND MACD STICKLINE(MACD0 AND MACD=REF(MACD,1),0,MACD,
-
文章来源:股海网作者:股海网发布时间:2016-04-30浏览次数:
同花顺睿哥四色MACD副图指标
源码
DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;
DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;
DRAWTEXT(顶背离,REF(DEA,A2)*1.18,' 顶背离'),colorgreen;
A0:=DIFF<0 AND DEA<0;
A11:=A0>REF(A0,1);
A3:=BARSLAST(A11);
A4:=COUNT(DEA>0 AND DIFF >0,A3)=0;
A5:=CROSS(DIFF ,DEA);
A6:=BARSLAST(A5);
A7:=REF(A6,A6+1)+A6;
A8:=(DIFF+DEA)/2;
A9:=(HIGH+LOW)/2;
A10:=A5 AND A7REF(A8,A7) AND A90;
//DRAWTEXT(A10,DIFF*0.95,'金叉买入'),coloryellow;