N:=5;绝对A:=40/100,COLORLIMAGENTA,LINETHICK1,;绝对B:=30/100,COLORCYAN,LINETHICK1,;绝对C:=50/100,LINETHICK1,;VAR1:=HHV(HIGH,N);猎熊HIGH:=(VAR1-LOW)/VAR1;猎熊OPEN:=(VAR1-OPEN)/VAR1;猎熊LOW:=(VAR1-HIGH)/VAR1;猎熊CLOSE:=(VAR1-CLOSE)/VAR1;南熊线:=猎熊HIGH,COLORLIGREEN,LINETHICK2;线:=MA(LLV(猎熊LOW,N),21),LINETHICK3,COLORCYAN;TR1:=EXPMEMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI: