本人将他的选股指标改进成副图并且添加了个人思想,让大家更能直观的发现其中的奥妙。
指标说明:白柱代表预警发出收盘上涨,绿柱代表当天预警发出收盘回落,红白柱代表在原创作者的基础上加入了本人观点,数字代表涨跌幅。
如有不妥的地方感谢指正。
源码如下:
A:=(C*2+H+L)/4*10;
A1:=EMA(A,13)-EMA(A,34);
A2:=EMA(A1,5);
A3:2*(A1-A2)*5.5;
A4:IF(A3>=0,A3,0);
A5:=A4>REF(A4,1) AND REF(A3<0,1);
A6:=REF(A4,1)<=REF(A4,2)AND A4>REF(A4,1);
A7:= C/REF(C,1)>1.07;
STICKLINE(A5 AND A6 AND A7,HHV(A4,60),0,2,0),COLORRED;
STICKLINE(A5 OR A6 AND A7,HHV(A4,60)/2,0,2,0),COLORWHITE;
STICKLINE(A5 OR A6 AND C/REF(C,1)<1.07 AND H/REF(C,1)>1.07,HHV(A4,60)/3,0,2,0),COLORGREEN;
STICKLINE(A3>0,0,A3,0,-1),COLORLIRED;
STICKLINE(A3<0,0,A3,0,-1),COLORLIBLUE;
ZP:=A5 OR A6 AND A7;
涨幅:DRAWNUMBER(ZP,0,(C-REF(C,1))/REF(C,1)*100),COLORWHITE;
ZP1:=A5 AND A6 AND A7;
涨幅1:DRAWNUMBER(ZP1,0,(C-REF(C,1))/REF(C,1)*100),COLORRED;
ZP2:=A5 OR A6 AND C/REF(C,1)<1.07 AND H/REF(C,1)>1.07;
涨幅2:DRAWNUMBER(ZP2,0,(C-REF(C,1))/REF(C,1)*100),COLORGREEN;
版面已经纠正