Whenever I really must use the / sign and not for comments, i usually go out of my way within the code to ask first. Something like if the denominator ==0 then return.
i dont know y, but work just fine in M30 & higher TF but not in M1
sure, same cart i didn't changed the pair (anyway it's doesn't matter i'm using iOpen()...)
So what value do you get when you use iOpen to get the value of a bar that isn't in your history ?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i got in the expert tab zero divide & doesn't working what can be the problem
thanks for your help