I have customized an indicator and added two public methods to it. These methods are used to provide the pricelevels on which horizontal bars will be drawn (these lines represent the entry and exit values that are in effect). When I add the indicator to a chart and change the settings via the UI everything works correct.
Now I'm adding this indicator to a strategy via the add() method in the initialize method of the strategy, as documented. However, this does not return a reference to the created indicator on the chart.
Endresult is that I have no means (pointer or reference) of communicating with indicators I've added in a strategy, althoug they have the public methods in place to interact with.
I've ran out of ideas here and I'm hoping I missed something obvious.Hope someone can help or shatter my intentions for good



.......this C# is so weird...
Comment