|
喜好的朋侪可以实践一下。本人以为利用本指标最告急的一条原则是:选好股票,找到该指标的准确利用方法,特殊要留意时间周期的运用,找到最符合的买入点和卖出点。, L: X& E: G' X7 s: P5 M
' j/ K k& _$ \
{参数:n1: 1 100 9; n2: 1 100 5}
0 a: p7 L. c1 U" g2 vmtm:=c-ref(c,1);& h& C! Z+ S; S) k V
ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite;9 N7 D4 ~% o }# a
MAZL:MA(ZLGJ,N2),coloryellow;
6 e4 p) k) W1 u卖出:IF( CROSS(MAZL,ZLGJ) and (ref(ZLGJ,1)-ZLGJ>2),20,0),COLOR00ff00,STICK,LINETHICK2;, K/ I4 Y. {) j: M* T
买入:IF( CROSS(ZLGJ,MAZL) and (ZLGJ-ref(ZLGJ,1)>3) ,40,0),COLORred,STICK,LINETHICK3;8 F* _. N+ F8 u& Q- l
DRAWTEXT((CROSS(MAZL,ZLGJ) and (ref(ZLGJ,1)-ZLGJ>2)),50,'卖'),COLOR00ff00;! ~: @5 e* x2 p) x$ v1 d
DRAWTEXT((CROSS(ZLGJ,MAZL) and (ZLGJ-ref(ZLGJ,1)>3)),60,'买'),COLORred;% k) d7 `0 J* z, y- ^5 t
好买点:IF( CROSS(ZLGJ,MAZL) and (ZLGJ |