SPB has generally been used with basket TPs, I think with most traders treating all pairs as a (global) basket. As performance hasn't been all that good this past 12 months I'd like to look further into treating individual pairs as a basket. Would still trade on the D1 but with the view to taking profits more frequently. Hard to know without forward testing but I have a gut feeling that more frequent profits on individual pair baskets would work out better then more frequent profits on a global basket (by lowering the global basket TP)
For this to work I think best to have individual basket TP expressed as % of ATR, e.g 500% of ATR. While SPB can set up the trading grid based on ATR it doesn't cater for ATR based TPs on the basket. Some of Steve's earlier EAs had this built in, e.g. Holy Graily Bob 'n Dotty catered for ATR based basket TP with the UseAtrForBasketTP and TpPercentOfAtrToUse variables.
I think this EA still has too much potential to just drop it altogether and I'm prepared to keep looking. @Steve just wondering if you might consider slotting this functionality into SPB. I could have a crack at it but would likely take me a long time and I'd still cock it up.
Slopey Peaky Bob
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
Great idea. I will look at this over the weekend with a view to uploading before the markets open. Feel free to try yourself, but no need to beat yourself up over something I can probably import within minutes. Spend your time being inventive with the trading and leave the mechanics to the grease monkey.dclayw » Fri Jul 09, 2021 6:17 am wrote:SPB has generally been used with basket TPs, I think with most traders treating all pairs as a (global) basket. As performance hasn't been all that good this past 12 months I'd like to look further into treating individual pairs as a basket. Would still trade on the D1 but with the view to taking profits more frequently. Hard to know without forward testing but I have a gut feeling that more frequent profits on individual pair baskets would work out better then more frequent profits on a global basket (by lowering the global basket TP)
For this to work I think best to have individual basket TP expressed as % of ATR, e.g 500% of ATR. While SPB can set up the trading grid based on ATR it doesn't cater for ATR based TPs on the basket. Some of Steve's earlier EAs had this built in, e.g. Holy Graily Bob 'n Dotty catered for ATR based basket TP with the UseAtrForBasketTP and TpPercentOfAtrToUse variables.
I think this EA still has too much potential to just drop it altogether and I'm prepared to keep looking. @Steve just wondering if you might consider slotting this functionality into SPB. I could have a crack at it but would likely take me a long time and I'd still cock it up.
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.
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.
-
dclayw
- Trader
- Posts: 139
- Joined: Wed Nov 13, 2013 6:53 am
- Location: Australia
Slopey Peaky Bob
That's great Steve, thanks for offering to add that functionality in. The underlying methodology in this EA is very sound and I think just a matter of time before we get something that will work long term across all pairs and market conditions. Was pretty close with some of the longer term testing by Thomas, yourself and others but this past 12 months has shown there is more to be done.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
I cannot find anything with these variables. Do you have a version you can post?dclayw » Fri Jul 09, 2021 6:17 am wrote: For this to work I think best to have individual basket TP expressed as % of ATR, e.g 500% of ATR. While SPB can set up the trading grid based on ATR it doesn't cater for ATR based TPs on the basket. Some of Steve's earlier EAs had this built in, e.g. Holy Graily Bob 'n Dotty catered for ATR based basket TP with the UseAtrForBasketTP and TpPercentOfAtrToUse variables.
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.
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.
- Wavegarrick
- Trader
- Posts: 1172
- Joined: Sun Dec 30, 2012 11:21 am
- Location: South Africa
Slopey Peaky Bob
Hi Steve,
This version has the variables that Dclayw refers to.
Cheers
Leon
This version has the variables that Dclayw refers to.
Cheers
Leon
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
Thanks LeonWavegarrick » Sun Jul 11, 2021 2:00 pm wrote:Hi Steve,
This version has the variables that Dclayw refers to.
Cheers
Leon
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.
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.
-
dclayw
- Trader
- Posts: 139
- Joined: Wed Nov 13, 2013 6:53 am
- Location: Australia
Slopey Peaky Bob
Thanks Leon, beat me to it. Actually I had a hard time finding it myself.Wavegarrick » Mon Jul 12, 2021 12:00 am wrote:Hi Steve,
This version has the variables that Dclayw refers to.
Cheers
Leon
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
V 2t along with the updated core library is in post 1, with this feature added.dclayw » Fri Jul 09, 2021 6:17 am wrote:SPB has generally been used with basket TPs, I think with most traders treating all pairs as a (global) basket. As performance hasn't been all that good this past 12 months I'd like to look further into treating individual pairs as a basket. Would still trade on the D1 but with the view to taking profits more frequently. Hard to know without forward testing but I have a gut feeling that more frequent profits on individual pair baskets would work out better then more frequent profits on a global basket (by lowering the global basket TP)
For this to work I think best to have individual basket TP expressed as % of ATR, e.g 500% of ATR. While SPB can set up the trading grid based on ATR it doesn't cater for ATR based TPs on the basket. Some of Steve's earlier EAs had this built in, e.g. Holy Graily Bob 'n Dotty catered for ATR based basket TP with the UseAtrForBasketTP and TpPercentOfAtrToUse variables.
I think this EA still has too much potential to just drop it altogether and I'm prepared to keep looking. @Steve just wondering if you might consider slotting this functionality into SPB. I could have a crack at it but would likely take me a long time and I'd still cock it up.
To DIY, first go to the 'Basket trading' inputs and add these below extern bool LeaveIndividualBasketPendingsOpen=false;
Code: Select all
extern bool UseAtrForBasketTP=false;
extern ENUM_TIMEFRAMES TpAtrTimeFrame=PERIOD_H4;
extern int TpAtrPeriod=14;
extern double TpPercentOfAtrToUse=100;Code: Select all
//Using ATR for individual pairs as a basket TP
if (UseAtrForBasketTP)
{
double atrVal = getAtr(symbol, TpAtrTimeFrame, TpAtrPeriod, 0);
IndividualBasketTargetPips = (int) (atrVal * (TpPercentOfAtrToUse / 100) );
}//if (UseAtrForBasketTP)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.
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.
-
dclayw
- Trader
- Posts: 139
- Joined: Wed Nov 13, 2013 6:53 am
- Location: Australia
Slopey Peaky Bob
Thanks Steve. Will fire up a few more tests on fxtestify.
- TonkaTuff
- Trader
- Posts: 74
- Joined: Wed May 01, 2013 6:30 am
- Location: Sydney, AUSTRALIA
Slopey Peaky Bob
I have a VPS I can spin up 4-6 MT instances if you need any extra testers for fxtestify?
Cheers,
TT.
Cheers,
TT.
In theory, there is no difference between theory and practice. In practice, there is.