|
ema13:ema(c,13),colorwhite,linethick2;
/ O7 [" ~% \0 a0 L: E7 a% {, _* l6 ^ema34:ema(c,34),coloryellow;8 t1 ?' |6 o% J3 v- q, o- I
ema55:ema(c,55),colorff00ff;: D# M2 f% j$ G3 z; ^
ema120:ema(c,120),colorffcc66;6 l9 |, Q8 i. L: h
ar1:=ema55>ema34 and ema34>ema13;4 r @: y. X& A7 t& m
ar2:=BARSLAST((c-ema13)/ema13*100=ref(ema13,2);! m' {/ @# M- Z8 i: N) d
ar4:=count(cross(c,ema13),ar2)=1;
8 K+ W5 K, Y' u, v8 l3 Par5:=ar1 and ar2 and ar3 and ar4; W, h; v' t# }: ^
ar6:=ar5 and filter(ar5,10);
* q% u1 p' L! W' K( G, ndrawtext(ar6,l-0.09,'不安于室'),coloryellow;
- p5 Q& w" b' F' @6 r4 ^stickline(ar6,h,l,0.5,1),coloryellow;
8 }' l, I3 s3 i* Astickline(ar6,o,c,6,1),linethick2,coloryellow;- C% Q! L. ]$ W1 E: z
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
0 d: G2 ]7 ^( c; I3 `$ W! I! Vbr2:=abs((ema13-ema34)+(ema34-ema55))/cema55 and (ref(c,1)ema55 and ema13>ref(ema13,1);
6 m( m/ u8 v5 @. m& Q7 N9 Lgr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
7 k# d- G! f' Q& e, Rgr4:=h=hhv(h,gr1);& t* M- n3 _, o) P. V
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);! S$ t& k& k9 I" |4 L
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;
8 {7 R* ]3 _$ F8 q4 j. H' I tstickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF;
q& O: N9 ^. x) `- dstickline(hr2 and filter(hr2,10),o,c,6,1),linethi |