| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Zigzag Bollinger Band https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3237 |
Page 19 of 28 |
| Author: | snailbeard [ Thu Jun 19, 2014 6:02 pm ] |
| Post subject: | Successful price action trade |
Price Action Cross Weekly Pivot (PAXWP) With reference to the previous post, I have fixed the problem with the W1 Fibonacci filter. However, T3a is still not a valid entry because the price has already moved too far to enter a new trade. Therefore, the filter for T3a is doing the correct thing. However, I have added a price-action trigger conditional on a weekly pivot cross, which works well for this example but needs more testing over a lot more data. This is currently a bit slow to enter because the check is restricted to the M15 bar open event. At some point I should convert it to a Virtual-Pending-Order at, say, 5 or 10 pips beyond WP, which would grab an extra 15 to 10 pips respectively. Looking at the breadcrumbs for the PAXWP over a long period we could count the number of trades triggered by this method: Code: Select all At least ZzBb is finding an entry for T3 even if the profit is lot less than its potential Code: Select all |
|
| Author: | snailbeard [ Sat Jun 21, 2014 9:27 am ] |
| Post subject: | Improving D1 ORFB |
Now that the results from the work on the daily direction seem more reliable, it is time to improve the entry methods. In this chart, there are a number ways to trigger a trade, firstly there is the original M15-Zigzag method and a crossing of the M15 Mid-Bollinger band. There is also a reimplemented version of the M15-Zigzag which is less prone to the zigzag false-pivot issue. In the log dump we see old zigzag method giving the opposite message while everything else flags a buy trade: Code: Select all or even later if we have to wait for the crossing of a pivot or Fibo level. Both H4-ORFB and D1-ORFB might trigger at the same time or they might be given different constraints since D1-ORFB might require more price action to be valid. ORFB (B) corresponds to a price-action triggered entry. The downside to this late entry is that we are in prime-time market hours, not only have we missed quite a few pips already but there is a danger of spread expansion, especially if running our trades through one of the criminal brokers. |
|
| Author: | snailbeard [ Sat Jun 28, 2014 5:54 am ] |
| Post subject: | Improved swing analysis |
One aspect of writing EAs that is common to most autotraders is entering trades in the same direction after the market is turning. This was the main bugbear when I worked on the NB10 EA which could produce excellent returns if the market was mid swing but would overall accumulate more losses at retracements and reversals. It has taken me a long time to workout ways of keeping up with the market. There is always a temptation to make use of lagging indicators because sometimes they work really well, but to keep up with reversals we need to look at price action as well. Fast exponential moving averages are still lagging when it comes to retracements and reversals, so it is necessary to complement the use of these with faster swing analysis. Previously, I was using D1 ADX to complement D1 EMA 5 & EMA 10 but that was too slow, so I have added both ADX for H4 and M15, ADX on H4 can be helpful for the daily trend when it is running strong, but when it is weaker I look at M15. I originally read about ADX in one of my trading books but I only took it seriously when I found I was reinventing the wheel, then I understood when and how to use ADX, but it is still a lagging indicator even on M15, nevertheless, this is a good analysis of price action to avoid entering trades when price action is going the wrong way. I have been working on this EA for so long that is difficult to know whether it is improving or just going round in circles. What is clear is that every time I investigate a late entry or a bad entry I usually learn something important and I try to reflect this in making the EA more adaptive. I believe it has been a particularly productive week and perhaps I am finally on top of reversals. The following list is just for hardcore EA writers: Code: Select all |
|
| Author: | snailbeard [ Sat Jun 28, 2014 7:13 pm ] |
| Post subject: | 3 Year simulation & comparison |
After running a backtest over 3 years for AUDUSD, which contains some very wild behaviour for months at a time, I was surprised by the results, but this time in a positive way. It is the first time I have had a significant long term gain. With manual intervention the results could be much better or perhaps there are still some significant bugs to be discovered. Going back to the previous 3 year backtest on exactly the same day 1 month ago, there was a small gain without manual intervention and some very long periods of losing trades: Now comparing this to the latest results, there is a significant reduction in the number of bad trades, the long term profit ratio has gone up to 1.8, and the win ratio has gone up to 75%. So there is the question of what to do next. If there were no correlations between currencies then the barren periods would not be an issue, however, if other currencies produced similar wins and losses at the same time this would amplify the curve, great in the winning periods but scary in the losing periods, imagine the psychological aspect of running something for three months and not seeing anything positive. It would be easy to lable the EA as useless and abandon it. If I could identify about 10 unrelated items to trade in parallel then I would be very happy with these results. |
|
| Author: | snailbeard [ Mon Jul 07, 2014 7:08 am ] |
| Post subject: | win some lose some |
End of swing reversals/pull backs are now the greatest source of losses. In this backtest there is a successful trade followed by a reentry into the same swing, but the reentry is too late (or too soon - since the overall direction is still correct). There are several clues in the chart that we can take into account: 1. Price recently made a zigzag top and price is below the top 2. Price has recently covered 190 pips 3. Price recently swung across two pivot levels 4. The previous candle range was less than the previous-previous candle range 5. The ZZ top is outside the H4 Bollinger band and the previous candle was completely inside the Bollinger None of these signs are concrete but they often indicate that price is ranging or pulling back. The loss is significantly more than the gain: Code: Select all |
|
| Author: | snailbeard [ Mon Jul 07, 2014 9:20 am ] |
| Post subject: | M15 view inculding ADX & ATR |
I have found that ADX and ATR suffer the same problems as most lagging indicators because market behaviour can vary so much any absolute threshold works some of the time. However, we might have more luck with relative changes or normalised changes. In the following M15 chart: looking at the current ATR and ADX values relative to the most recent H4 zigzag low and high is more consistent with the current market sentiment than trying to pick absolute thresholds for confirmation of a trend. So in this case the instant reading of ATR is little changed for either the good trade or the bad trade. In the case for those using a simple ADX-Main threshold it appears that both entries are valid, but looking at the changes in ADX-Minus and ADX-Plus as well is more useful. |
|
| Author: | jlcgarcia [ Mon Jul 07, 2014 9:29 am ] |
| Post subject: | Zigzag Bollinger Band |
Hi Snailbeard, I have recolected your ideas in an EA that is in myfxbook called "PokerMontana". Let's see. Regards José Luis |
|
| Author: | snailbeard [ Mon Jul 07, 2014 12:04 pm ] |
| Post subject: | Kill flags |
It is easy to filter out losing trades, but howmany good trades might be lost as well? The previous losing trade is easily trapped: From the log file there are also a number of other flags hinting at a possible reversal or ranging, but nothing is ever concrete: Code: Select all Note that AdxM15Sell flag is also true. |
|
| Author: | snailbeard [ Mon Jul 07, 2014 12:15 pm ] |
| Post subject: | Zigzag Bollinger Band |
Hi José, I'm not sure how you did it, but it sounds very interesting, I look forwarding to seeing the outcome! Meanwhile, I need to do another 3Y backtest to see what damage my latest changes have done to ZzBb. |
|
| Author: | snailbeard [ Tue Jul 08, 2014 2:11 pm ] |
| Post subject: | No trading zone |
I thought I should mention that the current medium term low price volatility is incompatible with many of the methods described here and used in ZzBb, which work better for W1 ATR > 300 pips. Or to express this in terms of weekly pivots: if (WR1 - WS1) > 300 then prices are moving enough otherwise go to sleep So this low volatility could go on for weeks or months, therefore, it might be more profitable if I spend my time on a daily pivot scraping method instead of the current multi-day setups. |
|
| All times are UTC | Page 19 of 28 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|