Why can't ordersend() be used in custom indicators? And why can't custom indicator functions be used in EA's and Scripts?

 
How does one automate trades using custom indicators? I thought this was a strange limitation when I learned of it. Can someone explain how it is done? And why would these functions be mutually exclusive? Thanks for your help.
 

M


You use an Expert Adviser to call a Custom Indicator with the iCustom function


See https://docs.mql4.com/indicators/iCustom


HTH

-BB-

 
BarrowBoy:

M


You use an Expert Adviser to call a Custom Indicator with the iCustom function


See https://docs.mql4.com/indicators/iCustom


HTH

-BB-

Thanks for your help. I understand now. Ea's are for trading and no mixing of the two functions is needed.

Reason: