|
ma20:ma(c,20),colorwhite,linethick2;
- D+ E& e8 l& S9 Kma120:ma(c,120),colorffcccc,linethick2;/ a3 c' i3 {0 f" o/ G% |2 F% F
ma250:ma(c,250),colorffcc66,linethick2;
) x- U$ }3 z# s, v: [乖离线:=((c-ref(ma20,1))/20+ma20)*1.20;
1 z( D1 O# Z0 W [% q( g; Z1 h- l ?tt1:=cross(ma20,ma120) and cross(ma20,ma250) and v>ref(v,1);
' b, d: d3 P( U8 X9 |tt2:=ma20>ref(ma20,2) and v>ref(v,1) and cross(c,ma20);/ z+ h' i+ }- ~6 @6 U( B
STICKLINE(TT1,l,l-0.09,4,0),coloryellow;) \' P7 ]' @; ~( J
DRAWTEXT(TT1,l-0.13,'金叉'),coloryellow;
: ?2 v0 U1 N; H0 ^+ _STICKLINE(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l,l-0.09,4,0),coloryellow;
/ x: w. @' C; g7 S% U+ e3 GDRAWTEXT(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l-0.13,'并线着花'),coloryellow;0 T! ^0 ?( g9 }
STICKLINE(tt2,l,l-0.09,4,0),coloryellow;! R8 @7 ~( \5 r" e9 b$ s# g
DRAWTEXT(tt2,l-0.13,'买点1'),coloryellow;
" k7 q; v" K7 M6 t4 Q% I! |( E. t) cSTICKLINE(cross(c,乖离线),h,h+0.09,4,0),color00ff00;
# `) y( p8 `1 ^, B& o5 NDRAWTEXT(cross(c,乖离线) ,h+0.13,'卖点'),color00ff00;3 F& E) i7 c1 a r2 H5 b& u7 r
STICKLINE(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l,l-0.09,4,0),colorffcc66;4 C9 h( l/ J& ]) q/ H( Y6 j5 ]! i
DRAWTEXT(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l-0.13,'牛象'),colorffcc66;
1 L% N% b, E' t2 H4 c# B6 vSTICKLINE(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l,l-0.09,4,0),colorff00ff;
( ~& I& s5 S; p, I$ {- EDRAWTEXT(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l-0.13,'买点2'), |