|
ema13:ema(c,13),colorwhite,linethick2;
5 M4 ], S4 K& ]ema34:ema(c,34),coloryellow;( V* s. x3 f0 @8 y5 I
ema55:ema(c,55),colorff00ff;
6 {7 u$ p! [9 q: u' L* D; C3 rema120:ema(c,120),colorffcc66;
8 O/ I+ o+ }/ Xar1:=ema55>ema34 and ema34>ema13;
# x' a5 B& k1 G7 s/ @9 \ar2:=BARSLAST((c-ema13)/ema13*100=ref(ema13,2);
( b9 F6 V& U; |: aar4:=count(cross(c,ema13),ar2)=1;7 L' k2 n+ _; V6 M
ar5:=ar1 and ar2 and ar3 and ar4;
4 t b' E4 C9 X' U* m7 kar6:=ar5 and filter(ar5,10);' f) ~8 B" H0 a' \* B- Q1 h( [4 {
drawtext(ar6,l-0.09,'不安于室'),coloryellow;
a7 r/ ]2 s; M2 a/ }, M' I0 Gstickline(ar6,h,l,0.5,1),coloryellow;
7 |% H+ \$ D; m4 [& G5 c2 k0 {* L: R8 `" hstickline(ar6,o,c,6,1),linethick2,coloryellow;$ U* n; L5 W7 V% I. @+ a" t* A/ a8 V
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
+ C; l6 M+ H. _( K8 ^br2:=abs((ema13-ema34)+(ema34-ema55))/cema55 and (ref(c,1)ema55 and ema13>ref(ema13,1);
- a, |5 o3 T+ j4 Lgr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
9 c8 @* D2 c3 p, G+ Xgr4:=h=hhv(h,gr1);8 W7 [* x; N% O
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);
/ Q/ G$ X5 U0 E, d, K9 gDRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;+ s( P1 B0 W' q- b7 [
stickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF;
) y, i- b) m1 c( {2 i1 M" c Xstickline(hr2 and filter(hr2,10),o,c,6,1),linethi |