When I use the following in a strategy it will work for a single selected symbol.
Color mycolor = tPane.GetBackgroundColor(bar);
When I select a dataset I get the following error for every symbol including the first symbol.
Error processing symbol T Object reference not set to an instance of an object.
I am plotting a synthetic symbol along with the symbol if this might be related.
However eliminating that Color line gets rid of the errors.
Thanks!
Size:
Color:
This happens because tPane is null inside a Multi-Symbol Backtest. We'll need to investigate if this is working by design or not.
Size:
Color:
Thanks for the heads-up. The error shouldn't happen. Could you create a support ticket for tracking purposes? Putting a link to this thread would be enough. Thanks in advance.
Size:
Color: