| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Shelley's multi-pair basket trader https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=583 |
Page 56 of 87 |
| Author: | michaelhryu [ Fri Jun 01, 2012 6:20 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
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? |
|
| Author: | mobthehop [ Fri Jun 01, 2012 6:23 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
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 |
|
| Author: | michaelhryu [ Fri Jun 01, 2012 6:32 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
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? |
|
| Author: | harry45 [ Fri Jun 01, 2012 6:33 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Please check "ComeWhatMayCloseHour"-it should be >23. Regards |
|
| Author: | SteveHopwood [ Fri Jun 01, 2012 6:41 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Looks as though there is a problem with KeepAliveHours. My basket just closed again, at a tiny loss. |
|
| Author: | SteveHopwood [ Fri Jun 01, 2012 6:46 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
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. |
|
| Author: | michaelhryu [ Fri Jun 01, 2012 6:58 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
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). |
|
| Author: | vivaldi [ Fri Jun 01, 2012 6:59 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
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 |
|
| Author: | SteveHopwood [ Fri Jun 01, 2012 7:00 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
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. |
|
| Author: | fxozgirl [ Fri Jun 01, 2012 8:23 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
I completely understand this...I have my own battle scars as well. |
|
| All times are UTC | Page 56 of 87 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|