What you posted seems correct. Are you sure you want bufferK?
Indicator:
SetIndexBuffer(0,BufferK); SetIndexBuffer(1,BufferD); SetIndexBuffer(2,BufferK_Curr); SetIndexBuffer(3,BufferD_Curr);code:
#define BK 0 #define BD 1 #define BKcc 2 #define BDcc 3 Stoch_TF3_Indi1_0 = iCustom(NULL,0,"MTF_Stochastic_v2","n1","n2","n3","n4","n5", TimeFrame,"n6",KPeriod,DPeriod,Slowing,"n7",MAMethod,"n8", PriceField,false, false, Red, "Arial",8,BK,0);
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
Hi,
I found the MTF_Stochastic_v2 (https://www.mql5.com/en/code/8033), which works really great! Thanks for that!
Now I want to use it in my EA, but in this way I am allways getting a wrong value
Stoch_TF3_Indi1_0 = iCustom(NULL,0,"MTF_Stochastic_v2","n1","n2","n3","n4","n5", TimeFrame,"n6",KPeriod,DPeriod,Slowing,"n7",MAMethod,"n8",PriceField,false, false, Red, "Arial",8,0,0);
This are the extern Variables from the Indicator:
How do I have to call the value from this indicator??