Compilation Error, please help! :)
-
https://fxdreema.com/shared/LiYmnbeDd
Hello guys I am a New user. I created this project to learn some feature of the FxDreema Platform.
When I put the EA in mt4 it gives me error and in metaeditor could not be compilated.
Due to "candlecloseprice structure member undefined" error.Thanks for your help!
-
@luigi_123 this block is unnecessary (and incorrectly used)

-
thats not the only error though, lol
To find the erroneus block, open the .mql4 in metaeditor and try to compile in there. Then you can double-click the error message and you get the code line in question.

Then scroll up the code and you will soon find the corresponding fxdreema block:

I suspect your variable name is wrong here. Perhaps you have declared "last_candle_close_price" but you try to use "LastCandleClosePrice"
