Also, in another indicator, I put a simple command to draw a green line after the green arrow and a red line after the red arrow, but it still has errors in some places and either does not draw or overdraws.
Thank you for someone to fix this problem

indicator=hma-mega-trend-arrows.mq4

code: https://fxdreema.com/shared/BYSbklj5c

Screenshot 2023-08-11 155437.png