My indicator can't use a dynamic array

 
hi guys, a function in my indicator use an indicator that I declare as global. If I declare it as static array my indicator use it, but if declare it as dynamic array, when the function try to use it my indicator stop it without some warning. Tank you for all help
 
Do you really expect an answer with the information you've provided? There are no mind readers here and our crystal balls are cracked. We can't see your broken code.