Thanks mrtools
But as shown in the figure compared with the one without ADX lever the histo bar difference between +Di and -Di is green despite it is in negative side, however, in the old version it is correct
PS
I think the ADX level is contributing in the calculations, as matter of fact, ADX period should be in the calculation equal to 14 but the altering is only when the value of ADX based on period = 14, to be more than 20