Bob and Jem and Shelley's Pivot Basket auto-trader

Share your 10.x automated traders 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 and Jem and Shelley's Pivot Basket auto-trader

Post by SteveHopwood »

garyfritz wrote:Hm, Paul, I don't see a likely stack problem there. It's just a different way of getting periodic updates. Do you see a specific issue that might cause stack growth?

Steve, the "only endless-loop while basket is open" is a good idea -- just make sure you still get into start() occasionally so you can OPEN a new basket. :D
I suppose you have to gain the occasional bit of revenge because I occasionally mention the self-banning event. :lol:
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.
garyfritz

Re: Bob and Jem and Shelley's Pivot Basket auto-trader

Post by garyfritz »

I see what you did there. :lol:
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 and Jem and Shelley's Pivot Basket auto-trader

Post by SteveHopwood »

V 1l is in post 1. All this does is stop the endless loop if there are no trades open. Those of you who can, go to the end of the file and add the second of these two lines of code - the first is already there.

Code: Select all

 if (!EndlessLoop) x = 2;//Turns off the loop for those whose ea freezes when using this
  if (OpenTrades == 0) x = 2;//No need for the loop if there is no open basket
: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
DING
Trader
Posts: 103
Joined: Wed Nov 16, 2011 11:53 am

Re: Bob and Jem and Shelley's Pivot Basket auto-trader

Post by DING »

I found an line code may be caused issue for ECN broker,it seems lost extern declare.

bool CriminalIsECN=false;
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 and Jem and Shelley's Pivot Basket auto-trader

Post by SteveHopwood »

DING wrote:I found an line code may be caused issue for ECN criminal,it seems lost extern declare.

bool CriminalIsECN=false;
This is a basket trader that does not send individual stops, so the input is not needed. I leave code like this in place in case it becomes needed further down the line. It is not causing a problem.

: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.
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Bob and Jem and Shelley's Pivot Basket auto-trader

Post by SWG123 »

SteveHopwood wrote:V 1l is in post 1.

:D
Seems to be v1g?
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 and Jem and Shelley's Pivot Basket auto-trader

Post by SteveHopwood »

SWG123 wrote:
SteveHopwood wrote:V 1l is in post 1.

:D
Seems to be v1g?
Aha. Finally someone has passed the test I threw in to see if anybody here is awake and taking notice. :lol:

Sorry about the mix-up folks. V 1l really is in post 1 now. Possibly. If I am in luck. :lol:

: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 and Jem and Shelley's Pivot Basket auto-trader

Post by SteveHopwood »

The bot took no trades at all last week with MinimumPercentOfBasket = 50 and AllowAdditionsToBasket = true but OnlyAddToOpenBasket also true. Safe, but not a lot of interest or profit. :lol:

I reset the bot tonight with AllowAdditionsToBasket = true and OnlyAddToOpenBasket = false. Instant trade on one pair - can't remember which and the demo in on my trading machine in the music room.

Sounds terribly grand doesn't it as in, 'The Music Room, overlooking Lake Lucerne'? If only. It does overlook a pretty country lane, but is not even large, let alone grand - something I am hoping that trading will eventually sort out. We shall see.

: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.
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Bob and Jem and Shelley's Pivot Basket auto-trader

Post by SWG123 »

SteveHopwood wrote:The bot took no trades at all last week with MinimumPercentOfBasket = 50 and AllowAdditionsToBasket = true but OnlyAddToOpenBasket also true. Safe, but not a lot of interest or profit. :lol:

I reset the bot tonight with AllowAdditionsToBasket = true and OnlyAddToOpenBasket = false. Instant trade on one pair - can't remember which and the demo in on my trading machine in the music room.

Sounds terribly grand doesn't it as in, 'The Music Room, overlooking Lake Lucerne'? If only. It does overlook a pretty country lane, but is not even large, let alone grand - something I am hoping that trading will eventually sort out. We shall see.

:D
Last week I also used AllowAdditionsToBasket = true and OnlyAddToOpenBasket = false. The bot had an excellent week. I hope you get your grand music room sooner rather than later. :D
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: Bob and Jem and Shelley's Pivot Basket auto-trader

Post by Panamamike »

With the BJS basket trader;

I like the idea a lot and have a demo running with it. I am trading the original 10.2 EA with success live but exiting manually a fair amount.

With the basket trader, often in strong markets the daily pivot will not be crossed as significant retraces are rare. Could we add a choice to add a position when the previous day H/L get taken out in the direction of the trend by a user defined number of pips? That way if we did not get in on the retrace across the pivot, we can get the breakout below S/R. I would use this only in cases where the strength for the pair is +-0.6 and all 3 pivots are lined up. I think it would be well worth it to test. Those not interested in testing or changes can always disable the function. I would likel set up two demos with identical config except for this addition. After a month we can see if it adds to the bottom line.

I mentioned the idea in a PM to Steve, he wanted input from Jem and the forum before making any additions/changes.
Post Reply

Return to “10.x EA forum”