指标先容:
% X+ i( X9 A$ [& X8 j5 g ~4 P% h: k- C. R3 ?
红线低位发出抄底信号时买入,高位发出空仓信号时卖出。 ; b* P6 c( t, X4 T8 u* c
3 m5 O5 B. W1 r. H1 u- e1 W0 h+ b {
$ T3 ]8 d/ \! ?3 E2 F/ K$ f
公式源码: # W3 u8 ]" s7 @( k/ f: I+ x1 I
4 q% Y8 w: f: N- R+ r3 N主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), colorred,LINETHICK2;9 r) } m5 |: t }1 m9 F* i+ K
即将发作线: 65,COLOR00FF00;
1 {2 i1 D! ^4 z0 F发作线:80,colorwhite,LINETHICK1;6 V- b: | l1 {7 n; s
DRAWTEXT(CROSS(主力资金,发作线),主力资金,'★发作!') ,coloryellow;- B/ S$ E1 T& T: J4 k' q
发作警戒线: 50,COLOR00FF00;3 k4 T9 L6 ]1 a
抄底线:20,colorwhite,LINETHICK2;. l1 H* _' n- f4 |" y
DRAWTEXT(CROSS(主力资金,抄底线),主力资金,'★抄底') ,colorwhite;
0 J5 M1 G* n( s% kDRAWTEXT(CROSS(主力资金,发作警戒线),主力资金,'★加仓') ,colorwhite;; Z- B" l% s: e ]' \" j/ I$ T- f
DRAWTEXT(CROSS(主力资金,即将发作线),主力资金,'★加仓') ,colorwhite;
$ a; N+ @, Y0 LDRAWTEXT(CROSS(发作线,主力资金),发作线,'★空仓') ,colorwhite;* Z" V/ a! N* c4 @* w& L1 t4 f* \8 Y
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);2 v- m+ I6 z- D
K:=SMA(RSV,3,1);& y0 {* [# B& X4 u5 r- z
D:=SMA(K,3,1);6 ^( O3 m5 c/ }. U
J:=3*K-2*D;) q) z1 v# R$ X w, E5 t( E
X:=LLV(J,2)=LLV(J,8);1 R6 H9 z3 U$ P6 c8 {
RE:=CROSS(J,REF(J+0.01,1)) AND X AND J13,MA(SS,2),SS)/6;: x: W h# O, L& P" u$ s
短线出击:=IF(CROSS(短线买点,1) AND (短线买点 |