ma20:ma(c,20),colorwhite,linethick2;" N: B5 [: k+ E! c5 G7 }) w5 d
ma120:ma(c,120),colorffcccc,linethick2;2 Q+ A0 ], V: y
ma250:ma(c,250),colorffcc66,linethick2;' M/ G- K9 N- V
乖离线:=((c-ref(ma20,1))/20+ma20)*1.20;8 x. e, A* A2 ~( p X
tt1:=cross(ma20,ma120) and cross(ma20,ma250) and v>ref(v,1);
, Q d) Q) _/ S& [tt2:=ma20>ref(ma20,2) and v>ref(v,1) and cross(c,ma20);
, l! z/ M# V3 S/ N1 dSTICKLINE(TT1,l,l-0.09,4,0),coloryellow;
$ B" i. i& @0 N. V s) j" U& xDRAWTEXT(TT1,l-0.13,'金叉'),coloryellow;
/ Z/ f! i( p& }9 f* m% w. XSTICKLINE(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l,l-0.09,4,0),coloryellow;
, P! V7 K$ d3 C- p; }) z! q2 ~0 g. t XDRAWTEXT(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l-0.13,'并线着花'),coloryellow;2 O3 n( C& a. q$ w
STICKLINE(tt2,l,l-0.09,4,0),coloryellow;
# a% \+ L4 J, a) `DRAWTEXT(tt2,l-0.13,'买点1'),coloryellow;
. H4 n. M2 n6 D. L& }STICKLINE(cross(c,乖离线),h,h+0.09,4,0),color00ff00;
4 x6 t( Z$ S2 @! Z1 s& l ?4 [6 C3 DDRAWTEXT(cross(c,乖离线) ,h+0.13,'卖点'),color00ff00;. I9 m( m, T }2 w3 o% V8 z
STICKLINE(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l,l-0.09,4,0),colorffcc66;
: N% u5 i6 Z" U" t% pDRAWTEXT(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l-0.13,'牛象'),colorffcc66;, E* J6 t. W, `+ |5 k
STICKLINE(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l,l-0.09,4,0),colorff00ff;5 i. t7 f1 y% q! C
DRAWTEXT(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l-0.13,'买点2'), |