The Most Profitable Trading Pattern You Will Ever Encounter

EUR/JPY short anyone?

Just by taking a quick look at the last trade it looks like you are buying where you should be shorting. The very last trade on the 18th of December is a long trade where the EMA’s are clearly in a down-trend. and your STOCH’s should be negative. no reason to be going long there…

Did you have the Stoch set at 14,3,1 when back testing?

just watching EUR/CHF stcoch is just about to cross! my question is do i wait until the next candle opens or get in the trade now? only demo so ill try it anyway but any advice would be great… also could someone tell me if i have this all set up correctly and where the S/L would go on the fib…much appreciatted



Shemski, I understand what you are saying by looking at the chart, but the Stochastics never reach Overbought to give you a Short signal. More importantly, if you look prior to that decline in price, there is a cross-over (designated by my Green triangle on main Chart), followed by a stochastic Buy signal (also designated by a Green triangle in the Stochastic chart). This leads to the Buy and quick Stop-out. After that point, we’re waiting for our next signal. So, the question becomes, what rules can we use to avoid that Buy signal (that is avoid the chop)?


Hmmm, maybe a good point would be to open the position once the stochastic is leaving the overbought/oversold area, I think it would help to avoid the chop, but some pips would be lost. Or maybe to not enter if the EMAs are too close between them, I am not sure.

HhAHAHAHAHA. Thanks for your effort first and foremost. I’m siding with Shemski on this one though. I remember this chart like it was yesterday, that’s the May sell-off if I’m not mistaken. I’ll try to do my (manual) analysis on how this should be trade so you can compare it to your computer.

Now before that, the EMAs did cross upwards weeks later, so you should have still made a huge profit shorting the EURUSD. But as I mentioned earlier, because the computer lacks context it got caught in a false long everytime rather than capturing the short. In essence, every good short is a failed long and good long is a failed short. I’ll be back with the chart explaining it better.

[QUOTE=“Shemski;689192”]EUR/JPY short anyone?[/QUOTE]

What chart are you looking at?

Philip, this was mid-December, 2014 - sorry if the dates are too tiny.

Just to play devil’s advocate, it’s easy to see in retrospect that this was a great Short opportunity. But, even if we didn’t take that false Long and instead were looking for that Short entry, it never came. Our Stochastics never reached the Overbought area. So, if we’re following the rules, we’d be sitting on the sidelines. Is there something in your playbook that would have encouraged you to take a Short early on? I know trading is not purely mechanical, but we want to make our trade judgements on rules. That’s why I ask a lot of questions, and am trying to get into your head as much as possible. Looking forward to your reply.

Yes, I do.

Food for thought. I just have to do some real Chart analysis on this. These exception rules have to be generic - applying them to just get a couple of good back-testing trades will invariably be a curve-fitting no-no. I know trading is an art and not 100% mechanical, but you still need rules (even if they’re hunches) to govern your trading. As an aside, I’m very disappointed (so far) that this model doesn’t translate well to FX on first blush.

First let me do a trade log for the same period and compare it with what you had with the system…if we find a difference I will put a chart up for every trade I mention explaining the rules again…

Sept 4 2013 21:00 EST (EURUSD short @ 1.131959): breakeven

Sept 23 2013 13:00 (EURUSD long @1.35136): breakeven

October 11 2013 13:00 (EURUSD short @1.35379): -109.3 (Stopped out) or -226 with my method.

October 29 2013 (EURUSD long @1.37587): -295.3 or -327.3 my method.

November 12 2013 (EURUSD short @1.34340): -113 my method.

December 2 2013 (EURUSD long @1.35493): +143.5 (my method)

December 23 2013( EURUSD short @1.36948): +21.2 my method

January 2 2014 (EURUSD long @1.36733): -12.1 my method.

January 13 2014 (EURUSD short @1.36634): Breakeven

January 28 2014 (EURUSD long @1.36765): -168.6 stopped out or -88.7

February 6 2014 (EURUSD short @1.35870): -5 pips my method.

February 12 2014 (EURUSD long @1.35918): +79.3

March 31 2014 (eurusd short @1.37710): Break even

April 14 2014 (EURUSD long @1.38264): Break even

May 16 2014 (EURUSD short @1.37038): +44.2 trail stop

June 13 2014 (EURUSD short @ 1.35418): -134 (stopped out) or -117 my method.

July 2 2014 (EURUSD long @1.36578): -58.3 my method

July 8 2014 (EURUSD short @1.35995): 627 pips (trail stop)

October 27 2014 (EURUSD short@ 1.26933): 153 pips trail stop

November 26 (EURUSD short @1.24571) 97.7 trail stop

January 12 2015 (EURUSD short @ 1.18087) +1235 pips not closed yet

So the final for late 2013 to present should have been +1434 pips. This is clearly not your result. I think that the issue could be with trail stops: When price closes above 1.0 fibo level, you move stops to break even. When price closes above 1.272 level, you move stops to a close below 1.0 level and so on.

You should have been stopped at break even at the chart you shared.

The second thing (which I referred to earlier) You see the first two trades I took where both long and short yet I was break even on both. Let’s say I even lost both. As a human trader I would move on to another pair because I know there is no trend in EURUSD. Its only when EURUSD breaks out in a direction that I will look to trade EURUSD again in that direction. To any trader reading now this makes absolute sense, its unquestionable. But a machine would never be able to do that. My suggestion is that after you finish your analysis, you give it to me or who ever is willing to humanize the results. Once you get two consecutive losers in different directions (long or short) you stop trading until you get a winning direction. Then you start counting trades in that direction until you get two losers again and so on. This way it is more human.

Anyways let me know if there are any areas in particular you wanna focus on.

Actually never mind the trades I posted above. Whenever I go back to the chart I start finding trades that I didn’t find. let me have a look at the particular example you mentioned.

Again I stress I wouldn’t take a long in December 2014 for sure (may be a good mechanical way for that is to trade in the direction of the EMAs on the weekly chart? So if 20 EMA is below 50 on weekly chart short market only and if 20 EMA is above 50 long market only?) An alternative mechanical filter: If daily bar is above 200 MA long only market. Short only market if daily bar is below 200 MA. A final condition is that the market wouldn’t be tradeable if price is stuck between the 100 and 200 MA, what do you think?

As for the chart you shared The first thing I’d say is using the stop loss you would have been stopped out for very little. Its using my method is where you get in trouble; You lose something like 533.5 pips. But then you enter the short trade and make 1200+ pips. Stochastic reaches overbought on January 12. So even through the strict mechanical system you should have made 700 pips of profit or so…

Philip, a couple of things:

  1. Thanks for giving me your trades. I just realized that we are somewhat comparing apples to oranges. You are using a LONG/SHORT version w/o Initial Stops, and my LONG/SHORT implementation assumes Initial Hi/Lo Stops. So that is one area of difference right off the bat. That is why my trade stopped out right away, and never reached Break-even, as yours did, and probably why are trade times don’t line up at all, since we’re looking for setups at different times. So, I made changes in my code by commenting out everything related to Initial Hi/Lo Stops, and ran the simulation again, and still got crappy results. I’m attaching my revised simulated trade log to this post (please rename it to have an .XLS or .XLSX extension). Also, notice that due to this revision, the 12/14/2014 trade no longer happens.

  2. I’ve implemented your Fib extension algorithm, and have verified its correctness, so that is not an issue, unless I’m totally missing something;

  3. My back-testing system, Wealthlab (old version), does not support FX, so unfortunately, there is no easy way to measure Pip gain across a period of time. I’ll just have to use it in “stock mode” with fake dollar gains. Hence, hard to compare end Pip delta results for FX with your results;

  4. In addition to your humanization idea, what about using ATR (or alternate indicator/method) to measure level of consolidation to determine whether we should be trend-trading or not? What’s your thought on that?

  5. When you take a position are you taking it after a 4 hour bar closes, and are you entering a market order (Long or Short) on the next bar OR are you entering a Limit order of some sort? If a Limit Order, is there a rule you use to establish the Limit Price?

  6. Yet another variable here is the accuracy of the FX data. As we get to lower granularities under Daily data, the reliability could get suspect (I know that I’ve had this problem with intraday equity data in the past);

As I initially expected, this is going to take some time to get it right. Ultimately, we need to align our trades and profits to match your way of trading. Once that is established, we can look for ways to optimize it further. I’m gonna look at some of your trades, and try to match it up to my data, and then I’ll ask you about specific trade detail (w/charts). Please feel free to do the same on your end.

OK, didn’t see this until after I posted above. I think your middle paragraph of suggestions all warrant consideration as part of a filter. Do you use any of these or do you favor any one over the other?

I’m sure the crappy results are coming from what I call the face slap. You enter a trade, get slapped on your face so you immediately enter the opposite trade to get slapped on your face again. This to me is a sign of consolidation. Markets trend less than 30% of the time.

I have two technical/mechanical ways to address this.

Option 1 I shared already; use the 100MA and 200 MA. When price is above both on the daily long market 4hr, when price is below both on daily short market on 4HR. Avoid trade if price on daily is between 100 and 200 MA.

The second method, which I’m actually certain will work perfect, is to use the monthly RSI. I’ve been taught by masters of RSI and I know it inside out.
Basically the algo (and I’m not using algo language because I dont know it lol) is this:
The system looks at the RSI on monthly chart when price (monthly) closes at an RSI higher than 66.6, look for long trades on 4 HR.
When price (monthly) closes below an RSI of 33.3 look to short market on 4hr.

Avoid trading when (monthly) price is between those two RSI levels. I would also avoid trades when monthly RSI ishigher than 80 or lower than 20.

Now if you can’t program that, I can do it manually and there will be no fear of curve fitting. Those are very clear mechanical rules.

[I]PS[/I] BTW I checked your EMASTOCHASTIC8 file but it didn’t have EURUSD trade it had stockmarket trades, Johnson and Johnson and Bank of America and so on.

I really hope you can code the RSI filter. Even if you don’t I’m willing to do it manually if you give me the trade log. I think We are onto something massive here. I don’t know why I never thought of it before but thanks to you it hit me.

OK, definitely losing it, and time to watch some TV and chill out. Sorry, about that File. The 2 re-attached here are:

1)EMAStochastic8.txt is the model code (eliminating Hi/Lo Initial Stops).

  1. E.txt (rename it to a .XLS or .XLSX extension) contains the new trades.

Thanks for those filtering ideas - all excellent ideas. Give me some time to update the model to include at least one of these “macro” filters - you definitely gave me enough info on the RSI method too.

Here’s my ultimate goal in all of this (and this may take a while, but I’ve got time):

  1. Have my model pretty much parallel the trades that you have been taking to a large extent;

  2. Optimize the algorithm over time, trying various ideas of this forum, to continuously improve upon it;

  3. Build a mechanism where CCY Pairs can be scanned every 4 hours, and “potential trades” can be identified to
    be watched (akin to EMA crosses plus necessary filtering). On this, I think I have the technology to make this
    fly real-time:

    a) I use IB as my broker and now subscribe to their FX data feeds;

    b) I have a version of Medved Quotetracker that I still use that allows me to use the IB data feed to garner FX
    pricing;

    c) Once the Wealthlab algorithm is complete, I have a “Scan” option that will allow me to run this algo in real-time
    using a Medved/IB adapter plug-in that I have, against defined CCY Pairs real-time data. Run this continuously, but after
    4 hour bars complete, generate an Alert for any CCY pair that is “in play” - that is, ones in which we are now
    looking for a potential setup;

    d) Perhaps publish these Alerts to a Cloud Share, or maybe in the form of a forum post, in an automated fashion, so
    that people can access this info, every 4 hours;

Think it can be done? Will take some time, but gotta work hard at making this work.

Doug

Take your time bro and I’m very excited about the prospect. But I think try to work with the RSI filter rather than the MA filter. For now rest a little you totally deserve it.

Yeah, gotta balance this with the NCAA basketball tournament…my favorite sports time of the year…LOL.
Are you from the US, Philip?