指标先容:2 i* j6 r5 u) c! ^) `6 m4 h
4 x: P" `+ p8 |' U看图即可
2 G9 s/ l" M4 o R0 y$ C8 {+ B h9 M# z5 f
3 I4 v2 R5 I0 p6 P4 O$ Z5 B) e5 z, ]7 ^7 V& w
公式源码:+ ]6 Y+ E5 H* L
$ o- N; R* w& v7 G: V
LOWV:=LLV(LOW,9);
. j! P6 |% |; sHIGHV:=HHV(HIGH,9);
0 \ O/ I2 }! M" ARSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
$ ?) R5 @2 e \K:EMA(RSV,3);& s0 \/ d+ W' W6 W4 ]& C
D:MA(K,3);
: ^/ Z% s! Q% hSTICKLINE(K>D , K,D ,2.5,0),colorred,LINETHICK2;
% t& h; F& p1 k7 m YSTICKLINE(D>K,K,D,2.5,0),colorgreen,LINETHICK2;
/ v( y$ f8 k1 Q: j: f# K0 g逃顶线:90,colorgreen;) @& B3 X' F; `, E
中轴线: 50,colorred;
2 w. s2 J7 D, N抄底线:10,coloryellow;6 f0 x6 q8 {1 k& ?0 o
DRAWICON(CROSS(K,D) AND K=80,88,4),colorgreen;% t1 X5 n( k/ D$ @; x" X, V7 m g+ o
A1:=BARSLAST(REF(CROSS(K,D),1));
- X: m0 |$ {7 y% A6 x底背离:REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
9 s5 h9 A, D0 o. `; |0 \( lDRAWLINE(A1=0,D,底背离,D,0),colorred,LINETHICK1;: d$ k6 N% I3 O1 d
A2:=BARSLAST(REF(CROSS(D,K),1));5 v+ `9 r& M" L5 E9 s' }* S
顶背离:REF(CLOSE,A2+1)D AND CROSS(D,K);9 [2 [5 ~% j1 L! ]9 W
DRAWLINE(A2=0,D,顶背离,D,0),colorgreen,LINETHICK1;- j* W+ _- ]' ?7 f9 L
DRAWTEXT(底背离>0,D-5,'加仓'),colorred;# g x: J8 D, ?
DRAWTEXT(顶背离>0,D-5,'减仓'),colorgreen;1 \7 d0 t7 c- M+ s0 x+ |+ Q
DRAWTEXT(CROSS(K,D) AND (D < 8),30,'买'),colorred;
- T* |/ c6 W1 M8 Z* z8 r. jSTICKLINE(CROSS(K,D) AND (D < 8)=1,3,20,8,0),colorred;& m1 X0 y4 h1 s8 p2 L& d
DRAWTEXT(CROSS(D,K) AND (D > 85),70,'卖'),colorgreen;: E: X: k* ~9 l4 U" e+ v
STICKLINE(CROSS(D,K) AND (D > 85)=1,85,70,8,0),colorgreen |