主升浪+DMI. h0 L; n& a4 b# P$ d
% C- F! V5 X6 @
TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);" l- o8 Q$ g) a( P) b7 }
HD :=HIGH-REF(HIGH,1);
2 ?5 \- I: ]3 G. w$ Q0 |$ pLD :=REF(LOW,1)-LOW;0 c$ G! a6 }# |0 E; Y3 @' W
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);* A: g6 w0 e/ M3 L
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
1 C8 z/ k0 d& d3 A2 OPDI: DMP*100/TR;
1 S' M3 A2 G) E* {* k# g JMDI: DMM*100/TR;
7 }: _' d) z- b# MADX: EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);% z9 V' l7 d0 e0 a' V5 N
ADXR:EXPMEMA(ADX,6);
u4 P5 N4 z) ]1 o( e# ZRSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
L; |/ O. N! u9 V. R主升浪:=SMA(RSV,3,1);0 d0 l+ L* K" z( B9 \! a- R% l
A:SMA(主升浪,3,1);, C* g0 {6 t" ]; Q$ d3 g4 H0 i
B:SMA(主升浪,13,1);
" d/ j) r' N4 z- b: x3 G3 W+ C! s: r0 S* R& i2 |# ?
选股:A上穿B |