Chosen Solution
Flickering lines on the bottom of the screen and black bar on the right side. Appeared all of a sudden, restarting hasn’t helped.
This is a known issue with the T-CON board over heating due to the rear vents being blocked. Hopefully you haven’t damaged the board from cooking your system. Sadly you’ll need a new display to properly fix this as the T-CON board is attached to the LCD
Here’s the needed part: MacBook Pro 15" Complete Display - Silver (16/17) Apple P/N 661-08031MacBook Pro 15" Complete Display - Space Grey (16/17) Apple P/N 661-08030 Here’s the guide to put it in MacBook Pro 15" Touch Bar 2017 Screen Replacement