Issue with loading Custom Indicators from EX5 files resolved
-
I was working with some custom indicators, without source codes today, and resolved the issue where the compiler doesn't compile correctly... Since I thought that someone else might have the same issue, I have decided to post it here.
The issue: Loading data from Custom indicators without Source Codes, on blocks like this.

This error will show up if no parameters are passed to the indicator:

This other error will show up in case you do pass some parameter.

The solution:
Generate the mq5 file by clicking on the "mq5" button.
Open up the file on Metatrader's IDE and remove the extra comma that is hanging there.Enjoy Custom indicators working in your algo.
In case anyone else has an easier solution for this bug, please post.
-
@quantengineer Thank you very much for sharing.
-
Oooooh very nice!!! And super nice!!
Thanks a lot, let me try it right now

-
I thought i make screenshots for those who may not know how to make changes, well i also didnt know but i'm persistent hahahaa...!

Double click on no.2, you will be taken to were you must make corrections and then dele the comma and one space
[0_1639307153437_Screenshot (82).png]

-
@anselem Thank you for sharing.
-
I just fixed this issue