Has someone used this KDJ indicator?

 

I've fund it under: https://www.mql5.com/de/code/9173


I use this in my program as follow:

...

double KDJCurrent = iCustom(NULL,0,"KDJ",9,0.6666666,0.3333333, 0);

...


But I wonder how to get the values of K, D and J?


Cheers

KDJ
KDJ
  • 2014.04.21
  • Walter
  • www.mql5.com
KDJ indicator
 
thomas2004:

I've fund it under: https://www.mql5.com/de/code/9173


I use this in my program as follow:

...

double KDJCurrent = iCustom(NULL,0,"KDJ",9,0.6666666,0.3333333, 0);

...


But I wonder how to get the values of K, D and J?


Cheers

That way you are not going to get any value (there is no buffer 0.3333333)

Use buffer numbers before the last "0" in your iCustom() call

- 0 for K

- 1 for D

- 2 for J

 
Mladen Rakic:

That way you are not going to get any value (there is no buffer 0.3333333)

Use buffer numbers before the last "0" in your iCustom() call

- 0 for K

- 1 for D

- 2 for J


Yes, you are right. Many thanks!

Reason: