N:=14; M:=6; A:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N); A1:=HIGH-REF(HIGH,1); A2:=REF(LOW,1)-LOW; DMP:=SUM(IF(A1>0 AND A1>A2,A1,0),N); DMM:=SUM(IF(A2>0 AND A2>A1,A2,0),N); PDI:=DMP*100/A; MDI:=DMM*100/A; 强弱:pdi-mdi,Color00ff00; MA强弱3:EMA(强弱,3),colorred; MA强弱20:EMA(强弱,20),color00FFFF; V0:0,Colorffa2af;
看股 吧公式 www.kangu ba.com