指标会标示三条线,是散户线、主力线、趋势线+ x- N* y' d. o5 G
9 P( J+ X7 O; X# [" y6 _ J w
红线上穿黄线买入,红线下穿黄线卖出7 C* M- g% s4 i
# l J$ R! I3 o9 z6 u/ x; T1 `# D5 H3 ` D& i- n
N:=30;M:=60; X' ~6 Q/ U5 R% W3 y: O1 E* \
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2;6 ~0 v0 E) P- Z6 M" l
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
$ d, q2 \, r- W3 O3 d6 MK:=SMA(RSV,5,1);
( a8 _6 D- G4 ~ a2 L% gD:=SMA(K,3,1);$ j' O% y" g6 P2 Y( O" n% q: r# {
J:=3*K-2*D;
2 P' ^$ i0 q( F# ^主力线:EMA(J,6),coloryellow,LINETHICK2; \1 T0 Y! Y5 m0 z" Z
VAR2:=REF(LOW,1);
6 L3 R+ Q' E# l" [5 k4 M' xVAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
6 n1 v9 L' M* s' OVAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
t4 U) s# W5 H. q$ j( i2 FVAR5:=LLV(LOW,30);8 `3 O; Z/ E6 v: Z2 B9 p9 j
VAR6:=HHV(VAR4,30);
* Q4 L3 d0 I! A$ J2 JVAR7:=IF(MA(CLOSE,58),1,0);2 m0 _/ c" M* W# c; S
VAR8:=EMA(IF(LOW100,100,VAR8);
9 M6 u: \2 U$ h. o, _2 E: v0 TAA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
) J' ]6 V2 g" {AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;5 }7 i! t" z# e% k+ a1 `' L2 K1 _: D
AA5:=SMA(AA4,13,8);1 W) O6 c& D+ Z! F( I8 I
趋势:CEILING(SMA(AA5,13,8)),colorred,LINETHICK3; |