fx_soul:
When i equals Bars and then you add periods ( 24 ) to it you will be trying to get the close value for a bar that does not exist, if you do that iClose() will return zero . . . and then you divide by zero. Additionally if you run this on anything other than M1 your Bars value will be wrong . . .
Can somebody please help me...why i'm getting "zero divide" error when i load that indicator......
thanks for the response Raptor.
so whats the solution how can i write it ? sorry but i'm totally coding noob.
i know it about the m1.
fx_soul:
Talk to the person that wrote it and ask them to fix it. anyone else will have to understand what the Indicator is trying to do and understand the consequences of any changes they make and test what they do . . .
thanks for the response Raptor.
so whats the solution how can i write it ? sorry but i'm totally coding noob.
i know it about the m1.
i'm trying to wrote that indicator that would simple give me the % change of Gbp/Jpy for the last 24 bars.....
fx_soul:
So it's your code ? well the best way to learn is figure it out and fix it . . . if you don't understand something look it up in the Documentation, Book or search the Forum using Google.
i'm trying to wrote that indicator that would simple give me the % change of Gbp/Jpy for the last 24 bars.....
thanks raptor

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
Can somebody please help me...why i'm getting "zero divide" error when i load that indicator......