Shelley's multi-pair basket trader

Share your 10.x automated traders here.
Post Reply
michaelhryu
Trader
Posts: 33
Joined: Wed May 09, 2012 1:32 pm

Re: Shelley's multi-pair basket trader

Post by michaelhryu »

Kenboi wrote:
michaelhryu wrote:I updated Shelley to v1r. It opened trades OK, but tades would close within a few seconds. I played with Basket send/close hour settings, but haven't been able to figure out how? Earlier virsion worked alright, though. I am on FXDD demo. Since the EA opens trades at the set time, I gues I know how to set the BasketSendHour, etc.

I'd appreciate if you could guide me how to fix my problem, please.
Have you tried to compile the EA and/or closed re-opened Empty4? Sometimes, I find that the ex4 doesn't come out automatically and we need to compile it. Give it a try and let us know.
Thank you very much for your suggestion!

As suggsted, I compiled the EA and closed & reoped Empty4 just now. But the same thing happened. My local (computer) time is GMT-7 (Pacific Standard Time). So, I set BasketSendHour to 23:15 accordingly. The EA opened the trades and the opened trades closed within 1-2 seconds as before. Where else should I adjust, just to see the EA works properly on my platform (FXDD demo), please?
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Re: Shelley's multi-pair basket trader

Post by mobthehop »

As I posted earlier - I have the same issue of opening / immediate closing and have done all steps not once but three times on different providers demos.....

Mop
michaelhryu
Trader
Posts: 33
Joined: Wed May 09, 2012 1:32 pm

Re: Shelley's multi-pair basket trader

Post by michaelhryu »

mobthehop wrote:As I posted earlier - I have the same issue of opening / immediate closing and have done all steps not once but three times on different providers demos.....

Mop
Now, my problem is which version is the last version that worked properly on my Empty4. I think I've looked everywhere to figure out why, with my limited knowledge/experience on the EA's settings, etc.

By the way, I found this message on "Expers": Shelley XAUUSD. Daily (my Empty4 chart with the EA on it): shutdown by time. What does this mean, please?
harry45
Trader
Posts: 158
Joined: Fri Nov 18, 2011 11:36 am
Location: Russia,St.Petersburg

Re: Shelley's multi-pair basket trader

Post by harry45 »

michaelhryu wrote:
Kenboi wrote:
michaelhryu wrote:I updated Shelley to v1r. It opened trades OK, but tades would close within a few seconds. I played with Basket send/close hour settings, but haven't been able to figure out how? Earlier virsion worked alright, though. I am on FXDD demo. Since the EA opens trades at the set time, I gues I know how to set the BasketSendHour, etc.

I'd appreciate if you could guide me how to fix my problem, please.
Have you tried to compile the EA and/or closed re-opened Empty4? Sometimes, I find that the ex4 doesn't come out automatically and we need to compile it. Give it a try and let us know.
Thank you very much for your suggestion!

As suggsted, I compiled the EA and closed & reoped Empty4 just now. But the same thing happened. My local (computer) time is GMT-7 (Pacific Standard Time). So, I set BasketSendHour to 23:15 accordingly. The EA opened the trades and the opened trades closed within 1-2 seconds as before. Where else should I adjust, just to see the EA works properly on my platform (FXDD demo), please?

Please check "ComeWhatMayCloseHour"-it should be >23.
Regards
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 »

Looks as though there is a problem with KeepAliveHours. My basket just closed again, at a tiny loss.

: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 have spotted it. For now, turn off KeepAliveHours (set to zero) and use a high setting for ComeWhatMayCloseHour

Those of you who can, go to bool HasTradeLifeExpired() and change
if (TimeCurrent() >= OrderOpenTime() + (KeepAliveHours * 60) )

to

if (TimeCurrent() >= OrderOpenTime() + (KeepAliveHours * 3600) )

then recompile, and drag a fresh instance of S onto the chart and do the setfile thingy.

Fix coming uip.

: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.
michaelhryu
Trader
Posts: 33
Joined: Wed May 09, 2012 1:32 pm

Re: Shelley's multi-pair basket trader

Post by michaelhryu »

harry45 wrote: Please check "ComeWhatMayCloseHour"-it should be >23.
Regards
Sure enough, when I set "ComeWhatMayCloseHour" to "24", everything seemed OK. Now Shelley trades are alive & going strong.

Thanks a million! You saved my day (night, in fact).
vivaldi
Trader
Posts: 58
Joined: Thu Feb 02, 2012 12:08 am
Location: Netherlands

Re: Shelley's multi-pair basket trader

Post by vivaldi »

michaelhryu wrote:
Kenboi wrote:
michaelhryu wrote:I updated Shelley to v1r. It opened accordingly. The EA opened the trades and the opened trades closed within 1-2 seconds as before. Where else should I adjust, just to see the EA works properly on my platform (FXDD demo), please?
There is a variable :
extern int ComeWhatMayCloseHour=16;//Set to > 23 to disable.
set it to 24

Perhaps 24 could be made the default in a next version. I see, that in version _s it is still at 16.

Vivaldi
Last edited by vivaldi on Fri Jun 01, 2012 7:10 am, edited 1 time in total.
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 »

V 1s is in post 1, with the KeepAliveHours bug fix. The formula I used resulted in S waiting for KeepAliveHours minutes, not hours.

Depending on your combo if inputs, this bug may not have affected you. It is a biggie, and you are bound to forget and wonder what is wrong when you decide to try out KeepAliveHours, so the re-download is essential.

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

SWG123 wrote:Wow, great post Shelley. I'm guessing a lot of people here have been battered and bruised by the forex market and are now having difficulty accepting that new-found success is going to last.

I completely understand this...I have my own battle scars as well. :cry:
Post Reply

Return to “10.x EA forum”