Moved: How to use ZigZag indicator to build an EA ? - page 2

 
nicholishen:

Just compile the indicator with the EA by including it as a resource.

Example:


 The attached script has the ZigZag indicator compiled with it, so as you can see there's no need for a separate indicator file.

#resource "ZigZag.ex4"

Just a little precision for readers, usually indicators are in their own folder, so you would need to include the path.