ı did a indicator and ı need to use it in my EA. ı know there is iCustom code but ı didnt understand to use it please help me .
Files:
momentumma.mq4
3 kb
- I have a problem about my EA please help me
- Indicators with alerts/signal
- ea
Read this thread, it will help:
https://www.mql5.com/en/forum/138577
mktw:
ı forgot to write. momentum ma my indicator. and ı need to ExtMapBuffer2 in this indicator. How can I do with iCustom ??
Like this:
double foo = iCustom(Symbol(), 0, "MomentumMA", 12, 14, 1, shift);
Being shift the bar number: normally 0 or 1. I would recommend 1 to avoid false signals.
The parameter before bar shift is the internal buffer number which is set using the SetIndexBuffer function.
(In this case, ExtMapBuffer2 is the internal buffer 0)
Best
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