MT5 EA with custom indicator - compilations error
-
-
@vish Is the mode buffer in as an int? things like this have caused me issues before.
-
@jstap said in MT5 EA with custom indicator - compilations error:
@vish Is the mode buffer in as an int? things like this have caused me issues before.
This is the block

This is the code line that gives the error. If I manually remove the comma after iCustomName, the issue resolves but I can not generate ex5 from fxdreema.
handle = iCustom(Symbol, Period, iCustomName, ); -
@vish That statement is only half? symbol and period should have (), and no , after icustom name?
At a guess it should be handle=iCustom(Symbol(),Period(),"Arrow Indicator"); Whenever I have used iCustom after the name I use 1,2 or something, this returns the buffer value from the data window.
Also this code is not in your shared link.
-
@vish That 'pass' block is unnecessary for this structure.
-
@l-andorrà I know it but my issue is not that. Does my shared project gets compiled without error?
-
@jstap said in MT5 EA with custom indicator - compilations error:
@vish That statement is only half? symbol and period should have (), and no , after icustom name?
At a guess it should be handle=iCustom(Symbol(),Period(),"Arrow Indicator"); Whenever I have used iCustom after the name I use 1,2 or something, this returns the buffer value from the data window.
Also this code is not in your shared link.
Can you check again? does it compile without error?
-
@vish I tried and I got the same error. I'm afraid I'm not a programmer so I cannot provide a solution.

-
@vish Put the indicator on here and what you are trying to achieve.
