Shelley's multi-pair basket trader

Share your 10.x automated traders here.
Post Reply
User avatar
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: Shelley's multi-pair basket trader

Post by fxozgirl »

SteveHopwood wrote:
fxozgirl wrote:
mackaozy wrote:
Sorry for this but..

:D :D Why would you begin at 8am GMT today??

1. It's bank holiday today and tomorrow here in the UK (So there is NO London open today) everyone is at home..
2. The London open is at GMT +1 as it's BST here.

No wonder... :D :D

I think this is a valid point...we're looking to trigger & capture the initial upsurge in trading at the open of the session, so when there is a public holiday clearly there is no open, so we shouldn't be trading this session.

Too bad I forgot about the PH until after I had turned the EA loose :oops:
It does no harm to see what happens if we run the bot at times when the markets should be quiet.

:D
Yes you are right and it just adds to our knowledge of how the EA/system works under different trading conditions.
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: Shelley's multi-pair basket trader

Post by SteveHopwood »

Yep. Change-back done. The 5 of you who downloaded before reading this need to re-download. You will know if you have the wrong version because the Woh will be wrong.

: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: Shelley's multi-pair basket trader

Post by SteveHopwood »

Hehe. The whole point of the update was the historical max dd thingy and the damn thing isn't working. Ignore the update for now.

: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: Shelley's multi-pair basket trader

Post by SteveHopwood »

It's working now.

: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: Shelley's multi-pair basket trader

Post by SteveHopwood »

I lnly just noticed how much interest there is in Simple Shelley, so I have added the fix and the mas pips upl thingy to her. V 1a 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.
garyfritz

Re: Shelley's multi-pair basket trader

Post by garyfritz »

And 1a still has the mystery bug that forces all WOH flags to "all Buy" or "all Sell." :(
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: Shelley's multi-pair basket trader

Post by SteveHopwood »

garyfritz wrote:And 1a still has the mystery bug that forces all WOH flags to "all Buy" or "all Sell." :(
Yep. Just loaded it onto a demo for the first time. Same thing here. UCad and UChf should be buys, but Woh has them as sells.

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

Re: Shelley's multi-pair basket trader

Post by garyfritz »

It's weird. For anybody else who feels inspired to figure this out, here's the code from ReadTable():

Code: Select all

   for (cc = 0; cc < NoOfPairs; cc++)
   {
      symbol = TradePair[cc][0];
      Comment(Gap, "Reading the indicators: " + symbol);
      //Trading time frame S;ope
      double Slope = GetSlope(symbol, PERIOD_D1, 0);
      TradePair[cc][1] = nottradable;
      if (Slope >= 0.8) TradePair[cc][1] = buyhold;
      if (Slope <= -0.8) TradePair[cc][1] = sellhold;

      //Woh market direction since week open
      double wo = iMA(symbol,PERIOD_W1,2,1,MODE_LWMA,PRICE_OPEN,0);
      double ma = iMA(symbol,0,1,0,MODE_SMA,PRICE_MEDIAN,0);
      TradePair[cc][2] = none;
      if (ma > wo) TradePair[cc][2] = buy;
      if (ma < wo) TradePair[cc][2] = sell;
DebugPrint("ReadTable, cc = ",cc,TradePair[cc][1],TradePair[cc][2],ma,wo);

   }//for (cc = 0 ; cc < ArraySize(TradePair); cc++)
 
for (cc = 0; cc < NoOfPairs; cc++)
    DebugPrint("cc = ",cc,TradePair[cc][1],TradePair[cc][2]);
The first DebugPrint prints the correct values. The second DebugPrint (immediately after the first loop sets the values) prints the WRONG values. Sometimes all Buy, sometimes all Sell, but all the same.

I can't see what's wrong. Does anybody??
User avatar
Zool
Trader
Posts: 50
Joined: Wed May 09, 2012 8:39 pm
Location: Komárom, Hungary

Re: Shelley's multi-pair basket trader

Post by Zool »

Hi!

This will be my first post here, but I'm lurking the forums long time :) I've manually trading10.2 since the introduction, and I can say it's a really good system. I've seen this basket trading idea the end of last week, so I only started to test this since the afternoon. I'm in the process of reading through the forum I'm on the 40th page so there are some more comments to read, so maybe the thing I have in my mind have been answered/work in progress. English is not my mother language so I'll try to be as clear as I can :)

So I see that the DD is a problem when the EA open the trades during a retracement. I've been made attempts to trade correlations earlier and made some research on it. There was a forum at FF about this strategy, where Squalou posted an indicator named "Basket Profit 2 pairs". Squalou made this because no backtest could be done in Empty4 on multiple pairs. So with this indi you can set the time with a vertical line when you would take the trade and it shows the profit as a line diagram. I'm not a coder myself (I know a little about it), but I think it could be modified to use with this basket strategy too.

Here's my idea about the usage: when the EA would open the trades at the set time, it doesn't really open them, but instead it starting to monitor the price of the pairs in the basket and checks the overall performance. If the profit going into the negative then it waits till it's starting to rise again, and when it reaches zero (or there is a sign based on some mathematical formula I don't know, but shows that the profit is going up instead of down) then it sends the actual trade orders. Does it makes sense?
Bunker

Re: Shelley's multi-pair basket trader

Post by Bunker »

My OOTB setup seems fine..
U/CH and U/CA all Buy
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “10.x EA forum”