MQL5 Files cannot be compiled anymore/impossibile to make some custom indicator work
-
Dear Customer Service,
all MQL5 file exported cannot be compiled


That made impossibile to use many commercial and non commercial custom indicators that require a modification of iCustom manually (remove CLOSE_PRICE at the end)
Please address this problem with utmost urgency
Thanks, Regards
-
@gabrielebrignoli
I'm not customer service, but are you absolutely sure you have the correct syntax?
It looks like the correct argment here is Ask(Symbol()) -
My poor coding skill can't answer that, but that is the untouched file generated by Fxdreema
Even with a two block project, ex5 export work, but mq5 export cannot be compliled by MT5 compiler (last version)
-

-
@gabrielebrignoli Try modifying the .mq5 as per my suggestion, and test if it compiles
-
Thanks, but doesn't work

Same error
-
The Ask-function is case-sensitive: try exactly Ask(Symbol())
-
Nope..

-
Ok, I'm sorry, can't spot where the problem is. Here's the mql5 documentation, maybe it helps:
https://www.mql5.com/en/docs/trading/ordercalcmargin -
If I remove that (symbol) it compiles and seem to work, but who knows if influence EA and how