There are a number of data series etc. that I use repeatedly in different indicators - for example, the number of consecutive of bars up or down - that require events such as OnBarUpdate and tests for first tick of bar, etc. I'm aware that you can create add ons that include partial indicator classes, etc. What I'm wondering is, what's the best approach in NT8 for creating a common library of methods and properties, where many of the properties will be series of various types that involved a bit of work to calculate? My first thought was just to create a new indicator that extends Indicator, put all the logic there, and then just have new indicators extend the "common" one. But is that the best approach? If you have a model, that would be great. I'm aware of the example "MySharedMethodsAddonExample.zip" - the difference is I would want to leverage all of the standard events in order to calculate the shared information.
Thanks,
Gordon

Comment