指标先容: $ n& i" w7 D6 U3 v
* C. M, a. Q9 L
有买入提示,可提示股价所处的相对位置,可以看出线之间是否金叉。
$ P0 k& ]. _& x- U4 `3 U; i/ T& e& l* V# a- u+ ^
3 }. q6 ]& x" ~' P- Y
公式源码: # E4 u( t( }& v
5 p( g" }) z5 j) A+ B* mTYP := (HIGH + LOW + CLOSE)/3;, y8 o( W3 ^/ m$ @; \' J P
CC1TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),ColorFF00FF;1 D; q' ~% U c' w! w8 \- x# x
C1:=SMA(CC1,3,1);
( E9 H& a4 ~# [9 jC2:=SMA(C1,3,1);
6 P0 r) {& }! B$ D+ F6 T. l" tC3:=3*C1-2*C2;
; p/ z2 I+ K% mCB1:=EMA(C3,5);
7 y' F4 m* |5 k2 e* Q+ K' X- _CB2:=REF(CB1,1);
R3 r# h: W! D" J+ S8 QFILLRGN(CC1,100,CC1>100,RGB(50,225,50),CC11,100,-100,100,0),colorblack;
! N9 _( J. ?% P9 M- B: yLC := REF(CLOSE,1);# u: ^$ i7 ?. O- @1 q% d6 }3 H
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
: X$ \* x4 ~$ qRSI:(RSI1-50)*5,LINETHICK2,ColorFFFFFF;
# Q8 i, M! }, u! c! JR1:=SMA(RSI,3,1);
( b6 o2 Z5 Q4 I; v- e8 w$ ^+ tD1:=SMA(R1,3,1);- ^: o& X# r6 {; U E4 ]
J1:=3*R1-2*D1;
# ?9 w5 }) m- J+ k |4 ZRR1:=EMA(J1,5);) y) A( H& a. H y* ?) x9 ?
RR2:=REF(RR1,1);3 N( s& e. T! _) ~' s
RR:=RR1>RR2;
) N/ D8 @& a1 WRSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
0 s6 V* Z- `8 SK:=SMA(RSV,3,1);
6 b* |: x( I- p- Y3 p" B. ?K1:(K-50)*5,ColorFFFF00;
$ }$ R/ U) F& `+ h4 ~2 T/ JK2:=SMA(K1,3,1);/ x# @; H2 u, r1 T7 ?" P0 H) |
D2:=SMA(K2,3,1);
7 `. r6 s/ j$ c8 G% F/ [' M! u/ [$ nJ2:=3*K2-2*D2;
4 }+ y' a; g/ D; U1 c: r" [% e7 ^$ uBB1:=EMA(J2,5);0 W5 W0 j2 d+ p
BB2:=REF(BB1,1);8 e y# |/ s6 V9 N2 t* C
买入:RR AND NOT(REF(RR,1)) AND (RR1 |