Indicators: Dsl - DMI oscillator

To add comments, please log in or register
Automated-Trading
151467
Automated-Trading  

Dsl - DMI oscillator:

DSL - DMI oscillator.

Author: Mladen Rakic

Dsl - DMI oscillator
Dsl - DMI oscillator
  • 2017.03.13
  • Mladen Rakic
  • www.mql5.com
DSL - DMI oscillator
mikemanire
5
mikemanire  
I appreciate the indicators you have coded. I am having trouble with  Dsl- DMI oscillator not appearing on my chart. Is there a way i can fix this? 
Mladen Rakic
155868
Mladen Rakic  
mikemanire:
I appreciate the indicators you have coded. I am having trouble with  Dsl- DMI oscillator not appearing on my chart. Is there a way i can fix this? 

No issue on my side (example from that file downloaded and attached to my chart)


Devonish
848
Devonish  
Please can you check for bugs?
Files:
Mladen Rakic
155868
Mladen Rakic  
Devonish:
Please can you check for bugs?

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;
Devonish
848
Devonish  

I was using default settings, it appears to be working ok; so should I still make the changes above?

Thanks for replying.

To add comments, please log in or register