pl5:=zig(3,5);
% v( Y; l2 |; F) n) Een1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)ref(zig(3,10),1) and ref(zig(3,10),1)ref(zig(3,20),1) and ref(zig(3,20),1)ref(pl10,1),COUNT(en1,走强二 ),0);
, d3 e$ K1 {" |1 C: q+ }ztjd5:=if(pl10>ref(pl10,1),COUNT(ex1,走强二 ),0);1 W' e! u- s9 ^5 q* C
dtjz5:=if(pl10ref(pl20,1),COUNT(ex2,走强三),0);
/ e+ _7 s5 I- J9 Z5 y/ I9 z4 idtjz10:=if(pl20ref(pl10,1) and ztjz5=2,LOW*0.98,''⑵''),color0000ff;+ {- q" M7 N! g0 K
DRAWTEXT(ex1 and pl10>ref(pl10,1) and ztjz5=2,HIGH*1.02,''⑶''),color0000ff;
% m6 f( M5 h# D) F; P3 r; pDRAWTEXT(en1 and pl10>ref(pl10,1) and ztjz5=3,LOW*0.98,''⑷''),color0000ff;; F- I' |! L5 e0 F2 j5 X
DRAWTEXT(ex2 and pl20>ref(pl20,1) and ztjd10=1,HIGH*1.02,''⑸''),color0000ff;
, x$ w2 h. u J4 _4 [( MDRAWTEXT(en2 and dtjz10=1,LOW*0.94,''【A】''),color00ff00;6 u" z. }1 h x' |' C% ?
DRAWTEXT(ex2 and dtjd10=2,HIGH*1.03,''【B】''),color00ff00;& B% a! a9 i' g! ^2 L1 |* ^' j
DRAWTEXT(en3 and ztjz10=1,LOW*0.94,''【C】''),color00ff00;
0 k( r7 A" K. Y& T" [( s- i2 d9 v* `DRAWTEXT(ex2 and pl20>ref(pl20,1) and ztjd10=1,HIGH*1.04,''①''),Linethick3,color00ffff;
" Q& ?( \/ Q. V& |2 iDRAWTEXT(en2 and pl20>ref(pl20,1) and ztjz10=2,LOW*0.94,''②''),Linethick3,color00ffff;9 Z3 f( z4 G) z( J' }# K9 v1 J
DRAWTEXT(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) and ex2,HIGH*1.04,''③''),Linethick3,color00ffff;
0 I9 V* y. p$ v* H' DDRAWTEXT(en2 and pl20>ref(pl20,1) and ztjz10=3,LOW*0.94,''④''),Linethick3,color00ffff; B6 @: Y( g$ X _# k
DMLJ:=HHV(HIGH,120);
, ~5 C0 ]5 z* ^0 P3 X4 N" R& O
; g6 A0 W6 ^% m4 `5 X/ M) X: \9 [6 F: `6 a) t' M7 s
TY:=CLOSE;
# q" D |. v' A" d" o0 \2 WHD:=FILTER(BACKSET(FILTER(ref(TY,10)=HHV(TY,2*10+1),10),10+1),10);
( h) W" [ i& ~LD:=FILTER(BACKSET(FILTER(ref(TY,10)=LLV(TY,2*10+1),10),10+1),10);
5 |0 Y: {7 ]8 Q# I' o1 c6 EA:=ref(CLOSE,BARSLAST(HD));
' o8 S V2 l5 PB:=ref(CLOSE,BARSLAST(LD));0 a+ Q; ~ H$ n# Z
T1:=BARSLAST(HD)BARSLAST(LD) AND NOT(LD);
+ i5 _: E) n8 A. A/ w9 `; L7 W波浪顶:if(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK2;
4 M/ Z4 z2 p) D( n; E- D( m6 }STICKLINE(T1,A,A,9,0),COLORFF00FF;
# d' I$ ]9 R# u& Z+ z7 {2 e波浪底:if(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK2;
* J2 j& S. L' P+ ~VAR3:=LLV(HIGH,240);9 ^) u; Q* V" C9 r$ L l9 c* S
VAR4:=100*(CLOSE-VAR3)/VAR3;
- d2 w U/ \: w5 `' P+ o+ oVAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;, ~# `6 `# H4 w2 `0 w1 A3 P
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
9 y. t/ v6 n5 Y6 Z: h n8 XVAR7:=0;$ t: z. n, @9 B9 T
VAR8:=MA(HHV(CLOSE-ref(CLOSE,1),0),34)/MA(ABS(CLOSE-ref(CLOSE,1)),7)*100;
6 m& P3 F; K1 m1 ~9 ?/ Q- [VAR9:=MA(HHV(CLOSE-ref(CLOSE,1),0),13)/MA(ABS(CLOSE-ref(CLOSE,1)),13)*100;) t0 C4 \" O( L1 [/ \$ L4 Y
VARA:=BARSCOUNT(CLOSE); |# e$ T. f! r2 N% |+ \/ h) h- T
VARB:=VAR8ref(zig(3,6),1) AND ref(zig(3,6),1)ref(zig(3,22),1) AND ref(zig(3,22),1)ref(zig(3,51),1) AND ref(zig(3,51),1)ref(zig(3,72),1) AND ref(zig(3,72),1)0,HIGH+0.1,''▼快卖欲跌''), COLORWHITE;. P( s2 s! W1 |2 u
1 H& A: p4 _6 u5 e$ t' ?2 k! y5 I! m. o) z+ Y' T: q7 e9 J
a:=BARSCOUNT(CLOSE);2 |/ Y t) K. y9 g' b3 y8 V
ah:=HHV(HIGH,72);) j# U5 X: X) I
al:=LLV(LOW,72);6 s4 v8 {8 g6 v3 _8 k8 j
a0:=(ah-al)/21;
n( |9 j) d7 j' {: A; Bb1:=LOW-a0;' p: R) b% l% _; u. F) Q1 r. e, E
DRAWTEXT((a+0)/15=FLOOR((a+0)/15),b1-2.5*a0,''▲时窗''),COLORWHITE;- z% H- _6 ?6 x6 u" I
1 b, w) V6 G' `0 G, Uvar31:=HHVBARS(zig(3, 19)>ref(zig(3,19),1)
# R- g5 N- u2 z$ o2 z% Pand ref(zig(3,19), 1) |