指标先容:1 h4 s+ l. Z3 \: O: d6 J5 i
分享自用的指标。可以看出个股所处的相对位置。
4 W; M! A( ^" W2 t3 N f, t7 F
# f- U* \% }! [( ^公式源码:
8 x- o s3 G( B6 TVAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;- t8 s+ p- S e3 ]; L9 l
VAR3:=SMA(SMA(VAR2,3,1),3,1)/30;
+ M) ?, W+ X0 a6 ^5 eVAR4:=EMA(VAR3,5);
/ f. F z- [6 KVAR5:=3*VAR3-2*VAR4;9 f+ z" n; m! y- |+ C8 u2 v
AA:=CROSS(VAR5,VAR3) AND VAR3O; n5 |2 f2 _. y& @4 Z/ `& j% Z
VAR6:=(2*CLOSE+HIGH+LOW)/4;$ J: r/ f# U7 v6 {
VAR7:=LLV(LOW,13);
6 d. X7 g8 {; u8 }: S6 _) b- [6 TVAR8:=HHV(HIGH,13);. R" S9 n7 b* P! ]
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
; r, U7 i) ]6 d# V2 |VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);& X9 k3 K% a: f7 d
STICKLINE(VAR9>VARA,VAR9,VARA,3,0), colormagenta;" A, g) D. }' t1 g) l
STICKLINE(VAR9VARA,VAR9,VARA,8,0), colormagenta;. m0 h' e4 Q& E
STICKLINE(VAR9 |