Problem with custom indicator
-
Hello all!
Again me

I created an indicator in "My indicators" cause I have only the ex4 file.
But when I export my EA with my own indicator inside I have a lot of errors. I don't know why. Can you just watch the images below and tell me what is wrong.Thanks a lot!
-
@bagheria Have you got arrow size and squeeze as text or numbers? Have you got them in the indicator code, I find that making this the same as inputs but ensuring int only has numbers fixes most problems. Have you got any different code in this project? I don't see any iCustom code there (I .may be wrong)
-
@jstap Hi! See the screenshots below. The first is the inputs indicator and the second the indicator I have created on fxdreema and the third the indicator as appeared on fxdreema when I choose "My Indicators" in block "Condition"

-
@bagheria I don't see anything wrong that would cause errors, I can say though the iCustom parameter count is where something is trying to get indicator information, normally a line like this iCustom(),1,2 is what is used, the numbers quite often relate to the buffers in the data window of terminal.
-
@jstap Thank you so much. I have found the same indicator for free on internet in MQL4 format. That's good so!
Thanks again!
!
