Until now I have been adding a copy of the indicator to my chart separately to check the rendering, but have just realised that the bug I've been chasing for 2 days wasn't actually a bug; but that the version of the indicator I added to the chart had different parameters to the one that was hosted within another indicator.
I tried adding this, but it didn't do anything:
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) { _hostedIndicator.Render(RenderTarget, chartControl, chartScale); }
Comment