so, if iam using 4digit broker, should change to
like this? 1000 or 100000 ?
double SlopeDown1 = 1000*(DownFractal-DownFractal2)/(DownBar-DownBar2); double SlopeDown2 = 1000*(DownFractal2-DownFractal3)/(DownBar2-DownBar3); double SlopeDown3 = 1000*(DownFractal-DownFractal3)/(DownBar-DownBar3);
i have change to 1000 and 100000, for that slopedown, slopup, slopcross,
but still zero divides error..
can anyone upload fixed mq4 ?? thx you so much..
sory, doesnt mean that way,,
anyway thx for ur reply,, :)
i ll take learn path..
To find out what is happening in the code use the Print statement.
also before letting a value or a result divide numbers use if ( value == 0.0 ) /* then */ print("Hey can't dvide by zero do something else") ;

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
this attached ea is free from local forum, created by jjsmads.
but in my mt4, from various broker, it cant run, always said "zero divide" on jornal. please help. thx.