View Single Post
Old 26-02-2006, 05:05   #1
sharp_in1008
level 1
 
sharp_in1008's Avatar
 
Join Date: Feb 2006
Posts: 2
Downloads: 0
Uploads: 0
Rep Power: 0sharp_in1008 is on a distinguished road
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
sharp_in1008 is offline   Reply With Quote