calling a custom indicator which in in Expert\myExpert\ZigZag.ex5)

 

Hello I want to call zigzag in my expert and I want indicator to be in same folder. I read icustom description and it says it should be something like this:

"\Experts\myExpert\zigzag"
but it returns invalid handle.
can anyone help with this?

 

When asking a question, please explain in detail, and if relevant, also include screenshots, log output, example code, etc.

Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893

 
Mehdi Ghorbani Saeidian:
You can embed the indicator using #resource. When the EA is compiled, the indicator file is built into the EA's .ex5, so it runs directly from memory and its physical location on disk is irrelevant.
 
Miguel Angel Vico Alba #:
You can embed the indicator using #resource. When the EA is compiled, the indicator file is built into the EA's .ex5, so it runs directly from memory and its physical location on disk is irrelevant.
Thank you! It worked