指标会标示三条线,是散户线、主力线、趋势线7 D3 Y0 b' L( ^4 u F
& X6 q& b$ \4 g红线上穿黄线买入,红线下穿黄线卖出
6 u" v |/ w3 ?$ _9 c9 }9 ~+ H1 K- v3 h( U* g2 ?
7 a1 G9 |+ j! k& b1 a! L" R5 D
N:=30;M:=60;+ m# l' N7 m' p. w6 J; |1 t6 j9 S" E& l
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2;
0 H9 H3 d$ S# {" Z7 xRSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
1 n1 u& y5 W# c- gK:=SMA(RSV,5,1);
0 }: ^( _9 D9 R3 A- R! ]4 sD:=SMA(K,3,1);
3 g" Z# g' ^9 TJ:=3*K-2*D;4 L/ f" v3 X) V
主力线:EMA(J,6),coloryellow,LINETHICK2;) t$ r0 K' _2 Z4 _* L( \
VAR2:=REF(LOW,1);
/ `2 \- R) D+ x# v! @1 ?VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
, U. z p+ m! O$ w9 i8 l t3 G) jVAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
# [% h! d5 t9 \. O; u, D) K. b# [VAR5:=LLV(LOW,30);& s1 ] @) u# ?1 x" p3 y
VAR6:=HHV(VAR4,30);, q; ]/ [* \1 r7 ]& c) F/ g' M* V8 v
VAR7:=IF(MA(CLOSE,58),1,0);! f! W" K6 x* X4 ~2 L
VAR8:=EMA(IF(LOW100,100,VAR8);
* T5 c6 v- Y" Y5 g/ v* |. LAA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
5 @, K0 g$ B/ f5 T) VAA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
$ J$ O. x% \% w- e8 t6 AAA5:=SMA(AA4,13,8);0 Q: z6 u4 J& u
趋势:CEILING(SMA(AA5,13,8)),colorred,LINETHICK3; |