指标先容:* g3 D- Y' P0 r* X. K" ~# c
分享自用的指标。可以看出个股所处的相对位置。' j. D. w) p' t3 H
" b0 l9 _' `- y
公式源码:. q9 A2 m2 i0 J V
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
) m* z( X9 T# M( \VAR3:=SMA(SMA(VAR2,3,1),3,1)/30;3 J, o) V5 s6 k8 ?$ Z& p' [& p5 l
VAR4:=EMA(VAR3,5);3 q& ~" g: Y. v5 N3 n
VAR5:=3*VAR3-2*VAR4;: t+ @8 Q0 z# H( h6 d( F Z
AA:=CROSS(VAR5,VAR3) AND VAR3O;: ?- Q) _1 W; O2 p# P
VAR6:=(2*CLOSE+HIGH+LOW)/4; j' S$ J* ~3 H
VAR7:=LLV(LOW,13);( \7 S/ w& [$ n! K6 O' ?6 m/ v5 p U
VAR8:=HHV(HIGH,13);
8 K" `8 ]( Q) V; U1 _VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
7 y( |3 J+ |1 R- C2 p/ ZVARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);% N5 r. W5 a! _0 o& `
STICKLINE(VAR9>VARA,VAR9,VARA,3,0), colormagenta;
/ o, f$ m1 c8 Q& P# J) r: LSTICKLINE(VAR9VARA,VAR9,VARA,8,0), colormagenta;
6 H1 b. q& u* ]' J) M( W: SSTICKLINE(VAR9 |