n:=34;DRAWGBK((DATE > 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1);{猎熊}VAR1:= HHV(H,N); 猎熊H:=(VAR1-L)/VAR1; 猎熊O:=(VAR1-O)/VAR1; 猎熊L:=(VAR1-H)/VAR1; 猎熊C:=(VAR1-C)/VAR1;绝对A:40/100,LINETHICK,PRECISION2,COLORYELLOW;线:= MA(LLV(猎熊L,N),21);TR1:=EMA(MAX(MAX(H-L,A(H-REF(C,1))),ABS(REF(C,1)-L)),N);HD :=H-REF(H,1);LD :=REF(L,1)-L;DMP:=EMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EMA(IF(LD>0&&LD>HD,LD,0),14);:= DMP*100/TR1;:= DMM*100/TR1;ADX:= EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=EMA(ADX,6);基本线: MA(HHV(猎熊H,N),21),L