大智慧期望3%选股指标公式

TR := SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),7);

HD := HIGH-REF(HIGH,1);

LD := REF(LOW,1)-LOW;

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),7);

DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),7);

{指标网-股票公式网站 www.zhibiaow.com}

pdi:=DMP*100/TR;

mdi:=DMM*100/TR;

ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,7);

ADXR:=(ADX+REF(ADX,7))/2;

count(pdi,4)=0 and hhv(high,10)/llv(low,10)>1.2;