快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;
/ ~4 I- O, ~* W9 K$ F慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF;: J/ u3 }3 n! c% r
总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF;
" N+ g E: \& J; \" a; x- _) e/ ?, O" @3 B: e! x% l# S
A1:=REF(H,8)=HHV(H,2*8+1); + _: H' X: Z, ~; o5 E+ H
B1:=FILTER(A1,8); . |( e7 U! `. V+ J
C1:=BACKSET(B1,8+1); 7 v5 t# e! }2 ?
D1:=FILTER(C1,8);{高点}# ?5 Y; p& [. ?( I3 b
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); S11:=R11>REF(R11,1);% K. ?, o( r4 |% L1 N3 v
DRAWLINE(D1,H,S11,H,1),COLORBLUE;; m3 A& s" c% I
A2:=REF(L,8)=LLV(L,2*8+1); 8 E" |. p4 x3 d
B2:=FILTER(A2,8);# v. }8 g+ u5 ~1 m- }& v. `
C2:=BACKSET(B2,8+1); + @2 D$ @; Y! l, o2 b% h
D2:=FILTER(C2,8);{低点}
* g* K# T) O* l0 ~7 } u* bT11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11>REF(T11,1);, O7 G$ a3 D! u, ]/ l; \# u1 i+ t
DRAWLINE(D2,L,U11,L,1),COLORBLUE;: a. V0 D$ `/ B' _8 B @9 z
M:=INTPART(3*8/5);- R1 D" g5 C; p( y
A12:=REF(H,M)=HHV(H,2*M+1); + `8 ~' r7 \# d' d) Y3 P+ R
B12:=FILTER(A12,M); X4 K, C2 c- @3 B9 K
C12:=BACKSET(B12,M+1); * i, @0 U1 d8 D( r, K0 Z. n i2 s1 v
D12:=FILTER(C12,M);{高点}
' w5 R2 o. K* m& tR112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);6 T, @; t0 y, x
DRAWLINE(D12,H,S112,H,1),COLORRED;* y. G; K# A% z6 [2 F
A22:=REF(L,M)=LLV(L,2*M+1); ' Z* G+ n, Q! F9 [
B22:=FILTER(A22,M);% C+ Y$ a/ y! m
C22:=BACKSET(B22,M+1);
, t; X- T1 `3 lD22:=FILTER(C22,M);{低点}
% H6 u6 @. ]' c. z, q- q H8 K1 \) {T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112>REF(T112,1);
+ x( w) M6 j% j; O% W1 C- D& XDRAWLINE(D22,L,U112,L,1),COLORRED;
" x6 g* b: Q% ~: R1 ]: Y4 EVAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
. U8 T0 e2 [8 L5 w, nVAR2222:=CROSS(VAR1111,0.9);
" f- l: R/ v( n: [' c" CVAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);) d9 X/ W+ y0 G( y @
VAR4444:=CROSS(VAR3333,0.9);
( H9 ~% o6 e" I6 _- F- `+ p压力:= REF(HIGH,BARSLAST(VAR2222));* O" I* Y4 D6 T. v) W) p m
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
+ h4 t g+ g; k支持:= REF(LOW,BARSLAST(VAR4444));
) X& _6 v/ {- i& kSTICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;6 G2 d# L1 M7 Q: ]: S
下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);" Y6 ^5 L+ J2 o4 I; k
RRRSV:=SMA(下档线,3,1);
0 S. O: w U4 w. c W: I. \! lKKK:=SMA(RRRSV,3,1);0 C2 t9 x/ C; ^" [5 J& F) q
DDD:=((3 * RRRSV) - (2 * KKK));
6 r/ X5 p* [* b P" W! KJJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);9 s i+ }( `4 u) z6 c
RSV24:=SMA(JJ12,3,1);
. [( D1 e7 m5 J5 kK24:=SMA(RSV24,3,1);3 u0 c0 ^' h' N: M: ~
D24:=((3 * RSV24) - (2 * K24));
6 [' i2 o9 b$ Y6 a6 T" H- U; y' _压力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;& O {* \, @% {2 J
底部:=LLV(HIGH,30),COLOR00FF00; |