Array division - issue (blackout)

 

Hi everybody,

 

Got a problem concerning this code :

 

premier[i] = A[i]-mini[i];
second[i] = A[i]-B[i];
TOP[i] = premier[i]/second[i];

 

If I run it, there is a blackout and all my indicator doesn't work. Don't understand why ? It would be very cool to help me ! 

If i replace formula by result of them like this, everything work :

 

premier[i] = 0.1;
second[i] = 0.2;
TOP[i] = premier[i]/second[i];

 

Thank you very much ! 

 
afterrage: Got a problem concerning this code :
  1. Don't paste code
    Play video
    Please edit your post.
    For large amounts of code, attach it.

  2. How should we know what a A[] and mini[] are? There are no mindreaders here. Post ALL the relevant code. Where are the declarations. Are they buffers?
 
Thanks WHh, after few hours i achieve to erase this issue ;)