on the dsu by steve, no errors, but not working properly, on the dsu 3a, I also get the zero divide error.
** edit, restarted my machine and Empty4, getting zero divide on both versions now.
Scalp the Little Gits, dsu
- remix919
- Trader
- Posts: 91
- Joined: Wed Jan 23, 2013 2:42 am
- Location: Some Road in the USA
Scalp the Little Gits, dsu
Last edited by remix919 on Tue Jun 24, 2014 6:56 pm, edited 1 time in total.
EA's are the best way to trade. Why? Because they take the emotion out of trading.
-
nonlinear
- Trader
- Posts: 293
- Joined: Fri Jun 01, 2012 2:56 pm
- Location: Washington DC
Scalp the Little Gits, dsu
I get the zero divide and display problem with both versions.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
You will do. They are the same ea.nonlinear » Tue Jun 24, 2014 6:45 pm wrote:I get the zero divide and display problem with both versions.
I am looking into this, but it is a bugger to find divide by zero errors when they are not appearing on my machine.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
nonlinear
- Trader
- Posts: 293
- Joined: Fri Jun 01, 2012 2:56 pm
- Location: Washington DC
Scalp the Little Gits, dsu
The errors (display and zero divide) do not appear with Version 3, which was posted earlier in the thread. So it looks like the change from V 3 to 3a caused the errors (hope that helps).
- remix919
- Trader
- Posts: 91
- Joined: Wed Jan 23, 2013 2:42 am
- Location: Some Road in the USA
Scalp the Little Gits, dsu
I can give you remote access to my dedicated Empty4 EA demo machine if you want =DSteveHopwood » Tue Jun 24, 2014 1:52 pm wrote:You will do. They are the same ea.nonlinear » Tue Jun 24, 2014 6:45 pm wrote:I get the zero divide and display problem with both versions.
I am looking into this, but it is a bugger to find divide by zero errors when they are not appearing on my machine.
EA's are the best way to trade. Why? Because they take the emotion out of trading.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
Those of you getting the zero divide error, please download the latest version from post 1 and see if the errors still appear.
If they do, please drop the attached script into your Scripts folder and run it on a few charts. You are looking for an alert that shows zero value. For example, 5 Digit charts: JPY pairs value shown should be 0.001 not 0.000; other pairs value shown should be 0.00001 not 0.00000.
Let me know if you see any zero values.

If they do, please drop the attached script into your Scripts folder and run it on a few charts. You are looking for an alert that shows zero value. For example, 5 Digit charts: JPY pairs value shown should be 0.001 not 0.000; other pairs value shown should be 0.00001 not 0.00000.
Let me know if you see any zero values.
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
nonlinear
- Trader
- Posts: 293
- Joined: Fri Jun 01, 2012 2:56 pm
- Location: Washington DC
Scalp the Little Gits, dsu
Hi Steve, I ran the script on a few pairs and everything looks correct on pip values, so that does not appear to be the issue.
Looks like the error developed when dsu removed the spread filter in the original version of the EA.
Looks like the error developed when dsu removed the spread filter in the original version of the EA.
- remix919
- Trader
- Posts: 91
- Joined: Wed Jan 23, 2013 2:42 am
- Location: Some Road in the USA
Scalp the Little Gits, dsu
I also ran it and get 0.001. I also re-downloaded the file in post 1 and still have the zero divide error.
2014.06.24 15:39:52.971 zero divide in 'Scalp the Little Gits%2C dsu.mq4' (3457,50)
Does the (3457,50) mean something? maybe line number or area in the code where it's having issues?
Line 3457: ProfitPercentToday = (AllAccountProfitToday / StartBalance) * 100;
not sure what the 50 part means?
2014.06.24 15:39:52.971 zero divide in 'Scalp the Little Gits%2C dsu.mq4' (3457,50)
Does the (3457,50) mean something? maybe line number or area in the code where it's having issues?
Line 3457: ProfitPercentToday = (AllAccountProfitToday / StartBalance) * 100;
not sure what the 50 part means?
EA's are the best way to trade. Why? Because they take the emotion out of trading.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
I was looking at that and wondering if StartBalance could = zero.remix919 » Tue Jun 24, 2014 7:39 pm wrote:I also ran it and get 0.001. I also re-downloaded the file in post 1 and still have the zero divide error.
2014.06.24 15:39:52.971 zero divide in 'Scalp the Little Gits%2C dsu.mq4' (3457,50)
Does the (3457,50) mean something? maybe line number or area in the code where it's having issues?
Line 3457: ProfitPercentToday = (AllAccountProfitToday / StartBalance) * 100;
not sure what the 50 part means?
Try the attached V 1d. I will make it the post 1 version if it fixes the problem.
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- remix919
- Trader
- Posts: 91
- Joined: Wed Jan 23, 2013 2:42 am
- Location: Some Road in the USA
Scalp the Little Gits, dsu
Looks like it's working so far, I'm waiting for it to finish calculating the average spread
EA's are the best way to trade. Why? Because they take the emotion out of trading.