This indicator can hardly be fixed, because it is based on tma centered. If you try to remove the repaint, you will get a completely different indicator and the signals will be where you do not expect to see them.
hgi_lib.ex4 is required for this indicator to work. And apparently the license has expired and it is registered in dll