| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Daily Fibonacci Signals https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4100 |
Page 3 of 21 |
| Author: | snailbeard [ Tue Apr 07, 2015 1:45 pm ] |
| Post subject: | Minuetto Allegretto AUDNZD |
Well it is back to the charts after a few days off. I was working through the charts this morning but unfortunately didn't get past A for AUD before something interesting drew my attention. Firstly, do you ever trade AUDNZD? It is not one of my favourites due to variations in spread depending on the broker and type of account and the swap. However, if you are only going with the weekly/monthly direction then the short swap is a bonus. This morning there was an interesting counter trade, but what grabbed my attention was the gap. Do you see a gap on M1 at 07:30, 7th April 2015 on your chart? I suppose it depends which data provider you have. Out of 3 brokers the gap is most pronounced on GlobalPrime demo account. It would be very helpful if someone with a real GP account could post a screenshot of AUDNZD M1 before and after 07:30 in case the demo price data is different to the real price data. In the following side by side comparison price moves quickly and entering a trade during these minutes could be difficult and expensive. I don't have a log of tick by tick price and spread so there is no way of knowing what would have actually happened only that our method of entry must take into account that many pairs have moments each day when the main move of the day can be over and done in a few seconds or minutes: Although this is a counter-trend trade, I have observed this on both trend and counter trend, but some pairs more than others. I gave up using real pending orders because of the uncertainty about the spread and slippage when price touches the trigger price. So whether we are using a manual entry or auto-trader the entry method must have the trade running before the big boys open the flood gates. Sometimes we have several hours price action before the main, but often we also get some reverse price action just before the main move so we cannot rely on pure price action. It is always good to look at the daily bars first. In the following chart there is such a clear downtrend that it is safer not go against this trend but something else to keep in mind is that after several months of one trend there could be a significant reversal either short lived or for longer: Candle pattern traders would point out the Bullish Harami pattern. Of particular note is that the Doji opened above the previous close and that the close of the Doji was above the open. H4 is a popular time frame and close of H4 bar in relation to a significant level is often a clue to the strength of support and resistance: What I see here is H4 Ema5 rising and H4 bars opening and closing above both blue and red EMAs which to me means don't sell and consider buying although the simple FiboEma would ignore the long term down trend (it follows yesterday's direction) I'm too cautious to trade this manually. Still perhaps I am too cautious and how might we offset the risk with more clues? Firstly, the green dashed lines corresponds to yesterday's open and close. It is significant that the current open is above the previous close. Next I'm going to see what the H1 time frame can tell us... |
|
| Author: | snailbeard [ Tue Apr 07, 2015 4:10 pm ] |
| Post subject: | AUDNZD continued |
In the next chart the Sma60 and Ema10 form a triangle. The third Doji closes above the Sma60, but more confidence of a breakout is provided by the small pull back of the next bar following breakout of the Sma60: Since this is a counter trade we now have the difficulty of choosing an appropriate target and stop loss. Since we might want to limit the target to 30 pips does a stop loss of 15 pips give enough room for the trade to breath? So far I have hardly mentioned Fibonacci levels. It is becoming a bit tedious to keep using Empty4's built in tool for my preferred settings so I'm thinking of producing an indicator which can plot 3 custom sets of Fibonacci levels. These are Yesterday's high-low (Yellow), Last week's high-low (Wheat colour), Last month's high-low (Magenta). When we add these to the chart it starts to look a bit crowded but the trick is to focus on the useful bits: All the interesting stuff happens between A and D, between A and B we are waiting for a strong breakout and at D price moves fast and it might too late to enter a trade. At A the price is pushed back under the Fibs so we hold back but finally there is a big move and price remains above Y.F.100 at 04:45. We can tell from this chart that moving averages are often used for support and resistance. The challenge at B is to believe the breakout will hold. Finally we should take a look at M1 to better understand the timing of the breakout and what might help convince me to take a punt: At 04:25 We see a complete M1 bar open and close above the second Fibonacci resistance level. There is also increasing divergence of a ribbon of moving averages indicating growing price action. Some traders prefer to use an MA to calculate a stop loss here there are several to choose from. Although this post was mostly about a counter trend the same principles can be applied to the main trend and with more confidence than a counter trend. |
|
| Author: | snailbeard [ Thu May 07, 2015 9:28 am ] |
| Post subject: | Interesting Gold setup |
I have recently been experimenting with trading indexes and gold, and commodities. It took a while to fix issues with risk, lot size, spread and converting between raw prices, pips and points. The manually tailored look-up table inherited from old code had to be rewritten to work on any broker for any type of trade. This part now seems to be reliable. Futures are a bit of a headache because of additional issues with times and dates. In addition to the usual methods I have also been experimenting with volume indicators and their derivatives. Most of the time they are just another lagging indicator which follows the price action but sometimes they can complement ATR or diverge from the price action. The time that I have found these most useful is when (M15, H1) ATR is lagging behind price action which sometimes delays entries. Generally trades entered when ATR is falling or very low tend to fail but then price action can happen very quickly, but then we need to corroborate price action with other clues to avoid false moves. To get anything useful out of a lagging indicator the smaller the time-frame the better, so on this M1 screen shot of Gold we see clues to sentiment while the price action picks-up. OnBalance Volume (Lime-green) has a steady march down while M1-ATR(14 & ATR(120) both increase. The slow moving averages show a preference to going down, but price action was moving up, so first we have a false breakout, followed shortly afterwards by a sharp move down. OBV initially goes up with the false breakout but exposes the true sentiment as ATR continues to increase and OBV reverses to the sell side. Note that yesterday's low is today's upper region and take profit is consistent with Fib 161 relative to yesterday's top and bottom: |
|
| Author: | snailbeard [ Tue May 12, 2015 8:56 am ] |
| Post subject: | AUDJPY breakfast pips |
While half the world was still asleep there was a buy breakout for AUDJPY. Unfortunately ZB5 dropped it. Analysis paralysis doesn't just happen to humans, ZB5 often has this problem, which is the cause of many good entries being delayed by hours and a cause of a potential win turning into a loss. In the following M15 chart it is easy to spot the ideal time to enter a buy trade: At 04:45 CET there was a strong breakout in the dominant direction shown by the thicker green moving average. The problem for ZB5 is that it generally follows H1 Sma60 which of course is lagging. Often pullbacks followed by breakouts are too fast for H1 Sma60 so some magic is required to tell ZB5 to follow a different Sma when this situation arises: On the H1 chart the thick purple Sma60 is falling and converging with the thick orange 240 Sma (rising). Since the candle tops and bottoms are moving up there is no doubt that price is generally moving up. Difficult to see on this crowded chart is that Sma20 is moving up and diverging from Sma240: Finally delving into the log file helps me understand ZB5's confused state at the time of the missed opportunity: Code: Select all So we can see that it spotted the breakout and that the candles are going up but " iFollowDirection: -1" means it is looking to sell instead of buy. The iFollowDirection needs to be recomputed to understand that H1-Sma240 is acting as support in this particular case. |
|
| Author: | snailbeard [ Fri May 15, 2015 9:39 am ] |
| Post subject: | AUDJPY earlier entry point |
After adjusting the current price direction by price action, further testing uncovered several bugs in other entry filters. Debugging a 6000 line function has it's challenges and even the logging conspired against me to produce dangerously large log files. So I had to fix a number of side issues before I could get this to work. In the following log extract we can now see that everything is flagging a buy signal: Code: Select all and shortly afterwards a buy entry is triggered: |
|
| Author: | snailbeard [ Fri May 22, 2015 4:05 pm ] |
| Post subject: | A Brief History of Time |
Sorry this is not a contribution by Prof. Hawkings. This is just another rant about issues with MetaCrap particularly SlackTester. A friend asked me to test out an idea that he'd got from Jesse Livermore, presumably a book and not his ghost. The essence of which is to enter trades at (D1 breakout) higher-highs or lower-lows using a wide stop loss of say 3x ATR. However, the hard part would be adding a feature to stack trades due to a limitation which I need to fix. Now that MetaCrap supports classes this should be more straight forward than managing arrays of arrays. The method sounds similar to Zorro's breakout script which is just a few lines of code in their first example. I was so annoyed with SlackTester's limitations with historical data, i.e. all the ways it can be missing, incomplete or wrong and the hurdles one has to jump through to fix it. So somehow I was reminded of Zorro which I looked at just over two years ago when it was the new kid on the block. It appeared to be a bit flaky at that time but after two years I am wondering how things have progressed. Now some members here are making good use of it. However, there are not that many posts here about Zorro the most recent is by Dewey. Dewey is very positive about Zorro's back testing and optimization capabilities and historical data just happens by magic. However, it looks like most of us are still locked into running our existing code in MetaCrap for the time being... So my monster EA has quite a few added checks which look for missing bars and I have to set the simulation start date one week before the time the first trades can open, so that various arrays get filled with long term data. If I start the simulation then expect the EA to look for past bars, those bars might not exist, which is why I let the EA itself work out when it has accumulated enough passed bars to start trading. One thing that is missing is a check for holes in the historical data after trading has started, not just a few M1 bars here and there but a lot of bars. Perhaps Jeremy can explain why even GlobalPrime has this issue with historical data. Does Empty4 purge M1 bars more than about 3 months in the past? How come we can't load these historical bars when we need them for back-testing magically like some of these new modern alternatives to MetaCrap? Here is some example code for spotting holes in MetaCrap's history data, it only checks M1 bars but could be generalized for other time frames: Code: Select all After running the EA, I initially found the following lines by search the log file: Code: Select all This unfortunately also picks up even just a few missing bars. A few lost minutes here and there is not the problem, it is the big hole at the end: Code: Select all Empty4 is missing just over two months of M1 bars! You might be wondering why I need those M1 bars at all for testing a D1 breakout method. The method doesn't need them but I have my other unrelated calculations running which require the M1 bars and I had not planned to run without them If the trading logic was confined to a DLL it would be possible to use it with both Zorro and MetaCrap although I have not thought this through so perhaps it is not that simple? |
|
| Author: | snailbeard [ Mon May 25, 2015 3:40 pm ] |
| Post subject: | OBV: more examples |
The following posts are a detailed walk through of several time-frames over a period of time - I'll be going into quite a bit of tedious detail about On-Balance-Volume and Price: so you might find reading a book on vector analysis or Ron Suskind's One Percent Doctrine more interesting... So, if you are still reading this... the first thing that I have noticed is that divergence (on D1) hints at a price reversal, but price can continue to diverge for days, weeks and even months. This then presents another difficulty: when is price reversal just a pull-back or a real long term reverse? Further, to this is the issue of our timescale, mine is generally less than one day to several days. I don't like large stop-losses and long pull-backs as it requires a deeper draw-down and at the same time there is a high chance of a smaller SL of less than 30 pips being hit, especially by non-ECN brokers. However, there are arguments in favour of trading the macro trends. The advantage is less chance of criminal manipulation hitting your stops or just missing your target price. However, this approach fails when the timing of smaller price cycles within the the larger trend mean the entries are too late in the long trend. If you are familiar with spectral analysis and filter design you will know that it is referred to as phase lag. This happens on all time-frames and OBV has been helping me to see pre-price-action money flow. Phase lag happens in my EA a lot. The Fibonacci levels are very significant places where interesting things happen but don't tell us anything about future price direction. When there is a good long strong trend every thing is simple and our EAs are apparently very profitable, especially in forward testing but after a while the links to MyFxBook mysteriously disappears and it is off again to the next exciting idea of the month. So this month's exciting idea (for me) is volume and OBV I have also looked at AD and MFI. For the moment I am focusing on OBV. We can link OBV with ATR and ADX. However, ATR is perhaps one of the most important companions of price action and OBV. I find ATR is often the biggest clue to the start or end of a cycle on a particular time-frame. In an earlier post I discussed long term trading, holding a position for weeks or months and stacking trades. Radar and others in this forum have done quite a bit of work on stacking trades. The long-term trades are pointless without stacking more trades on the journey to the take-profit signal. However, if we start stacking entries late into the trend we could end up swept along by the market-juggernaut into heavy draw-down or worse: The following chart is an example of long term fall on D1 for GBPUSD: The OBV is clearly working its way down from Jan 2015 to March 2015. However, Price and ATR follow their own paths. We are looking at this chart with the benefit of hind sight but we need to image that we have just reached the 2nd Feb: We are now in a dilemma: price is rising - how far will it go: should we exit or hold? When a D1 bar opens and closes above the fast blue and red EMAs it confirms price is moving up. It is a matter of optimization whether or not hold or close. So 3 typical options could be: a) a fixed (n x ATR) pips away from the low b) price crosses MA(n) c) bar closes above MA(n) The above chart is a bit squashed and it looks like a minor pullback but actually at 570 pips low to high it is a trade-able counter swing. So we could have had the following outcomes a) 3 x D1-ATR results in a exit giving back about 300 pips b) price crosses D1-EMA(60) has a similar outcome to (a) c) price crosses D1-SMA(60) is equivalent to 4 x D1-ATR In addition to the above we might look at alternative or hybrid exit conditions based on OBV. We can certainly see OBV move up on D1 but compared to the overall long term falling OBV it does not look that significant. Looking at H4 can give a more accurate shorter term outlook. In following chart the strength of the reverse is more apparent: OBV has moved up above the previous highest value and the H4 bars are strongly trending On this time frame it looks like we have a trade-able reverse or a fairly strong sell exit signal. So my next task is to see if I can turn these combined conditions into meaningful signals... Since this topic is mainly about Daily Fibonacci signals, how do we apply the above in the context of MN1 and W1 Fibonacci levels? In the following chart I have added MN1 and W1 but left out the D1 Fibs. Firstly, MN1 Fib.61.8 suggests a likely take profit. There are several crossings of W1 Fibs which all produce a good run (in hindsight) However, since it is a counter trend trade we might prefer closer targets based on W1 Fibonacci levels: |
|
| Author: | snailbeard [ Wed May 27, 2015 4:43 pm ] |
| Post subject: | The Big Easy |
There might be plenty of manipulation and noise on the smaller time scales, but some things are much easier on a daily timescale. I can run back tests on higher time frames with missing M1 data and it is now possible to stack trades (but not manage them as a group). This is a method that works really well on long term trends: This is only achieved under ideal conditions like the following: The draw down is reported as 6% but this is taken from running profit which means more free margin and scope for running other trades in parallel. Although I have added more OBV analysis it hasn't been pulled into an entry filter or exit signal. At the moment it is just a collection of true and false flags. If that was the result of 3 month forward test we might claim that this is a tried, tested & proven method and tempted to run it live. Unfortunately, the next three months are a roller coaster ride: The results for this period are of course negative: Code: Select all So that is about 3% down, which would not be so bad if it came after the previous 10% up, we would still be about 7% in profit. So this method is suitable for anything which has good long trends with limited amounts of ranging periods. Is there scope for improvement, i.e. earlier detection of ranging and reversing? Looking at OBV at the beginning of February shows a temporary upward move. So perhaps some hedge entries would be better than hard stop-losses. That would get us over the first hump. In March OBV starts to drift upwards, by the end of March there is a clear upswing. Perhaps, it is possible to spot this in time to prevent more sells and also start closing running trades.... |
|
| Author: | snailbeard [ Thu May 28, 2015 10:13 am ] |
| Post subject: | BoE/FOMC swallows pips |
Did I write 'longer time frame trades are less vulnerable to manipulation' ? - oops - that was a bit misleading. Central Banks are the ones mostly likely to instantly wreck your trades or even your accounts after uttering a few words. Muddle muddle, toil and trouble let the base rate be double! On the 18th March the BOE and later FOMC released an update which resulted in a swing of about 540 pips. Which was more than 4x ATR - therefore no chance of the trade entered two days earlier surviving up-swing: Firstly, the BoE news causes a temporary spike lower: Later-on the FOMC has a much bigger but temporary up-swing: Could one use a 3 pair hedge instead of a stop-loss to cope with news spikes? I have just been looking at the Zorro manual and it provides an example of back-testing multiple pairs at the same time. |
|
| Author: | snailbeard [ Thu May 28, 2015 3:56 pm ] |
| Post subject: | OBV rescue (long term trades) |
Going back to the long term trend following method Without OBV filtering there is a sell entry right at the end of a trend just before it reverses: An order was placed on 13th April and hit the (3 * ATR) stop-loss on 17th April 2015 From the log files: Code: Select all So the next question is how well does this work in the long term and for other pairs? |
|
| All times are UTC | Page 3 of 21 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|