N:=14;MM:=6;MTR:=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),N);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);线: DMP*100/MTR,COLORRED,LINETHICK2;线: DMM*100/MTR,COLORGREEN,LINETHICK2;: EXPMEMA(ABS(空头线-多头线)/(空头线+多头线)*100,MM),COLORYELLOW,LINETHICK2;分界:30,COLORWHITE,DOTLINE,LINETHICK1;:=MA(CLOSE,20);UB:=BOLL+2*STD(CLOSE,20);VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.025) AN