MQL5 Custom Indicator Compilation Error
-
When you select custom indicator under indicators in MT5, it gives a compilation error.


Error:

Shared example project: https://fxdreema.com/shared/irCpwWj3b
The same structure works without any issue in MQL4 -
@vish Apparentlu the reason is the custom indicator. Are you sure it works correctly on MT5?
-
@l-andorrà No. whatever the indicator, I get this error. Did you get it to compile without error for any indicator?
-
@vish this menu is correct. that massage isn't Bug

-
@xfire I know this way works but what want to achieve is to have a constant for the name field so that the user can simply enter his indicator name under EA settings and work with any indicator he has. This works perfectly in MQL4 but gives the said error only in MQL5.
-
@vish Then more than probably it is a code bug. You will have to insist the admin to fix it.