- Draw.HorizontalLine(this, "tag1", false, Open[0], Brushes.Purple, DashStyleHelper.Solid, 2);
- Draw.Rectangle(this, "tag2", false, Time[2], LowY, Time[2].AddDays(6), HighY, Brushes.Silver, BrushFill, 25);
For a while it just drew on the price panel and then randomly started to open a second panel but still draw on the price panel. Second panel is blank.
Here's what I've tried to rectify the problem:
- Add, remove, add the indicator
- Close chart and open a fresh char and add back the indicator
- Add the SMA indicator in addition to my custom one
- Comment out ALL code leaving just IsOverlay = true, DrawOnPricePanel = true; and a return in OnBarUpdate().
- Comment out ALL Code leaving just a return statement - no defaults
- Recompiled and reapplying indicator repeatedly during and between all these steps
- Restarted NinjaTrader a few times along the way
- Manually set panel to "same as input series", apply, remove indicator, apply indicator again
Suggestions please.
Thanks,
Clint
