Changing code of one of Steves old EA's...

Ask your basic questions confidently here. Flaming is not allowed. Sympathetic help is the order of the day.
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.

Re: Changing code of one of Steves old EA's...

Post by SteveHopwood »

There was a variable that needed resetting. Fix in 1b in post 1.

To fix your individual version find:

Code: Select all

   //Reset various bools
   if (OpenTrades == 0)
   {

   }//if (OpenTrades > 0)
and add the extra line in this block.

Code: Select all

   //Reset various bools
   if (OpenTrades == 0)
   {
      TicketNo = -1;
   }//if (OpenTrades > 0)
:D
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.
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

Re: Changing code of one of Steves old EA's...

Post by HannesJoubert »

Hi there, Steve, thanks for the change in the code.

However, you could have told me that it is where it was :mrgreen:

But I did find it, changed it, and compared it to the change made in the 1st post and it now matches.

So now we wait to see if it runs as planned.

Cheers

Have a good evening

H

PS Will try to get more involved in coding, but that could be dangerous :shock:
User avatar
SpiderX
Trader
Posts: 554
Joined: Thu Aug 22, 2013 4:50 pm

Re: Changing code of one of Steves old EA's...

Post by SpiderX »

Hi,

would like to give a quick report of testing this EA.
The version which i use is the original strategy.
Tested it in forward direction on 5 min,15 min, 1h , 4h..absolute disaster.
The lower the time frame, the faster the losses pile up.
Reversed the trigger on Tuesday.
Still not too great for 5 and 15 min, but a little promine on 1h,4h, but too early to tell.
Using Hannes modification on 15 min is not working too.

Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8
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.

Re: Changing code of one of Steves old EA's...

Post by SteveHopwood »

SpiderX wrote:Hi,

would like to give a quick report of testing this EA.
The version which i use is the original strategy.
Tested it in forward direction on 5 min,15 min, 1h , 4h..absolute disaster.
The lower the time frame, the faster the losses pile up.
Reversed the trigger on Tuesday.
Still not too great for 5 and 15 min, but a little promine on 1h,4h, but too early to tell.
Using Hannes modification on 15 min is not working too.

Cheers
Not entirely sure how I got sucked into this. Most likely I saw a 'view new posts' and had nothing better to do at the time.

Fact is, the original bot was a failure. Most likely the updated one will be as well. A rubbish strategy does not become a good one by doubling up the original requirement.

Do yourselves a favour and forget it guys. I am about to remove my sub from this thread and will take no further part.

:D
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.
HannesJoubert
Trader
Posts: 282
Joined: Wed Oct 30, 2013 11:06 am
Location: South Africa

Re: Changing code of one of Steves old EA's...

Post by HannesJoubert »

Yip, pretty much blew my account as well :oops:
I even tried it with Renko bricks, and whilst the rot was slower, there was still rot....

Thanks for the help though, props to you guys. I have shelved this one ...

I am now subscribed to 10.4 / 10.5 etc and have separated myself from trading in the hope to brush up on NB's trading method.

Now if I could only get the charts to show up on the platform, I still do not know how or where to change the pair prefixes...

Cheers

H
Post Reply

Return to “EA's for Dummies.”