i don't think it is possible.but i working now with Global Variables.
I check it every tick and if it changes,i call a method.
saidmrn: ,i've a indicator which calculates and if my condition is true,i want to call a method to a EA to execute an order.
| Don't try do that. Just get the value of the indicator in the EA and do what you want with it. You should write a self documenting function instead of calling iCustom directly, see Detailed explanation of iCustom - MQL4 forum |
whroeder1:
Don't try do that. Just get the value of the indicator in the EA and do what you want with it. You should write a self documenting function instead of calling iCustom directly, see Detailed explanation of iCustom - MQL4 forum |
yes,i think this is the best way,thanks !

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
Hi guys,i've a indicator which calculates and if my condition is true,i want to call a method to a EA to execute an order.
I was thinking about load a buffer,but i dont think if it gonna works.
It's possible to call a method inside my EA from my indicator ?
i'm already using ICustom to load a handler reference to my indicator.
or if it's possible,my EA calls a method from indicator if some condition is true.
Thanks !