'input' - unexpected token error when compiling mq5 file
-
Hello,
Any ideas on why the above is occurring? The indicator works ok on its own. I am manually entering the indicator values as I have not had any luck uploading an "MT5" indicator.
The data type that is obscured below is ENUM_APPLIED_PRICE. Do I need to make entries into the Enumerations field and if so, what should I place there?

These all look ok.

Indicator appears to be ok in Condition block.

Inputs from code:

Buffers from code:

Thank you
Paul -
@smallous hello, the only thing I have in mind is to replace "PRICE_CLOSE" with number 0, since 0 corresponds to "Close" 1 corresponds to "Open" and so on
-
-
@ambrogio Hello, I changed the settings in the the indicator first, but it stopped the indicator from working.
-
@jstap Thanks for your reply. I am now using another indicator and coded my EA differently to get around the error.