|
ema13:ema(c,13),colorwhite,linethick2;
- E* v2 w4 x. x1 h( w1 }ema34:ema(c,34),coloryellow;) m) |8 Q% O, w9 a$ ~' E5 W& r% U
ema55:ema(c,55),colorff00ff;
3 y$ ^" L- ?( Z- ]/ a4 |ema120:ema(c,120),colorffcc66;6 g$ |; w% n0 O7 f
ar1:=ema55>ema34 and ema34>ema13;
4 b: r5 n" r3 t5 E; I0 k1 {ar2:=BARSLAST((c-ema13)/ema13*100=ref(ema13,2);# H! Y6 u, N* i) B5 ?
ar4:=count(cross(c,ema13),ar2)=1;0 B' D g; Q Q; k# o
ar5:=ar1 and ar2 and ar3 and ar4;5 g0 K( [0 k( G- x" G1 Z
ar6:=ar5 and filter(ar5,10);# D0 G+ \ q# d$ P5 `3 c4 B
drawtext(ar6,l-0.09,'不安于室'),coloryellow;
/ o( P0 Y; Q. p. t4 l* I& s' e' E5 tstickline(ar6,h,l,0.5,1),coloryellow;
* D3 Z+ E* ^; s( l4 J4 D( _( vstickline(ar6,o,c,6,1),linethick2,coloryellow;
w# b! p- G$ h$ Tbr1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;$ D3 q2 g9 L/ e5 D! I* j
br2:=abs((ema13-ema34)+(ema34-ema55))/cema55 and (ref(c,1)ema55 and ema13>ref(ema13,1);
3 \ y& i2 z( x" n5 K/ Tgr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);7 a& \2 r9 n' W! q
gr4:=h=hhv(h,gr1);
4 a2 J0 k: F& H/ P+ \8 g+ K; n) x2 Lgr5:="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);
9 w+ j" R) R1 P, u8 {DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;
6 q' r: z* S. r! b; wstickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF;
- O$ g! {; K7 G) h# ~7 L# O2 Kstickline(hr2 and filter(hr2,10),o,c,6,1),linethi |