Download MetaTrader 5

indicator returns 0.0

To add comments, please log in or register
alessandrob83
9
alessandrob83  

Hello everyone,

I'm developing an expert advisor that uses the stochastic(h1) and sar(d1) indicators. I noticed that sometimes  the indicators return 0.0. Why does this happen?

 

Thank you in adance 

Carl Schreiber
6692
Carl Schreiber  

Do you use iStochastic() and iSAR() or your own indicators?

You need to post the code in this case.

alessandrob83
9
alessandrob83  
gooly:

Do you use iStochastic() and iSAR() or your own indicators?

You need to post the code in this case.

I use iStochastic() and iSAR() 
alessandrob83
9
alessandrob83  
alessandrob83:
I use iStochastic() and iSAR() 
The 0.0 value indicates that there is an error?
To add comments, please log in or register