Download MetaTrader 5

ho can i use my custom indicator in EA?

To add comments, please log in or register
Do you want to write a trading robot? Find solution in MQL5 Reference!
Laszlo Komka
412
Laszlo Komka 2013.05.29 19:34 

hi,

i'm new to mql5, i've created a custom indicator ( single  buffer), and my question is:

how can i use the indicator data, plotted bars in any EA?

phil

Step on New Rails: Custom Indicators in MQL5
Step on New Rails: Custom Indicators in MQL5
  • 2009.11.23
  • Андрей
  • www.mql5.com
I will not list all of the new possibilities and features of the new terminal and language. They are numerous, and some novelties are worth the discussion in a separate article. Also there is no code here, written with object-oriented programming, it is a too serous topic to be simply mentioned in a context as additional advantages for developers. In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.
Alain Verleyen
Moderator
30719
Alain Verleyen 2013.05.29 19:50  
phil09:

hi,

i'm new to mql5, i've created a custom indicator ( single  buffer), and my question is:

how can i use the indicator data, plotted bars in any EA?

phil

Hi,

You have to use iCustom function within your EA. Read this article can help.

Laszlo Komka
412
Laszlo Komka 2013.05.30 13:09  

Thanks, no working, BUT in strategy tester is very very slow, and in visual mode the program crash.

phil

Alain Verleyen
Moderator
30719
Alain Verleyen 2013.05.30 13:12  
phil09:

Thanks, no working, BUT in strategy tester is very very slow, and in visual mode the program crash.

phil

You have to show some code if you need help.
Laszlo Komka
412
Laszlo Komka 2013.05.30 13:23  

oh, I mean NOW working... sorry

i try resolve the problem, but any suggestion why the strategy tester in visual mode crash, would be good.

phil

Alain Verleyen
Moderator
30719
Alain Verleyen 2013.05.30 13:42  
phil09:

oh, I mean NOW working... sorry

i try resolve the problem, but any suggestion why the strategy tester in visual mode crash, would be good.

phil

As I said, if you provide some code, we can test it and try to help you, otherwise no way.
To add comments, please log in or register