From Mladen
Here is the oscillator version
PS: still left the 4 types of smoothing method. To remind : original ADX (DMI) is calculated using SMMA (which is sometimes called "running MA" and is equal in values to what is called "Wilders EMA" which is used in original DMI), but I left the option to experiment with the other types of averages too
Also this version DMI oscillator 1.1: This version has an option to smooth the results of the oscillator and it has 3 choices of color chage : on levels crosson zero cross and on slope changealerts are triggered according to color change choice