I want to write a class that does stuff and I want to call it from either an Indicator or a Strategy. I also want it to have, for convenience, the strategy or indicator itself as a private field. Since both Strategy and Indicator behave in similar ways: I mean they both have sort of the same fields/methods, I suppose they both inherit the same class. Which is it? How can I explore the class hierarchy of a ninjascript class?
Thanks!

Comment