double STOvalue2 = iCustom(NULL,0,"MB_Stochastic_005",2,0);//index 2 shift 0 double STOvalue4 = iCustom(NULL,0,"MB_Stochastic_005",4,0);//index 4 shift 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
I hope someone can help me. I want to call a custom indicator (the one who is attached to this topic). What I ultimately want to do is to generate a signal when i.e. buffer 2 is crossing buffer 4.
I am now trying to figure out if I can call this custom indicator or that I have to implement the indicator in my EA.
When I would use a stochastic it would be something like:
STOvalue1 = iStochastic(Symbol(),0,5,3,3,MODE_SMA,1,MODE_MAIN,0);
STOvalue2 = iStochastic(Symbol(),0,5,3,3,MODE_SMA,1,MODE_SIGNAL,0);
In my case it will probably be something like:
STOvalue1 = MB_Stochastic_005(???)
where ??? is the part I don't know. I hope anyone can help me. Thanks in advance.