Hi,
Pardon my question as I'm still new to MQL4 .
Why all this pain of conversion from indicator to EA when we can use icustom to "insert" the indicator into EA?
What are the disadvantages of doing this?
Thank you Nikolay for your very good article and the information disclosed. I myself have problems with an indicator that I have written which works very well on the chart. However, it returns totally wrong values when called from an EA. I hope that I will be able to solve the problem after digesting your article.
However, I am a bit confused regarding the solutions that you suggest. There are two examples of solutions: IndicatorPlan1 and IndicatorPlan2. What is the difference? Which one is the final solutions. Also, I am not sure I understand what you suggest. Should one paste the indicator code inside the EA? This would make the EA very complex and cumbersome. I would rather be able to call the custom indicator from inside the EA using "iCustom". Can you please elaborate on that and on how to use it in combination with an EA?
Thanks again
Omar
hi
Preparing the indicator and EA both are different and the both of the files are in different loacation
Now while runing the indicator call the EA CODE?
my question is how can we call the EA into the indicator ?
How can do the code EA code is called into the Indicator ?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Transferring an Indicator Code into an Expert Advisor Code. Indicator Structure has been published:
Author: Nikolay Kositsin