指标先容:: Q' ^5 r, L- d5 ~# @1 J4 P
# Z6 V4 d! Y/ X/ @9 a( M看图即可; t% ^8 \" e7 |& W$ o. x+ ?6 T' z+ C/ S
" @$ M+ i4 z4 h# S, b
! j+ e; q$ _9 Q
, \" S& C. {" L4 O公式源码:
6 ^) n" ? ] M4 D
. ~' O$ i% h$ N( Z- [, h" h1 SLOWV:=LLV(LOW,9);
8 K! Q+ E. O% E: a" W$ [HIGHV:=HHV(HIGH,9);- P0 \7 x' K: f; ]$ @
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);$ c0 M: R! K9 x# ]1 U+ @# L
K:EMA(RSV,3);
4 P b: ^4 o: `5 i" eD:MA(K,3);
( N+ `$ m9 S5 vSTICKLINE(K>D , K,D ,2.5,0),colorred,LINETHICK2;
6 Y. r: e. r! x1 s J8 CSTICKLINE(D>K,K,D,2.5,0),colorgreen,LINETHICK2;, i4 I+ V* {3 Y! _
逃顶线:90,colorgreen;
8 A2 R& @' D5 I c7 b中轴线: 50,colorred;2 x2 I* Y) x/ f' H7 J- b8 B5 f
抄底线:10,coloryellow;2 E1 {% f1 S* t+ D& R
DRAWICON(CROSS(K,D) AND K=80,88,4),colorgreen;
, R5 F' r% J0 A. W9 `A1:=BARSLAST(REF(CROSS(K,D),1));: `& @" S* E3 @# @: o! Z' {6 p
底背离:REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);1 ^- T+ M, D* R0 I8 Q
DRAWLINE(A1=0,D,底背离,D,0),colorred,LINETHICK1;
% C& h1 {' a' uA2:=BARSLAST(REF(CROSS(D,K),1));
" t. j- C) G& @! b% T顶背离:REF(CLOSE,A2+1)D AND CROSS(D,K);8 [! _" @# K0 g& o' D
DRAWLINE(A2=0,D,顶背离,D,0),colorgreen,LINETHICK1;
* _8 i' B$ v5 _$ U- BDRAWTEXT(底背离>0,D-5,'加仓'),colorred;3 Q4 w3 W$ e4 M6 @( V! ]
DRAWTEXT(顶背离>0,D-5,'减仓'),colorgreen;
9 B; L0 |, U' {( U& E) c7 hDRAWTEXT(CROSS(K,D) AND (D < 8),30,'买'),colorred;
" f% E/ Z( f: ^STICKLINE(CROSS(K,D) AND (D < 8)=1,3,20,8,0),colorred;
: J1 j! U. X6 E- Q7 R- YDRAWTEXT(CROSS(D,K) AND (D > 85),70,'卖'),colorgreen;
6 L* ]$ t7 `+ G( {0 }STICKLINE(CROSS(D,K) AND (D > 85)=1,85,70,8,0),colorgreen |