Scalp the Little Gits, dsu

Locked
User avatar
remix919
Trader
Posts: 91
Joined: Wed Jan 23, 2013 2:42 am
Location: Some Road in the USA

Scalp the Little Gits, dsu

Post by remix919 »

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.
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

Post by nonlinear »

I get the zero divide and display problem with both versions.
User avatar
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

Post by SteveHopwood »

nonlinear » Tue Jun 24, 2014 6:45 pm wrote:I get the zero divide and display problem with both versions.
You will do. They are the same ea.

I am looking into this, but it is a bugger to find divide by zero errors when they are not appearing on my machine.

:xm:
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.
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

Scalp the Little Gits, dsu

Post by nonlinear »

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).
User avatar
remix919
Trader
Posts: 91
Joined: Wed Jan 23, 2013 2:42 am
Location: Some Road in the USA

Scalp the Little Gits, dsu

Post by remix919 »

SteveHopwood » Tue Jun 24, 2014 1:52 pm wrote:
nonlinear » Tue Jun 24, 2014 6:45 pm wrote:I get the zero divide and display problem with both versions.
You will do. They are the same ea.

I am looking into this, but it is a bugger to find divide by zero errors when they are not appearing on my machine.

:xm:
I can give you remote access to my dedicated Empty4 EA demo machine if you want =D
EA's are the best way to trade. Why? Because they take the emotion out of trading.
User avatar
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

Post by SteveHopwood »

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.

:xm:
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.
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

Scalp the Little Gits, dsu

Post by nonlinear »

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.
User avatar
remix919
Trader
Posts: 91
Joined: Wed Jan 23, 2013 2:42 am
Location: Some Road in the USA

Scalp the Little Gits, dsu

Post by remix919 »

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?
EA's are the best way to trade. Why? Because they take the emotion out of trading.
User avatar
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

Post by SteveHopwood »

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?
I was looking at that and wondering if StartBalance could = zero.

Try the attached V 1d. I will make it the post 1 version if it fixes the problem.

:xm:
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.
User avatar
remix919
Trader
Posts: 91
Joined: Wed Jan 23, 2013 2:42 am
Location: Some Road in the USA

Scalp the Little Gits, dsu

Post by remix919 »

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.
Locked

Return to “Automated trading systems”