|
ma20:ma(c,20),colorwhite,linethick2;
% e& m" X0 o' Y1 ~. T* X5 U: `ma120:ma(c,120),colorffcccc,linethick2;
* \5 d6 o7 I& ima250:ma(c,250),colorffcc66,linethick2;
' \# M, e; ?! O' u( C" |4 Q: H2 Q乖离线:=((c-ref(ma20,1))/20+ma20)*1.20;3 _. V0 \! j4 }8 e
tt1:=cross(ma20,ma120) and cross(ma20,ma250) and v>ref(v,1);1 Y" F, ^ \% k( U7 F! t
tt2:=ma20>ref(ma20,2) and v>ref(v,1) and cross(c,ma20); T# I$ g2 a. ~) C5 G
STICKLINE(TT1,l,l-0.09,4,0),coloryellow;6 T( ~. c$ r8 v
DRAWTEXT(TT1,l-0.13,'金叉'),coloryellow;
6 r# t& }, s% K' I0 U8 h, ASTICKLINE(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l,l-0.09,4,0),coloryellow;/ |$ Z! _% f3 q7 U+ [( j2 Z0 E4 V
DRAWTEXT(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l-0.13,'并线着花'),coloryellow;
7 e& B& }1 l/ ?! d" V' b! K. USTICKLINE(tt2,l,l-0.09,4,0),coloryellow;
: Y: j# m+ h2 }) c7 iDRAWTEXT(tt2,l-0.13,'买点1'),coloryellow;
4 w3 F) U5 i: g4 @9 jSTICKLINE(cross(c,乖离线),h,h+0.09,4,0),color00ff00;1 |" A6 n) k( ^2 Q5 f- ^
DRAWTEXT(cross(c,乖离线) ,h+0.13,'卖点'),color00ff00;
7 g# {- n* }& {# v0 e' c) fSTICKLINE(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l,l-0.09,4,0),colorffcc66;- P1 d4 Q$ Y# t0 V; u
DRAWTEXT(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l-0.13,'牛象'),colorffcc66;$ W' @/ V2 y( f! m* A
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;0 C0 R7 q c3 A$ a; ~, l8 F& X e1 h# g
DRAWTEXT(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l-0.13,'买点2'), |