主升浪+DMI" S+ g- _! A* K
9 q4 ]7 T1 q+ J4 T& K
TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);" x( T6 s+ z" D4 X, c1 [; c
HD :=HIGH-REF(HIGH,1);* w* t* q9 l4 U0 T" U) C$ a
LD :=REF(LOW,1)-LOW;0 t- D4 x5 r4 ^
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);
: @& j8 u, \3 [3 Z3 p! p; @( XDMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
7 F0 j$ E3 u7 |PDI: DMP*100/TR;/ ~/ w6 }' [, [- x
MDI: DMM*100/TR;3 e& V1 C( P+ r4 {3 w7 Z5 l) O9 |
ADX: EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
0 q" L, ~% n% Q8 Q" x& t/ ZADXR:EXPMEMA(ADX,6);
+ }$ f6 v+ O4 i5 j3 u# a- BRSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
' I `0 `$ k2 y! T# D, n, x主升浪:=SMA(RSV,3,1);! r! ^; m4 ^+ _, h" d, q
A:SMA(主升浪,3,1);( [3 J$ Y% _+ U |+ @* m( f
B:SMA(主升浪,13,1);/ ?, I$ s7 F. a4 y% Y M( j
, W- A/ I0 F* A! V选股:A上穿B |