Author Archives: Cesar Alvarez
Author Archives: Cesar Alvarez
In my last post I showed research on how optimization results can be mean reverting. Sometimes, my research keeps getting side tracked as I think of random ideas to look at. In this post, we look at the random walk my research took starting from my mean reverting optimization research. I will show how changing the start date can have a big change in the results, correlation of 1990’s to now, and random data and how it correlates.
Often one runs a optimization of a testing idea, then using some set metrics from these results, one picks a variation to trade. What often comes as a surprise to people, and myself the first time I saw this, is that your optimization runs are often mean reverting. What do I mean by this?
A common way to describe a mean reversion trade is a rubber band that stretches away and then snaps back. Something that Steve, my trading buddy, and I discuss when a trade keeps going against us is that the rubber band has broken. I have never tested that concept. Meaning after N day sell-off, are we now more likely to continue to sell off than bounce? Doing research is not always about trying to develop a new strategy but sometimes it is testing a concept. The concept may lead to a new trading idea.
A couple posts ago, I did the RSI Analysis. This post will focus on ConnorsRSI which I created while working for Larry Connors. When creating the indicator, the focus was on short-term mean-reversion results. We will look at that here but also how does it handle longer-term holds. Since I did not test this when I originally did the work, I was looking forward to seeing the results.
ConnorsRSI is an indicator made up of three components. The first being a 3 period RSI on the closes. The second being a 2 period RSI applied to the current up/down streak. The last being a rank of how big today’s move is. Then a simple weighted aveage is used to combine them. For more details on the calculation and how to use it see this link.
A reader sent me a link to presentation, Robert Frey – 180 years of Market Drawdowns, about drawdowns and the time that a strategy is underwater. I highly suggest you watch it. I wanted to perform my own analysis on how often a buy and hold strategy on the S&P500 index is making new equity highs. Then, I wanted to compare the results to a new strategy I am working on for my trading. From previous experience, this number is a lot lower than people expect.
Recently I have been researching longer term hold strategies. I wondered which indicators by themselves would show an edge 3 to 6 months out. I am not looking to create a strategy from the indicator alone but want to know is there a statistical edge with it. Naturally, I started with my favorite Relative Strength Index, RSI.
I came on an idea recently that I had tested. I have tested adding max loss stops to a mean reversion strategy, with no success. See this post for more on that. About eight years ago, I tested scaling out of trades. But this person claimed that adding the two together was how to improve a mean reversion strategy. Interesting idea I had not tested.
I have a one question poll below about what to do with my research. Take 15 seconds to fill it out.
At the end of last year, I was working with a client and we were having problems with code I had written. We would get different results depending on who ran the code. After comparing trade lists and doing some debugging, we discovered that their database was missing several symbols. These symbols existed in my database but did not exist in theirs. We were both using Norgate Data, which I highly recommend and can read my review here.
In the book, Short Term Trading Strategies that Work, which Larry Connors and I published in early 2008, we wrote about a simple strategy called “Double 7’s Strategy.” Through the years people often ask about this strategy. Does something that simple really work? How does it do in a portfolio? Does the concept work on stocks? Today, we will be answering these questions.
Two years ago, I wrote an article, The issues with back testing a short stock strategy, about my short strategy and the issues I had with short backtests and shorting. Soon after publishing that article, I stopped trading my short strategy. I like to retest strategies 2 to 3 years after I stop trading them. I will admit that I do not do this with all my strategies because I forget to do so. I am looking to see how the strategy has performed since then and if the reasons I stopped have changed. Maybe it is time to start trading it again. The current market conditions and the fact that I wrote about this strategy gave me the push to remember to do it. So how has my short strategy held up since I stopped?