指标会标示三条线,是散户线、主力线、趋势线
$ f- R1 x6 j8 n- C! y* P" g3 h8 L
红线上穿黄线买入,红线下穿黄线卖出
6 k7 ?$ ~" E3 `, g, s: _
. u2 z8 a9 u: l' C* [- J/ e
/ j: n5 e/ E1 x7 C, G8 D& }5 XN:=30;M:=60;4 e, ?" b; q( a
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2;& u3 d( F, C5 L G
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;0 z- q# j# b$ Q' U0 u! @ c
K:=SMA(RSV,5,1);" o8 x7 n) e4 C6 u0 r- R
D:=SMA(K,3,1);
- E9 _" A% C( f# ?; L4 JJ:=3*K-2*D;
4 G& O6 q5 R" J l c8 }主力线:EMA(J,6),coloryellow,LINETHICK2;0 e1 b- P3 F3 _( F1 L# W3 s
VAR2:=REF(LOW,1);7 \- W: s7 f0 _ \& _7 Z# m% z& U
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;/ q. b; {' `1 R
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
2 m7 \7 ~ `3 Q1 VVAR5:=LLV(LOW,30);
, O4 m( |1 W9 Y9 qVAR6:=HHV(VAR4,30);' c: l: A) s$ K6 |$ h( r
VAR7:=IF(MA(CLOSE,58),1,0);9 T! @; s( o' |8 k9 W7 g3 `5 M
VAR8:=EMA(IF(LOW100,100,VAR8);
9 Q2 ~7 K% s, n% A d5 O. \4 f/ `AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; Y- M4 }+ o v/ w3 @ _. Q, {
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;# U% q8 W9 T& x! F+ R. n/ s
AA5:=SMA(AA4,13,8);
) q* z3 R3 X% }9 ~2 w7 z- G趋势:CEILING(SMA(AA5,13,8)),colorred,LINETHICK3; |