Bob's Biggest Balls Ever

Post Reply
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: Bob's Biggest Balls Ever

Post by SteveHopwood »

xrismak wrote:Hi Steve,
Thanks for all the Hard work, I suppose what we have at the Moment is Still working Wonders at the moment.
I forgot to turn off the experts Advisor tab on Empty4 after I manually closed the other Profitable trades and so I got these trades Again...
I am always doing that.

Another fav trick on my coding machine is to have several different bots under development. One of them sends a trade which is instantly closed. I spend several hours trying to track down the fault in the ea under development. Then I remember that there are several others on the same platform. The trade the current bot sends has met the closure criteria of another and so is closed by a different bot.

If I had a firing brain cell, I would be lethal.

Hey ho.

: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.
hndymann
Trader
Posts: 23
Joined: Sat Nov 19, 2011 4:01 pm

Re: Bob's Biggest Balls Ever

Post by hndymann »

Question for you Steve,

In the code here and the others that use old bar times:

Code: Select all

   for ( i = 0; i < symbolCount; i++ )
   {
      // Weekly stuff
      if ( oldW1BarTime != iTime( NULL, PERIOD_W1, 0 ) )
      {
         getPivots( symbolNames[i], PERIOD_W1, pivotValues );
         symbolValues[i][iWP] = pivotValues[0];
         getPivots( symbolNames[i], PERIOD_MN1, pivotValues );
         symbolValues[i][iMP] = pivotValues[0];
      }
What happens when the clock hits a new day, hour etc and not all pairs have created a new candle? Will the EA come back and recalculate pairs that were missed or is there a way to have the EA wait for all pairs to update before populating the array?

Am I looking into this too much? From what I see here, If someone has the EA running 24/7 and not all pairs update when that clock hits a new day, the pivots and whatever other calculations that depend on this are slightly skewed.

Thanks,

Luke
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: Bob's Biggest Balls Ever

Post by SteveHopwood »

hndymann wrote:Question for you Steve,

In the code here and the others that use old bar times:

Code: Select all

   for ( i = 0; i < symbolCount; i++ )
   {
      // Weekly stuff
      if ( oldW1BarTime != iTime( NULL, PERIOD_W1, 0 ) )
      {
         getPivots( symbolNames[i], PERIOD_W1, pivotValues );
         symbolValues[i][iWP] = pivotValues[0];
         getPivots( symbolNames[i], PERIOD_MN1, pivotValues );
         symbolValues[i][iMP] = pivotValues[0];
      }
What happens when the clock hits a new day, hour etc and not all pairs have created a new candle? Will the EA come back and recalculate pairs that were missed or is there a way to have the EA wait for all pairs to update before populating the array?

Am I looking into this too much? From what I see here, If someone has the EA running 24/7 and not all pairs update when that clock hits a new day, the pivots and whatever other calculations that depend on this are slightly skewed.

Thanks,

Luke
I don't know Luke. We are back to the 'I am only the mechanic' thingy here. I do not understand Baluda's code any better than I understand anyone else's.

I assume Paul's code takes care of the scenario you describe. If it turns out not to be so, then I can easily add code that will enforce a delay until new D1 candles have formed on all charts - a common requirement with multi-pair eas.

Cheers
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
Zool
Trader
Posts: 50
Joined: Wed May 09, 2012 8:39 pm
Location: Komárom, Hungary

Re: Bob's Biggest Balls Ever

Post by Zool »

Steve,
I had only one trade that doesn't got it's SL set, can you take a look at it please? If there was an error setting the SL and TP at the time when the trade was opened, then it will never be set as I can see it. If trades got missing SL and they run against you for a bigger hit, that can affect 10.3 very badly, because as I understand 10.3 is about cutting your losses small and maintain at least a 2:1 RR ratio, since the hit rate is about 50%. An avoidable loss like this one, can easily wipe a whole day's profit.

I had this one trade that got this error yet, and I don't know what went wrong, but it's unreliable in it's current form :(
You do not have the required permissions to view the files attached to this post.
hankeys
Trader
Posts: 21
Joined: Fri Nov 18, 2011 12:55 pm

Re: Bob's Biggest Balls Ever

Post by hankeys »

i have OOTB settings and for scalp should be max spread 5, but the EA opens positions with bigger spread. Anybody has this issue too?
User avatar
McNish
Trader
Posts: 227
Joined: Tue Nov 06, 2012 3:56 pm

Re: Bob's Biggest Balls Ever

Post by McNish »

@ Lifesys : Hi, Are the last couple coulmns the slope values of thr respective TF's?
You do not have the required permissions to view the files attached to this post.
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: Bob's Biggest Balls Ever

Post by SteveHopwood »

hankeys wrote:i have OOTB settings and for scalp should be max spread 5, but the EA opens positions with bigger spread. Anybody has this issue too?
Nice spot. This highlighted a couple of bloops in the code.

: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.
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: Bob's Biggest Balls Ever

Post by SteveHopwood »

V 1d is in post 1. Lifesys and I have done a lot of work on this over the weekend:
  • squished a few bugs.
  • rearranged the chart display so that we can see both my customary feedback and the table. Enable both in your set file and remember to adjust DisplayGapSize to zero.
  • you will also see Lifesys' ADX display that we first met in Double Big Mac. Details in 'Optional filters' in post 1. You will see that we have also added Doji consideration.
  • created the facility to make one instance of BBBE the 'master' and so be the only one to manage open trades. Details in 'Assigning an instance 'master' status' in post 1
: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.
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

Re: Bob's Biggest Balls Ever

Post by alex_forex »

Wow :shock:

Thanks a lot to the team ;)

Brilliant work 8-)
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

Re: Bob's Biggest Balls Ever

Post by alex_forex »

Is the "SetfileName" just for comments or there is a function behind ?

Thanks
Alex
Post Reply

Return to “Automated trading systems”