PureBytes Links
Trading Reference Links
|
> 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...?
No. You have two choices:
* If the code to compute oldvar in old-ind is simple, just copy it
into new-ind.
* If the code is complex, consider moving it into a function. Then
call the function from both old-ind and new-ind.
Gary
|