Download MetaTrader 5
To add comments, please log in or register
Develop trading robots to order. Make profit with Freelance service!
Benjamin
27
Benjamin 2014.09.23 17:30 

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 ! 

whroeder1
13610
whroeder1 2014.09.23 18:00  
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?
Benjamin
27
Benjamin 2014.09.23 22:55  
Thanks WHh, after few hours i achieve to erase this issue ;)
/
To add comments, please log in or register