|
ema13:ema(c,13),colorwhite,linethick2;' r I& \4 B. Z3 R+ s
ema34:ema(c,34),coloryellow;
6 j- |9 M; `3 b0 ?ema55:ema(c,55),colorff00ff;% \2 X- x5 P' u4 Z
ema120:ema(c,120),colorffcc66;
- z- M c0 j* {8 z% Par1:=ema55>ema34 and ema34>ema13;' e9 H) s+ Q) y$ x" C1 s
ar2:=BARSLAST((c-ema13)/ema13*100=ref(ema13,2);
! ^! m. h0 m8 Q" jar4:=count(cross(c,ema13),ar2)=1;
5 X( \6 ~4 Q* a: tar5:=ar1 and ar2 and ar3 and ar4;% Z; Y H- Y4 Y& n9 x* [# X0 C! Q8 h
ar6:=ar5 and filter(ar5,10);* d7 g2 W2 }: S* P
drawtext(ar6,l-0.09,'不安于室'),coloryellow;7 \$ ?( h& p8 b0 C# D2 G5 M
stickline(ar6,h,l,0.5,1),coloryellow;- u6 {6 c6 A* v- O' d
stickline(ar6,o,c,6,1),linethick2,coloryellow;
# i0 \& u& m. d& {+ u( _, pbr1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;% P6 x2 i0 f9 B6 a7 k
br2:=abs((ema13-ema34)+(ema34-ema55))/cema55 and (ref(c,1)ema55 and ema13>ref(ema13,1);
" Z+ u8 ]/ t/ z+ ]1 i& u# d# K3 {gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
- M; P: n i- N& G0 |7 x9 _/ l2 vgr4:=h=hhv(h,gr1);% u$ A) O' S1 `
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);, l4 E" P4 _: I/ h! @; z6 m% t
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;
* I+ L4 W# G. ^% [- x. }0 |- kstickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF;
# `+ Y& e8 I% x9 l: V2 |+ Ustickline(hr2 and filter(hr2,10),o,c,6,1),linethi |