[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q: Include indicator variable in another indicator...?



PureBytes Links

Trading Reference Links

Hi All,

If I am writing a new indicator in Easylanguage "new-ind", is there any way 
that I can include another indicator "old-ind" in this indicator (new-ind) 
and refer to old-ind's variables, without actually copying the code into 
new-ind...?

For Example:

old-ind
------------------------------------------------------------------------------
variables: oldvar1(0);

oldvar1=high + 1
------------------------------------------------------------------------------



new-ind
------------------------------------------------------------------------------
variables: newvar1(0);

newvar1= oldvar1 + 3
------------------------------------------------------------------------------

How would I do this...?

Any help appreciated.

-Jerry