指标会标示三条线,是散户线、主力线、趋势线
' v5 w) j- g4 N, Q6 L! G* O: u$ p/ S
红线上穿黄线买入,红线下穿黄线卖出
- i+ A0 _3 p L- N! S0 ]- G% y
( c8 h% a' d" wN:=30;M:=60;
6 J$ U+ ?" R9 ]6 r4 {+ M2 e1 o0 q散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2;' s, V+ H3 X8 T2 I$ Y9 L2 m
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;" C$ j: L7 M7 K8 r( i
K:=SMA(RSV,5,1);
7 C F5 V/ u! V$ M% y3 m" t. k1 d( kD:=SMA(K,3,1);
* M8 {# l2 \; T7 M9 y/ uJ:=3*K-2*D;3 {& I: h7 E, X# V, M
主力线:EMA(J,6),coloryellow,LINETHICK2;
4 i+ _6 O* T. W9 S# HVAR2:=REF(LOW,1);3 f& z! {7 P1 u- Q
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
8 j7 V4 X; C1 kVAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);# r: ~0 ]& F& f; Y
VAR5:=LLV(LOW,30);% z7 ]. |; I9 }) ^, T$ @
VAR6:=HHV(VAR4,30);7 D: b' d& v% \
VAR7:=IF(MA(CLOSE,58),1,0);
. O) }/ t% c, g8 \2 ZVAR8:=EMA(IF(LOW100,100,VAR8);2 }$ N. D9 M- |# ]0 R1 I. ^
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;' a* Z$ P4 {; A1 w$ F3 `- D/ u o
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;3 c2 S# n% i% o ^0 m f
AA5:=SMA(AA4,13,8);; a4 t, P; t; A/ m$ o
趋势:CEILING(SMA(AA5,13,8)),colorred,LINETHICK3; |