the problem is, I want to open order when my indicator gives signal. How can I do that?
I have been trying to do with iCustom() but it is not satisfying.
I tried to use GlobalVariableSet() in indicator and GlobalVariableGet() method in EA but it is not properly worked.
Please help.
The syntax is:
Here is the example using custom Alligator indicator (which should be available by default as
Alligator.mq4in MT platform).where
13, 8, 8, 5, 5, 3are corresponding input parameters of custom Alligator as defined in indicator it-self:and
modeis the corresponding line index as defined in the indicator by: