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!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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