In the last article How to find a trading Strategy? Pt.2 we saw that our entry pattern has a small edge over random entries. Even such a small edge, should in theory be enough to develop a fairly profitable strategy. Now we are going to look at a few ways we can improve this entry through the use of vairous filters. I am not a fan of using many filters. I like to keep the strategy as SIMPLE as possible. Once you add too many filters you normally just end up with a strategy fitted to the past data. So, for this project we will be looking to add no more than 1 or 2 fiilters that MAKE SENSE. That is important. Adding a filter ONLY because it improved the performance but for no real justifiable reason is a sure sign you are curve fitting.
Lets get started
First, before adding any filters we need to understand how our pattern entry works. This pattern looks for a time when the stock has been severly beaten down. The reason we look for this, is normally stocks do not move in a straight line up or down. There is a bit of mean reversion that takes place in any trend. At this point we have only been looking at the past 4 days with RSI(4) to see how much punishment the stock has taken. So, we make no assumptions whether or not the stock is in a long term up trend or long term down trend. As our results using the SPY and USO showed, it can profit under either condition.
This pattern is already picking entries that come after heavy selling. However, if we are going to buy here we would want as much of the selling to have already taken place as possible. So the first thing I decided to try was putting in the condition that the stock has closed down for all 4 of the days. This did not improve performance that much. Mostly because its a rarer occurance, and because 4 straight days down can be a signal of a more severe and longer term correction than what we are attempting to capitalize on.
Knowing the market’s tendencies
Next, I remembered that a statistical test I ran a long time ago showed a slightly increased chance that the next day would be an up day if today was down. So with this knowledge I decided to test adding a filter that said if today < yesterday then buy. The adition of this filter made a huge difference in both the PL chart and overal profit. Using the predefined time stops from the previous article and using RSI(4) <20 EVERY time stop produced a positive return greater than +$1000
Now with the adition of that one filter, the pattern produced positive results using 5,10,15,20,25, and 50 day predetermined exits. This is huge because now the entry method has a very substantial edge over random entries. Using just this entry pattern and filter we could move on and design our exit, but I think there may be more room for improvement in our entries.
What about an uptrend?
I figured if the slightly longer term trend was up then the pattern may have a better chance to succeed. I tried using moving averages to determine if the slightly longer term trend was an uptrend or not. However, the results showed no real improvement, infact results suffered. I did find that by using RSI(10) > 20 we got some decent improvement. For now I will include this filter in the entry, but I wont hesitate to remove it if I can prove that it only showed an improvement due to random chance. This should show up in a later article when we expand our testing to more securities. For now we are only developing the strategy on a few securities, so that we can verify its not curve fitted to this particular set of data in the future.
Here is what the current PL chart looks like using a 5 day hard stop on the SPY. As you can see its pretty choppy. This is due to it having no meaningful exit strategy. 
Where to go from here?
Now we have a decent entry method, but our exit strategy is just a hard time stop. In the following articles we will explore different exit strategies we can employ. So far it looks as if we will have a profitable strategy at the end of all of this. However, its very possible we wont. Sometimes you succeed, but the majority of the time a strategy is a failure. If you want to see what happens next, Subscribe to my feed or check back in a few days for the article “How to find a trading strategy? Pt. 4