Problems with custom indicators that use SmoothAlgorithms MQH library (MT5)
-
Hi there!
I get these compiling errors:

But I already declared all types:

This only happens with indicators that use the SmoothAlgorithms MQH library (MT5).
I had a workaround for this problem, but it is not working anymore (changing it for an "int" class and use numbers as inputs). When i try to do that "fix" i get the same error.
Some notes:
- The indicator compiles flawlessly and shows in the platform.
- The enumeration is declared in SmoothAlgorithms.mqh, not inside the indicator script.
I attached the indicator and the library can be found here:
https://c.mql5.com/3/293/SmoothAlgorithms.mqh
0_1627842721558_i-CAi_Digit.mq5
Any insights and/or solutions are welcome, thank you!
-
@abade69 This one is beyond my capabilities, but did you try to import the indicator manually as per these tutorials?
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
https://fxdreema.com/forum/topic/9105/tutorial-working-with-ex4-ex5-indicator-file -
Hi! I appreciate your input.
Gonna check the tutorials, perhaps I missed something important.
Will share the solution here (if any), as I think other people are struggling with the same problem in MT5.
-
@Abade69
Hi
Did you find a solution?
i have the same problem
i has been 2 years lol