You will have to read the documentation again so that you know the difference between an EA (Expert Advisor), an CI (Custom Indicator) and a Script. What you want, is an "Indicator" and not an EA. I suggest you look at some of the example Indicators that MetaQuotes provides as a basis and then build from there.
Also, instead of creating Chart Objects, use buffers instead to display the arrows, so study for example, the "parabolic.mq4" as a basis for your Custom Indicator because it places a dot symbol (equivalent to an arrow) using buffers instead of Chart objects.
Hi FMIC.
Thanks for your suggestion. Is a CI able to send emails when events are triggered?
Thanks for your suggestion. Is a CI able to send emails when events are triggered?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi group.
I am trying to develop an MQL4 EA that places arrows on chart. When initiated, the EA will place arrows on past candles. To make it simple, the EA can be designed to place an up-arrow when the previous candle has had a 10 point move (or more) up (Close-Open>10).
I am not a coder, but I am trying. I would appreciate if someone could point out my mistake or correct the code.
Thanks.