Download MetaTrader 5

Has someone used this KDJ indicator?

To add comments, please log in or register
thomas2004
175
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

KDJ
KDJ
  • 2014.04.21
  • Walter
  • www.mql5.com
KDJ indicator
Mladen Rakic
70981
Mladen Rakic  
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

thomas2004
175
thomas2004  
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!

whroeder1
17097
whroeder1  
To add comments, please log in or register