指标会标示三条线,是散户线、主力线、趋势线
( [) S# @, H, Y" @) O% Q7 D c7 [, F4 _% M
红线上穿黄线买入,红线下穿黄线卖出6 A/ h5 J9 t6 a" r. p, v$ Z
2 ^- [! X9 I. i7 v& j" B% I' O1 X. z0 T0 R. a7 C
N:=30;M:=60;* n3 S3 T* E3 i3 h
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2;9 I h+ H; S: F4 T0 G* y* l
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;- M$ F# B2 I! l7 n4 Z
K:=SMA(RSV,5,1);
- v# p ]- V+ g* @2 y7 F5 ^D:=SMA(K,3,1);( |9 g' |& U# _/ {. F! O; c
J:=3*K-2*D;& |* e5 T6 y1 |# e/ K* O; \8 f) `
主力线:EMA(J,6),coloryellow,LINETHICK2;
~% G4 D, y M, p, hVAR2:=REF(LOW,1);3 D3 c7 t4 |+ _: G0 O
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
1 O% b; ~5 ?1 {, y- FVAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);2 o9 ~3 j% X; H% r" v$ d; p& \
VAR5:=LLV(LOW,30);3 I) f. b$ f& X# S. a0 b8 R: D" Q6 h
VAR6:=HHV(VAR4,30);
& @! M# P7 `0 q+ _4 cVAR7:=IF(MA(CLOSE,58),1,0);
! D" F- o# w6 j2 ]* ^, S+ L& }5 k4 RVAR8:=EMA(IF(LOW100,100,VAR8);
# B; J# w3 F$ L* hAA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;- }- G) I/ j: E! z
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
6 I4 T7 K8 M3 ^4 C& f/ ~AA5:=SMA(AA4,13,8);! r8 ~& |+ y! `0 K
趋势:CEILING(SMA(AA5,13,8)),colorred,LINETHICK3; |