| 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 25 of 87 |
| Author: | garyfritz [ Mon May 28, 2012 2:56 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Along those lines, I've wondered -- instead of saying "open a basket at XX:YY time and see how that fixed basket works" -- how would it work if we say "run 24x5, open pairs when they get > 0.8, close pairs when they fall below 0.8" ? |
|
| Author: | SteveHopwood [ Mon May 28, 2012 2:58 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Thanks. I misunderstood your post. I had a bit of a logic fuzzie over this. I know it should be easy enough, but I don't muck around when fuzzying. Does this look better? Code: Select all |
|
| Author: | garyfritz [ Mon May 28, 2012 3:02 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Looks better to me! But then it would, since I basically wrote it. |
|
| Author: | Caillou [ Mon May 28, 2012 3:05 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Really interesting........ Actually I´m up +200 pips using live the very first Shelley EA (without SL, without BE, without JS) but your thought makes much more sense to me. |
|
| Author: | SteveHopwood [ Mon May 28, 2012 3:30 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Hehe. I didn't read that bit. |
|
| Author: | garyfritz [ Mon May 28, 2012 4:50 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Steve, I noticed the EA can now have status values like "Buy and hold. Sell." I was confused by that so I looked at the code and saw the "Buy and hold" means the TMA slope > 0.8, and the "Sell" means wo<ma i.e. the WOH is down. You might get fewer confused users if you changed the status line to something like "TMA: Buy and hold. WOH: Sell." In LookForTradingOpportunities() I think you could simplify your code quite a bit. You may have reasons I don't know for doing it the way you do, but I believe you could replace 57 lines of code (lines 816-872 from "bool SendLong = false" through "}//if (!result)") with: Code: Select all |
|
| Author: | SteveHopwood [ Mon May 28, 2012 5:15 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Thanks Gary. I know you will not mind that I am not adopting this because:
|
|
| Author: | vivaldi [ Mon May 28, 2012 5:35 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
That was my next thought as well. The effect will be, that you enter a position in a currency at the moment it gets momentum and you keep it. Another advantage is that you save the daily spreadcosts for everyday buying or selling it. It remains in the basket till conditions no longer prevail. On a yearly basis these costs could be considerable. Vivaldi |
|
| Author: | SteveHopwood [ Mon May 28, 2012 5:43 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Version 1k in post 1:
|
|
| Author: | 4xSloPoke [ Tue May 29, 2012 3:41 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
I must be doing something wrong, I've disabled TP, SL, BE and when Shelley places the trades (about 5-10 seconds later) they start closing. I've tried setting large SL & TP but still the same thing , I would appreciate any help with v1k or can someone send me one of the earlier EAs before the j & k changes. 4xSloPoke |
|
| All times are UTC | Page 25 of 87 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|