快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;$ q, ]5 ?: E' t
慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF;
% ^- }4 K7 h+ F总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF;
$ f9 h. O% P/ y t$ a" ]& o8 G7 p
- o# l- W, |' g ~A1:=REF(H,8)=HHV(H,2*8+1);
( s" c4 `5 ?% p0 UB1:=FILTER(A1,8); }, R- {2 o* s' V! Y/ D, I
C1:=BACKSET(B1,8+1);
' z; c' @7 w: z0 R+ T0 oD1:=FILTER(C1,8);{高点} T" C& c* E% g/ n
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); S11:=R11>REF(R11,1);
; K, J9 O- p* _( _% @" r3 g6 V7 q) |" yDRAWLINE(D1,H,S11,H,1),COLORBLUE;! t2 E+ ^1 T* s2 W' A; E; |' y
A2:=REF(L,8)=LLV(L,2*8+1); * s1 m0 g$ l# k+ @" } a4 Z
B2:=FILTER(A2,8);
' D& @( K. x' P) X- ]C2:=BACKSET(B2,8+1);
j8 G0 @: }3 V6 a# R3 [2 eD2:=FILTER(C2,8);{低点}
2 o+ b0 B7 h- h" S; B! W/ B. gT11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11>REF(T11,1);
: w5 D! `1 ^ S0 D3 G& rDRAWLINE(D2,L,U11,L,1),COLORBLUE;1 e# E/ w3 I/ P. u8 b& y
M:=INTPART(3*8/5);
7 D* p; M% t7 H; ]+ z' \A12:=REF(H,M)=HHV(H,2*M+1); $ A0 X( }' O* T. i# w
B12:=FILTER(A12,M);
: S; S# @8 Z4 w" KC12:=BACKSET(B12,M+1); ; U0 i& g3 }/ c; J/ i% A2 ?/ Y, |
D12:=FILTER(C12,M);{高点}
& J L9 f, ~5 [ T( d# Z- S9 L/ RR112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);
* O7 S3 J% U: Y2 A* E9 c Q5 ADRAWLINE(D12,H,S112,H,1),COLORRED;. F/ @8 J' P3 C: q
A22:=REF(L,M)=LLV(L,2*M+1); & n% C1 t; I3 N- Y
B22:=FILTER(A22,M);
" |' }* N9 m H7 ~6 W% M; H) NC22:=BACKSET(B22,M+1);
2 `* M3 I' F8 s$ Q3 @6 f0 WD22:=FILTER(C22,M);{低点}
2 ^3 ]4 C: a9 TT112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112>REF(T112,1);
x- `; b( U BDRAWLINE(D22,L,U112,L,1),COLORRED;7 U/ ~: H- e! t8 h
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);& O% @! G$ w/ b* X# U% a. b
VAR2222:=CROSS(VAR1111,0.9);( D$ }$ F' g1 `- V
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);8 T2 K0 B/ e9 C! W
VAR4444:=CROSS(VAR3333,0.9);
* B& S0 u& a y* U压力:= REF(HIGH,BARSLAST(VAR2222));
0 Q5 ?% I/ W# Q n) iSTICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
. ]3 T: H. P! x W支持:= REF(LOW,BARSLAST(VAR4444));
* D& U8 }6 N3 k0 T: h0 J8 |STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;
^) u6 Z3 N5 t, d; r) ~' L1 M下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
, r7 n3 j8 w- z3 Y' F4 JRRRSV:=SMA(下档线,3,1);
6 C4 G5 z& i0 j3 ~2 u rKKK:=SMA(RRRSV,3,1);
w+ e) U' b# j2 pDDD:=((3 * RRRSV) - (2 * KKK));
) H- I2 {' @, I, M8 u( ]JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
& x b7 y. |% Q, I/ B2 v! ARSV24:=SMA(JJ12,3,1);
+ @0 C8 N) q, g) q/ a" m/ Q4 eK24:=SMA(RSV24,3,1);
# E8 _ g2 ]6 P" jD24:=((3 * RSV24) - (2 * K24));
" ^0 K0 P, {- @/ @( T压力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;# X2 c+ e/ t) l7 h
底部:=LLV(HIGH,30),COLOR00FF00; |