主升浪+DMI
9 C4 ]2 ? P0 O3 o
& |1 l6 b, ]+ T$ z# `" U% M' {TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
- l7 a4 @* T* `2 J& o. MHD :=HIGH-REF(HIGH,1);
. T# w7 I: }0 `$ J# f" ?LD :=REF(LOW,1)-LOW;* y8 M0 _* Y/ C
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);$ ]3 P6 {5 a0 `
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);8 u$ ~$ ]8 E2 c; G: I* Z" C
PDI: DMP*100/TR;
: m8 m. V$ Z, J, d# ?MDI: DMM*100/TR;
* L6 P6 ^ O% ~& {2 [6 gADX: EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);1 N: V+ j* v# t: M8 w
ADXR:EXPMEMA(ADX,6);6 l( C. u6 O& K% |
RSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
9 w- c9 b1 p0 p主升浪:=SMA(RSV,3,1);
, a5 {3 s1 w4 \A:SMA(主升浪,3,1);
- [( b+ X1 j0 w3 ]; XB:SMA(主升浪,13,1);
# F' w! Y$ l" O# P; [9 H/ J
n4 ~0 Q, ^; |$ q: N' k选股:A上穿B |