|
Using Custom Indicator in an EA
Hi,
I am trying to include the code from a custom indicator into an EA. I was wondering if replacing the indicatorcounted() with Bars() is an appropriate get around the errors recieved while trying to compile the indicator code in an EA.
(The reason i don't intend to use the iCustom is that a single function is required to return an array of values and i don't know how functions that return arrays or pointers are handled in mql4. While using them within an EA i can use the arrays as global variables which are then set within the indicator code)
Help is much appreciated.
Last edited by sharp_in1008 : 26-02-2006 at 05:05.
Reason: Spell
|