| 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 24 of 87 |
| Author: | SteveHopwood [ Mon May 28, 2012 10:32 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
V 1j is in post 1. The minutes thingy could not work - a bit of miscoding. Those of you who can, go to start() and find the block of code that begins: int h = TimeHour(TimeLocal() ); Copy this block over the existing one, or make the two changes manually. These are: if (h == BasketSendHour && !BasketSent) if (m >= BasketSendMinute) Code: Select all |
|
| Author: | vivaldi [ Mon May 28, 2012 10:43 am ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
"The slope also has to be in agreement with the WOH 2x1. I had 3 tests running at different times - one opened 3 trades, one 4 and one 5 - all were correct." The above remark of Spotdespot changes the whole analysis for a great deal. I had not taken this condition into account. In practice, this will mean, that reversal days will be eliminated much faster than only by application of the TMA mechanism alone. This enhances of course the winning chances for Shelley's EA. Vivaldi |
|
| Author: | Zypip [ Mon May 28, 2012 12:27 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Just a thought. I realise that I was more confortable trading when the TMA slope was above/below 0.8/-0.8 but raising i.e. - in D1 for a buy trade - today's TMA slope value is above 0.8 and > of yesterday's TMA slope value and WOH 2x1 is green. There may be some issues with the repainting of the slope indi though. Could this be added as a filter to the way Shelley is trading? Again, just a thought. Cheers, |
|
| Author: | spotdespot [ Mon May 28, 2012 12:42 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
I had a similar thought but slightly different. It seems to me that the D1 slope rising (for longs) is perhaps less important than the H4 slope rising as we are looking at more of a shorter term view of the immediate trend momentum. Maybe this is something to look at if the EA starts to have issues. |
|
| Author: | garyfritz [ Mon May 28, 2012 1:04 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Steve, reading through the latest... my understanding is that the Adaptive stops are a "per symbol" value, since e.g. you set JumpingStopPips = AdaptiveJumpingStopPips * OpenTrades. In the default extern values you have AdaptivePipsTakeProfit=25 and AdaptiveJumpingStopPips=50. That jumping stop could never be hit, could it? I was a bit surprised to see in JumpingStopLoss() that you increment JslPips by JumpingStopPips when PipsUpl > JslPips * 2. I always thought the JSL followed along a fixed distance from the max open profit level, but this says it only runs at about half the max open profit level. Learn sumthin' new ever' day... |
|
| Author: | SteveHopwood [ Mon May 28, 2012 1:18 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Defaults are not suggestions. Something has to be a default. It is up to users to find their own best ones. If a jumping stop is, say, 50, then the profit has to reach 100 to lock in 50, then 150 to lock in 100 etc |
|
| Author: | SWG123 [ Mon May 28, 2012 1:36 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Shelley closed today's basket CHFJPY, EURJPY and GBPJPY at +99 pips. |
|
| Author: | garyfritz [ Mon May 28, 2012 1:57 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
JslPips initially gets set to BreakEvenProfitPipsLock. If we say BreakEvenProfitPipsLock is 60, then when PipsUpl > 2 * JslPips = 2 * 60 = 120, you add JumpingStopPips so now JslPips is 60 + 50 = 110. Now PipsUpl has to be > 220 to move JslPips to 110 + 50 = 160, > 320 to move to 160 + 50 = 210, > 420 to move to 210 + 60 = 260, etc. The JSL falls further and further behind the max PipsUpl. It's clear that you'd better understand exactly how JSLs work, because there are plenty of innocent-looking values that wouldn't work very well. E.g. if you set BreakEvenProfitPipsLock to the same value as JumpingStopPips (or lower), the first time the JSL moves, it moves to the current price (or beyond it) and you'll get immediately stopped out. Is that what you wanted? Or did you want the JSL to trail a fixed amount behind the max PipsUpl? I assumed JSL's worked something like "if (PipsUpl >= JslPips + 2*JumpingStopPips) JslPips += JumpingStopPips;" -- so the JSL is always between 1* & 2*JumpingStopPips behind the max PipsUpl. BTW I see you store the JSL in a GV -- but you don't in JumpingStopLoss(). |
|
| Author: | Zypip [ Mon May 28, 2012 2:39 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Hi again, I had another run with Shelley - NY open start time - and it traded the same 3 pairs as this morning. It is still running at the mo but it looks like that it is going to miss my BE and the basket is now reversing. I thought that it could be useful if the EA could automatically exit any trades for which the TMA slope falls below the 0.8 value. I think this is connected to the issue I have raised before in which you should consider entering the trade when the slope gets above 0.8 and raises (for longs) and not enter at the end of the move. |
|
| Author: | mackaozy [ Mon May 28, 2012 2:46 pm ] |
| Post subject: | Re: Shelley's multi-pair basket trader |
Another great basket this morning...manually closed with over 100pips profit. |
|
| All times are UTC | Page 24 of 87 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|