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
|