Lines not being drawn on new potential divergences. All historical drawings are good just once on chart if a new one appears lines not shown/drawn

Joshua McGowan
45
This looks for potential price and indicator divergences and draws lines to show us where its looking at. When the indicator is loaded on the chart all the historical info gets drawn as expected but if left on the chart and a new one shows up no lines are drawn. If anyone can point me in the right direction on where i've overlooked this I would greatly appreciate it. Im also somewhat new (have read the manual, multiple reading resources, and quite a bit of video tutorials) but if there's anything I am doing incorrectly flat out or could be better please feel free to point that out as an extra bonus :) THANK YOU. 
Files: