ema13:ema(c,13),colorwhite,linethick2;+ I j( [6 h" A: v6 n
ema34:ema(c,34),coloryellow;
( M" Z4 R! [, v! t6 k# w; yema55:ema(c,55),colorff00ff;
8 R4 h/ F4 |1 fema120:ema(c,120),colorffcc66;
$ w! T. y$ [1 l# {' ~) y' x$ x1 war1:=ema55>ema34 and ema34>ema13;5 {3 Q& ^; X( l2 L
ar2:=BARSLAST((c-ema13)/ema13*100=ref(ema13,2);
( p% u3 M* x. L, @* _ar4:=count(cross(c,ema13),ar2)=1;
4 A; @0 }5 C5 x# [3 I+ r' Y4 har5:=ar1 and ar2 and ar3 and ar4;3 }: Y& |/ w. n* m( B
ar6:=ar5 and filter(ar5,10);
% k& w; ^2 y* c# A' [( |4 Odrawtext(ar6,l-0.09,'不安于室'),coloryellow;
- Z; T$ G! m' |- Y$ Gstickline(ar6,h,l,0.5,1),coloryellow;
! ^& Q6 g# s5 O+ gstickline(ar6,o,c,6,1),linethick2,coloryellow;) Q q$ z( D& R. K* i, c, P$ w
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
1 T$ E6 C! }' D) F m9 {: {' z* rbr2:=abs((ema13-ema34)+(ema34-ema55))/cema55 and (ref(c,1)ema55 and ema13>ref(ema13,1);
6 \; `/ T& q7 y. l# R/ Jgr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);# O! u( m3 f/ `! S3 m5 z
gr4:=h=hhv(h,gr1);4 }+ z* k: W6 W' G
gr5:="macd.macd"(12,26,9)=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);
3 o, v1 b5 W# B$ O' B3 Y! C+ ODRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;5 }4 M& V+ a' l: R6 r( r3 v
stickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF;/ J8 \- ]( _. A# @5 Q
stickline(hr2 and filter(hr2,10),o,c,6,1),linethi |