Shelley's multi-pair basket trader

Share your 10.x automated traders here.
Post Reply
Haggadah
Trader
Posts: 154
Joined: Sat Dec 03, 2011 12:01 pm

Re: Shelley's multi-pair basket trader

Post by Haggadah »

SteveHopwood wrote:Cowboy IBFX just leaped into life and I can see the code needs moving around. Don't bother downloading the latest for now.

:D
One suggestion, a filter on the lower tf (h1 or m15), say if the reading on D1 is sell, but on lower time frame 2 or 3 bars are moving upward, no trades. We can do this by finding the diffrence of the current bar close against the previous bar, then set a constant number in pips say 3 as your reference point so that if it difference goes beyond 3, no trades yet until the trend goes back in line with the D1.

Haggadah
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 »

Baluda wrote:Steve,

You could consider to change the GetTmaTrue() function in Shelley to this:

Code: Select all

void GetTmaTrue(string symbol, int shift)
{
   double IB_TMA = iMA( symbol, 0, xi_Period, 0, MODE_LWMA, PRICE_CLOSE, shift );
   double ld_Range = iATR( symbol, 0, xi_ATR.Period, shift + 10 );

   TmaUpper = IB_TMA + (ld_Range * xd_ATR.Mult);
   TmaLower = IB_TMA - (ld_Range * xd_ATR.Mult);
}//void GetTmaTrue(string symbol, int shift)
to get rid of the 'iCustom' call. It brings the TMA True calculation into Shelley.

Side note: I would like to get rid of those ugly, seldom to never changed variables like 'xi_Period' and 'xd_ATR.Mult'. I would like them to be internal instead of 'extern'.

Paul
Done Paul. Many thanks again.

V 1r is in post 1; it means we can ditch the 10.2 Tma True indi.

: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 »

Haggadah wrote:
SteveHopwood wrote:Cowboy IBFX just leaped into life and I can see the code needs moving around. Don't bother downloading the latest for now.

:D
One suggestion, a filter on the lower tf (h1 or m15), say if the reading on D1 is sell, but on lower time frame 2 or 3 bars are moving upward, no trades. We can do this by finding the diffrence of the current bar close against the previous bar, then set a constant number in pips say 3 as your reference point so that if it difference goes beyond 3, no trades yet until the trend goes back in line with the D1.

Haggadah
Simple to code, but there are two ltf filters already. Let's see how they do; we can always add this one.

: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.
forexripper
Trader
Posts: 133
Joined: Fri Apr 13, 2012 6:11 pm

Re: Shelley's multi-pair basket trader

Post by forexripper »

Guys do you see reversal of trend for now or retracement time as we call it. I will be careful shorting.
What do you guys think?
Haggadah
Trader
Posts: 154
Joined: Sat Dec 03, 2011 12:01 pm

Re: Shelley's multi-pair basket trader

Post by Haggadah »

SteveHopwood wrote:
Haggadah wrote:
SteveHopwood wrote:Cowboy IBFX just leaped into life and I can see the code needs moving around. Don't bother downloading the latest for now.

:D
One suggestion, a filter on the lower tf (h1 or m15), say if the reading on D1 is sell, but on lower time frame 2 or 3 bars are moving upward, no trades. We can do this by finding the diffrence of the current bar close against the previous bar, then set a constant number in pips say 3 as your reference point so that if it difference goes beyond 3, no trades yet until the trend goes back in line with the D1.

Haggadah
Simple to code, but there are two ltf filters already. Let's see how they do; we can always add this one.

:D
Thanks Steve

Haggadah
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Shelley's multi-pair basket trader

Post by spotdespot »

forexripper wrote:Guys do you see reversal of trend for now or retracement time as we call it. I will be careful shorting.
What do you guys think?
It's a retracement until it becomes a reversal..... :lol: The answer is who knows to be honest. I would be wary of shorting JPY pairs at the moment because of potential BOJ intervention AND some of the JPY pairs are at long term (like 10 year+) demand lines.

I struggle to see how the Euro can gain significant support though so it may be some pairs are reversing some not. We will see.

I am holding back on the 10.2 EA and Shelley until I know is the short answer I guess. If it is a retracement I lose nothing as I can switch back on when that becomes clear & if it is a longer term reversal then I save lots of pips.
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Shelley's multi-pair basket trader

Post by spotdespot »

"Chaos theory coder."

Steve - does this mean we are supposed to trust you and you are no longer an idiot???

:lol: :o :lol: :shock: :lol:

EDIT: Had to chuckle when I realised those new here wouldn't have a clue what I was on about. :lol:
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Shelley's multi-pair basket trader

Post by SWG123 »

SteveHopwood wrote:Should I remove the ShelleyGary stuff? :D
Please don't yet. I'm firmly with Gary on this one.
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

Re: Shelley's multi-pair basket trader

Post by alex_forex »

All 3 sessions are ready to go with Shelley v1R ..... results tomorrow :D
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 »

spotdespot wrote:"Chaos theory coder."

Steve - does this mean we are supposed to trust you and you are no longer an idiot???

:lol: :o :lol: :shock: :lol:
Nope. Nothing ever changes.
EDIT: Had to chuckle when I realised those new here wouldn't have a clue what I was on about. :lol:
They will now. :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.
Post Reply

Return to “10.x EA forum”