Help with MT5 Indicator that disappears and plots arrows all over the chart

 
Would anyone be able to guide my project in the right direction, I have been trying to create an indicator that plots arrows when conditions have been met, however the indicator seems to be acting up by disappearing the arrows off the chart randomly or definitely if i refresh the chart. Lastly it also plots arrows that should not or don't have any reason to be there... I am lost and the programmer that was helping me is out of ideas... can anyone here help me, Thank you in advance!
Files:
 
Javi can anyone here help me,

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the file.
     How To Ask Questions The Smart Way. (2004)
          Be precise and informative about your problem

We can't see your broken code.

Fix your broken code.

With the information you've provided — we can only guess. And you haven't provided any useful information for that.