Dsl - DMI oscillator:
DSL - DMI oscillator.
Author: Mladen Rakic
No issue on my side (example from that file downloaded and attached to my chart)
Using the indicator from the original post with default parameters
So I am guessing that you are trying to use very short DMI period. In any case you can change lines 121 and 122 to this
double plusDI = (atr!=0) ? 100*iCustomMa(DmiMaMethod,plusDM ,DmiPeriod,i,rates_total,1)/atr : 0;
double minusDI = (atr!=0) ? 100*iCustomMa(DmiMaMethod,minusDM,DmiPeriod,i,rates_total,2)/atr : 0;
I was using default settings, it appears to be working ok; so should I still make the changes above?
Thanks for replying.