Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

sharing codes/variable within RealCode Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
zawadee152
Posted : Friday, February 5, 2010 11:53:44 AM
Registered User
Joined: 1/31/2010
Posts: 22
If I have say, 2 Indicators - IndicatorB and IndicatorC.  Both are different but rely on some of the same calculations and variables.  What is a proper way / strategy to write these same (shared) codes so that they can be in one place (rather than writing a bunch of Indicators and referencing them)?  Is it possible to write another Indicator, say, IndicatorA, that exposes variables and methods so that IndicatorB and IndicatorC can use it.  Any example is appreciated.

Thanks,

zwd
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.