pl5:=zig(3,5); r6 Q* k" _6 p6 p, J7 S
en1:=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);" b% v1 L2 b2 l/ W; v5 p! ^( v! a( ~# o
ztjd5:=if(pl10>ref(pl10,1),COUNT(ex1,走强二 ),0);
8 G& A1 N# I& a1 l. r- N, C: pdtjz5:=if(pl10ref(pl20,1),COUNT(ex2,走强三),0);3 v/ F, f' K4 }% }* c4 p1 h7 |! U
dtjz10:=if(pl20ref(pl10,1) and ztjz5=2,LOW*0.98,''⑵''),color0000ff;) W& E7 ?- z8 n8 F; ^
DRAWTEXT(ex1 and pl10>ref(pl10,1) and ztjz5=2,HIGH*1.02,''⑶''),color0000ff;
7 e. T! p. W! ~/ E5 b5 X7 e2 ZDRAWTEXT(en1 and pl10>ref(pl10,1) and ztjz5=3,LOW*0.98,''⑷''),color0000ff;. ^5 Q1 q2 u; T) R2 ]5 `0 T) y
DRAWTEXT(ex2 and pl20>ref(pl20,1) and ztjd10=1,HIGH*1.02,''⑸''),color0000ff;
/ L4 t& S+ e/ yDRAWTEXT(en2 and dtjz10=1,LOW*0.94,''【A】''),color00ff00;$ i h) `0 d3 J/ t7 P
DRAWTEXT(ex2 and dtjd10=2,HIGH*1.03,''【B】''),color00ff00;" P$ ^5 ], K; o( L" D- D( E
DRAWTEXT(en3 and ztjz10=1,LOW*0.94,''【C】''),color00ff00;
9 O F/ i& }& c$ k! |DRAWTEXT(ex2 and pl20>ref(pl20,1) and ztjd10=1,HIGH*1.04,''①''),Linethick3,color00ffff;
' A; g& X' G7 U& B+ qDRAWTEXT(en2 and pl20>ref(pl20,1) and ztjz10=2,LOW*0.94,''②''),Linethick3,color00ffff;9 W e( d# Y" {) A
DRAWTEXT(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) and ex2,HIGH*1.04,''③''),Linethick3,color00ffff;
8 Y, G( m3 e9 xDRAWTEXT(en2 and pl20>ref(pl20,1) and ztjz10=3,LOW*0.94,''④''),Linethick3,color00ffff;
9 w3 D! ~' L' p- gDMLJ:=HHV(HIGH,120);
0 a: \3 D1 m) \; Z+ S
) f6 p+ J# e; M2 p$ K- T9 ]5 y: v- ~; b0 j k, k. ]+ Y
TY:=CLOSE;2 X8 }7 E" R) g+ T# c1 I* {# b" M
HD:=FILTER(BACKSET(FILTER(ref(TY,10)=HHV(TY,2*10+1),10),10+1),10); @* }6 {# ~4 j0 J* F
LD:=FILTER(BACKSET(FILTER(ref(TY,10)=LLV(TY,2*10+1),10),10+1),10);
2 e' A6 ?( h+ w! I3 @ GA:=ref(CLOSE,BARSLAST(HD));# y8 Z$ ]4 [9 H k* m7 Z3 k
B:=ref(CLOSE,BARSLAST(LD));
/ Q" T% U/ n) v; ?3 {/ GT1:=BARSLAST(HD)BARSLAST(LD) AND NOT(LD);
8 C+ h1 e, [3 l: ]$ l波浪顶:if(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK2;
5 x3 ~( w# n: ~1 {, Q* WSTICKLINE(T1,A,A,9,0),COLORFF00FF;) |6 Q/ O" k8 k: U0 o: h+ V
波浪底:if(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK2;
3 R a: I2 M3 {& S" ZVAR3:=LLV(HIGH,240);$ u$ V; Z9 H& f" P# Q' U
VAR4:=100*(CLOSE-VAR3)/VAR3;* ^0 P7 l( F1 I0 t% h! u9 m( ~
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
) J3 A# S/ C# _; g$ uVAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; u% p( g) k# O' _
VAR7:=0;( E2 n0 O0 y% R/ J
VAR8:=MA(HHV(CLOSE-ref(CLOSE,1),0),34)/MA(ABS(CLOSE-ref(CLOSE,1)),7)*100;
, o0 |" n4 f+ ~VAR9:=MA(HHV(CLOSE-ref(CLOSE,1),0),13)/MA(ABS(CLOSE-ref(CLOSE,1)),13)*100;6 ]1 e, W# t4 f& `! i
VARA:=BARSCOUNT(CLOSE);
* E( _) A8 j0 nVARB:=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;$ V! q2 F1 [% i. m2 j
! o$ |& q( m4 I+ e- L% @# p& l9 r$ l4 Q0 h8 p
a:=BARSCOUNT(CLOSE);- M K# f( k' `% k! H
ah:=HHV(HIGH,72);
1 o& b! W5 [3 |/ c' b7 d6 xal:=LLV(LOW,72);/ |0 v# ~. z" p, Z+ c) x& n( f7 M6 d
a0:=(ah-al)/21;& X) h- F7 p: S% y4 c* ~
b1:=LOW-a0;0 V/ g9 b6 L/ {
DRAWTEXT((a+0)/15=FLOOR((a+0)/15),b1-2.5*a0,''▲时窗''),COLORWHITE;
" K7 z1 U; F! T8 Y- W9 y- t% ~% g, V. t4 t; q$ V' h: \5 n' n+ R
var31:=HHVBARS(zig(3, 19)>ref(zig(3,19),1)1 ]) s7 U) ~3 `1 M0 V5 a
and ref(zig(3,19), 1) |