Has someone used this KDJ indicator?

I’ve found 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

Yes, you are right. Many thanks!