Adding a second plot to a new panel in an indicator

Thanks for your reply. I ended up making this a hidden plot with a transparent brush, but with the signals still accessible to other scripts/strategy builder.