| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Boulder's Grind https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4743 |
Page 5 of 6 |
| Author: | Boulder [ Thu Jun 09, 2016 5:26 pm ] |
| Post subject: | Boulder's Grind |
Here's GBPJPY today. Can you see how often BG would've worked out? Aram |
|
| Author: | SteveHopwood [ Thu Jun 09, 2016 6:17 pm ] |
| Post subject: | Boulder's Grind |
Yes, he did and he will. Eventually. Thing is, I am not entirely sure that your pm and your post are talking about the same thingy. I sort of understand your pm. I haven't really got a clue what your post here was describing. Guys, don't get the wrong impression from a week like last week. It was half-term here in the UK, so I did not have to go out to schools to teach the piano. Instead, I could spend the week programming. This week was back to school. Today was hot for us here in the UK. People in other parts of the world experiencing our temperatures would still be donning a third sweater, but I do not live there. I live in the UK. It was hot for us. I do not do heat at all well. Cold, fine. Heat? Forget it. I spent the afternoon flogging through the heat to get to the school where I teach in The Shame of the Black Hole of Calcutta. Then I flogged back through the heat and arrived home knackered. I have the same motivation to plough through posts/pm's with incomprehensibly long paragraphs as an athematic Ant would have of climbing Everest whilst carrying a bag of heavy shopping. Is what you are after a new ea? Is it an extension of what we already have? Please send me the big-print, short-sentence version of the answer to that question. |
|
| Author: | Boulder [ Thu Jun 09, 2016 6:21 pm ] |
| Post subject: | Boulder's Grind |
Coming up Steve |
|
| Author: | Boulder [ Thu Jun 09, 2016 7:45 pm ] |
| Post subject: | Boulder's Grind |
Guys I apologise if my post was a bit too overloaded and not clear enough. To give you better idea what the EA will do specifically, these are the specs I sent Steve: A. Main mode of trading = the stairs Take a long if (analogously for shorts):
B. Secondary mode of trading = momentum Exactly the same as things are now. Only:
The best thing is for the EA to be able to run on both modes or either mode separately. When both are on, we just specify the Diffs in such a way that they won't interfere (we must do this either way
|
|
| Author: | Boulder [ Sat Jun 11, 2016 2:22 am ] |
| Post subject: | Boulder's Grind |
I want to shed some more light on the stairs-pattern. To recapitulate; it is based on the Wilder's DMI histograms. A classic, text-book stairs-pattern looks like this highlighted in orange: In order to capture it mathematically, we must first define Diff as the difference in absolute terms between a current DMI histogram value and its preceding DMI histogram value. A nice set of stairs has occurred when we have: 1. 3 consecutive rising (falling) DMI histograms 2. Diff between bar 1 and 2 greater than 0 3. Diff between bar 2 and 3 greater than 0 If those 3 rules are met, go long (short). Now the Riemann sums reminded me of the method whereby one systematically divides an area in different partitions and sums them up to get an approximation for that area. The more partitions you have, the better an approximation you'll end up with. Have too few and you'll end up grossly overestimating the area. Now analogously I applied this to waves. Break a wave down with the help of Wilder's DMI in 'meaningful' partitions and try to extract its properties in terms of patterns. The stairs represent the transition of a top to the bottom of a wave and vice versa, like so: As you can see, in green I've highlighted a potential reversal pattern. I have yet to find out whether these reversal patterns are robust and can be trusted/used. Let's concentrate again on the stairs. Have a look at GBPJPY today. This time I use timeframe 15 minutes and Wilder's DMI also put on 15 minutes. Lets keep it simple and make abstraction of momentum trades and safety mechanisms I described in an earlier post. Enter shorts and longs precisely using those 3 rules at the top. Every time a new 15 min bar permanently prints, review the previous preceding 2 bars and make a decision. The relation between the 2 diffs doesn't matter at the moment. Just make sure to go long on the open of the 4th bar after 3 rising histograms bars. Similarly go short on the open of the 4th bar after 3 falling bars. Finally, abandon the trade after 30 minutes in the case of not hitting your TP or SL. We set TP at 15 pips and SL at 45 for instance. I drew a line of 15 pips in the screenshot for scale referencing. This is one of the configurations I want to test. On the few occasions a SL would get hit, we'd need 3 wins to make up for it. A break-even or small loss/win is more likely - due to merely staying in for 30 minutes per trade - when your TP doesn't get hit. The big profits come when we have a swing and thus a sequence of stairs. That was the base case of the main mode of trading. The numbers and statistics of how this scenario in isolation plays out are yet to be seen and to be tested with various configurations. Using a minimum Diff for example should enhance the performance by ensuring the EA to get in a trade when there's enough volatility going on. Now we also enhance the probabilities of profitability by enabling momentum trading on top of the stairs-only trading. These are simply defined as 2 DMI histogram bars having a Diff bigger than a certain threshold value. In casu I'm using 5. So when a Diff > 5 is confirmed, momentum is taking place. You enter a long/short in the continuation direction immediately at the open of the next bar and hold the trade for 30 minute max. TP potential is between 20 to 30 pips. SL 40 to 60. I've highlighted the momentum trades with green. Now unfortunately there are instances such as these w.r.t. momentum trades. They happened this week. The first one contains 2 momentum trades; a SL hit and a break-even. The second picture contains 1 momentum trade which also has its SL hit. This is why it's important to have safety-mechanisms in place. The spread detection mechanism would've kept you out of these trades. You don't enter a trade when the spread went over e.g. 3 in the last 15 minutes. When it does, we suspend trading for another 15 - 30 minutes. Looking at these last 2 pictures also begs the question whether defining a super-range could be useful. That is, whether momentum trades with a Diff higher than a certain maximum value should be foregone. Have to research this further. Btw please do appreciate the beautiful stairs in both pictures which would've resulted in profit-takings. Also understand that whether BG is profitable and to be trusted will only be seen after many many trades and sufficient testing. It will take both wins and losses. The question is whether over the long run the numbers will play out. Cheers, Aram EDIT: It is also important to understand that you'll have to use feasible TP and SL combinations. A TP = 10 and SL = 50 will require BG to take make 5 winning trades (main mode only that is) in order to break even. Set TP = 25 and you only need 2. Fortunately we're using this on GBPJPY which does allow you to employ higher TP values. If the statistics allow for it, BG should be profitable over time. |
|
| Author: | Boulder [ Sun Jun 12, 2016 12:05 am ] |
| Post subject: | Boulder's Grind |
Rene pointed out a very important issue in a PM which is absolutely worth elaborating on. With his approval, you can read his question: My response: The implications of using a too high DMILength become apparent in the following scenario. For those interested in an even shorter timeframe; throw GBPJPY on a M1 chart. DMILength = 14 and DMI TF = M1. For reference put in a 2nd indi with DMILength = 55. It should become clear that DMILength = 14 is superior relative to 55. The Diff's are larger, clearer and more outspoken. This makes it easier to use the Diff2-to-Diff1 ratio for that stop-hunt mechanism. Now I'm not sure as to how effective this will be. Sufficient testing will tell. The rationale for this came to mind after quite some chart time and goes as follows: When we take the steps (pun intended), we want to ensure that the steps are easy to step on. They should be congruent and rather symmetrical. Now we can allow deviations, but not too much. How do we do this? Diff_1 and Diff_2 can't be:
The dashed red line represents the perfect Diff_2 from which a perfect Diff2-to-Diff1 ratio (=1) will follow. The purple dashed line represents a Diff_2 that'll be bigger than Diff_1, in function of the angle between the purple dashed line and the red dashed line. The blue dashed line represents a very tiny Diff_2. There's no point in putting a minimum constraint here, for the minimum value we have in place will take care of this. Having these constraints on will attempt to prevent BG to enter just after a stop-hunt and/or at point where price is likely to retrace/reverse. Look here for example: Aim to stay in a trade no longer than 2 to 3 minutes.
Cheers, Aram |
|
| Author: | SteveHopwood [ Sun Jun 12, 2016 1:53 pm ] |
| Post subject: | Boulder's Grind |
Life is too short to try to incorporate Primary trading into the original version. The original version is now "Boulder's Grind Momentum" and there is a new one, "Boulder's Grind Primary". I have added a spread filter to both. Sparse explanation in post 1. |
|
| Author: | Boulder [ Sun Jun 12, 2016 5:30 pm ] |
| Post subject: | Boulder's Grind |
Ok I have quite a few things set up now. Primary trading: Base M5 set 1:
M5 set 3: Set 1 apart from EnforceSequence = true M5 set 4: Set 1 apart from EnforceAlternateTradeTypes = true M5 set 5: Set 1 apart from EnforceSequence = EnforceAlternateTradeTypes = 1 M5 set 6: Set 1 apart from MaxRatio = 6 M5 set 7: Set 1 apart from MaxRatio = 12 M15: M15 set 1: M5 set 1 apart from Diff_1 = 0.6 and Diff_2 = 0.6, TP = 25 and TradeLife = 30 M15 set 2: M5 set 1 apart from Diff_1 = 0.6 and Diff_2 = 0.6, TP = 35 and TradeLife = 30 M15 set 3: M5 set 1 apart from Diff_1 = 0.6 and Diff_2 = 0.6, TP = 45 and TradeLife = 30 It'd be good to have these M15's tested with tradelife = 45. All of them on MaxSpread = 3.3 and MinutesToPause = 15. M30: M30 set 1: M5 set 1 apart from Diff_1 = 1 and Diff_2 = 1, TP = 30, SL = 90, TradeLife = 90, MaxSpread = 3.5 and MinutesToPause = 30 I'm attaching my base set file for M5 as well. Feel free to use different settings as this will speed up the learning curve and be much more interesting for comparison later - especially concerning that stophunt mechanism. Also don't forget to check that you've got Wilder's DMI Timeframe and TradingTimeFrame set up correctly. Other than that have fun folks Cheers Aram EDIT Be sure to adjust you trading times as well. These work based on local time. I've got mine setup to kick in everyday during roughly mid-Asian session until the end of New York. |
|
| Author: | SteveHopwood [ Sun Jun 12, 2016 6:08 pm ] |
| Post subject: | Boulder's Grind |
I posted a wrong version of the Momentum ea in post 3. Re-download if your version does not have the MaxSpread and MinutesToPause inputs in your "Wilder-related inputs section". |
|
| Author: | manfloy [ Mon Jun 13, 2016 2:08 pm ] |
| Post subject: | Boulder's Grind |
Thank you Steve |
|
| All times are UTC | Page 5 of 6 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|