I have 3 indicators and I want to create a template out of them.Now I know how to do that.The problem is the indicator use 'EventChartCustom' ,which means the event subscription need to happen over precedence.
Indicator1 needs to first initialized so that it is ready to receive event.-LISTNER
Indicator2 needs to be initialized next which is also going to receive event.-LISTNER
Indicator3 needs to be initialized last ,it would start publishing event as soon as it is initialized.-PUBLISHER
Now how can I store them as a template and still maintain the order in which they are initialized?