Custom Indicator Compilation Errors
-
Hello,
When I am trying to compile my EA using a custom indicator, I am getting a compilation error stating an undeclared identifier. This is because the input is an 'int' but the value I am assigning it is not an integer as per the inputs of the indicator.
The indicator input is an int but the values are not. Please see the attached screen shots of the indicator input screen. Could you please help? I have tried just to assign 0 or 1 to this field and it doesn't work.
Thanks
-

-
right click and select your input Last_Three_Levels ... dont type it manually, click right into field and select it from list
-
Sorry, I forgot to attach screenshots ,please see attached.
Thanks in advance