Mean Reversion Trading System

Mean Reversion Trading System

Many traders who managed to design and implement a mean reversion system ‘correctly’ made a fortune. Fact is that financial markets move in patterns and especially in cycles. In simple words everything that goes up must come down and everything that goes down must come up. Nothing moves in one direction forever. When it comes to the markets we basically have two possible outcomes it’s either trending or the pattern will be defined as a trading range that reverts back to the mean. Our previous research that we did on opening range breakout systems already showed us that opening range breakouts define the trend for the rest of the day in about 30% of the time. Which means that out of 20 trading days we have 6 trending days without price reverting back to a mean. On the other hand we have 70% of the moves that will revert back to the mean several times a day. It’s important to note that the 70 % are referring to intraday price moves. This is something that should ring the alarm bells. 70% of the time the market moves in cycles. Which means that range bound markets are definitely more common.

The first step in building such a system is to define what mean reversion is. Mean reversion systems are looking for markets that are unusually high or low and will eventually return back to the mean. We want a system that looks at a particular market with a significant deviation from their average. The first step to come up with a good trading idea that we can test is to observe the price chart on different time frames. The next step is a quick statistical analysis of our data.

The above data shows us the descriptive statistics of the Russel 2000 Index. In particular we have the measure of central tendency. The mean is calculated by finding the sum of the study data and dividing it by the total number of data. As the data shows most of the time we have a price move between -0.5% and +0.5%. Everything else is defined as an above average standard deviation from the average. These are the moves we will be looking for. We can already come up with a possible setup that must be present before we enter into a position. We are interested in above average price moves which means below -0.5% and above +0.5%. Furthermore we want these price moves to occur early in a trading day since we want to give the market enough time to revert back to the mean. It doesn’t make much sense if this move occurs somewhere at the end of the trading day. It lowers our odds to make a profit due to the fact that we are approaching the market close and volume will dry up (last quantile of a trading day). Another important detail that we need to factor in is the ability of our system to recognize if it’s a trending market or a range bound market. It is important to recognize the trending markets otherwise your system will incur huge losses sooner or later. As a general rule of thumb mean reversion strategies work better on shorter time frames.

Now let’s summarize :

Move of above average below -0.5% above 0.5%

Within the first half of a trading day

Non trending market.

In order to improve the predictability of prevailing market conditions we will use statistical arbitrage of two assets. In our case Russel 2000 and VIX . The basic idea is that some quantities are historically correlated sometimes these correlations are temporarily undone by unusual price moves. The assumption is that these correlations will be restored in the future. Therefore we calculate the relative spread between the Russel 2000 futures contract and the VIX futures contract during the last n number of bars. The look back period will be optimized during our back-tests as we see fit.

Since these two markets are inversely correlated it makes sense to construct a spread assuming the spread between those two assets converges back to the mean.

Test Results:

Due to the number of trades we can state that the results are statistically significant. We have no large losses and an acceptable payout ratio of 1.64. The largest consecutive losses occur between Aug 2015 and October 2015. Interestingly enough this was also the period of an elevated VIX level with large intraday spikes. Both assets moved in a more random fashion during this highly volatile period. The divergence and convergence that is typical for range bound markets was invalid for the aforementioned period. Same goes for the month before the elections.

Monte Carlo Analysis

After 10.000 simulations and a random order of trades we can observe that on average (red thick line) the strategy performs positive with no significant losses. However the system needs improvement but it offers a good foundation for further research and the implementation of additional filters.

After running the simulations with different risk % we can observe that the average draw-down for 4% risk is only 19,38% which is good considering the fact that the strategy generates a profit of +270% between 2015 and 2016.

Disclaimer:The information on this site is provided for statistical and informational purposes only. Nothing herein should be interpreted or regarded as personalized investment advice or to state or imply that past results are an indication of future performance. The author of this website will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on the content of this website(s). Under no circumstances does this information represent an advice or recommendation to buy, sell or hold any security.

Related Posts

If one thing can be called the holy grail of trading or at least come close to it then its money management. Some people call it diversification while others call it how to wisely invest your hard-earned dollar.In simple words money management is the rule book that tells you how much of your money you should put at risk for a particular trade. We ar writing this post to give you an overall understanding of money management and how to use it for your trading strategies.

A thrilling documentary about a genius algorithm builder who dared to stand up against Wall Street. Haim Bodek aka The Algo Arms Dealer. Haim Bodek is a former Goldman and UBS trader who has come firmly out against how stock exchanges work with high frequency traders. Mr. Bodek had worked with rapid-fire trading firms to give them an unfair edge over everyday investors.

The concept of diversification is based on the concept that a trader can reduce his risk exposure by entering several positions at the same time. The success of a traders portfolio is therefore based on reducing risk rather than maximizing returns.

Volume can help us in confirming breakouts. Let’s examine how we can implement a proper volume trading strategy. First of all what we need is an indicator that gives us a better understanding of what the current volume levels tell us about the state of the market. To accomplish this we need an indicator that compares the current volume of a market to the relative values during the last couple of days.

Trading is a tough business and coming up with the right idea for your trading strategy is sometimes a tedious task. It looks like a mountain you cannot climb. But don’t panic we are here to help. So today we talk about the futures market and how to do proper statistical analysis when trying to find your way to the promised land. Analyzing time series can be compared to the work of a butcher. There are some nice parallels here. Like a butcher who is cutting and processing the raw meat before he sells it you need to process the numbers and do your analysis. Bit by bit you are fragmenting the time series trying to find your edge.

Ever wondered if you can design a profitable trading strategy by trading volatility ETFs ? Well, yes you can. Those ETFs are highly ineffective vehicles on a long term investment horizon. However short term strategies have shown to be a rewarding way to trade these ETFs. Before we move onto strategy design we have to choose two volatility ETFs for backtesting. We will backtest our strategies with VXX and XIV ETFs since they are the most widely traded ones and have enough trading volume to keep our slippage low and guarantee fast order execution.

When it comes to trading there is a common belief that most behavior in markets can be explained by assuming that market participants make ‘logical’ trading decisions. In reality we know it’s not that easy. However there are market movements that are predictable because they repeat every year. These patterns are created by the collective actions of market traders themselves and can be used to predict the market.

There is logic behind our assumption due to a direct correlation between D&B subscriptions and economic cycles. To better understand why we use the stock price of Dun&Bradstreet to predict stock market cycles we will dive into a short introduction what Dun&Bradstreet actually is.

The goal of this research is to find various set-ups and exit strategies that could be used for trading the opening range breakouts. The fact that important economic news are often announced at 10:00 am makes it even more significant. Some analysts even claim that about 35% of the time the high or the low of the day occur within the first 30 minutes of trading and it defines the direction of the trend for the rest of the day. Our analysis will show if this argument holds true.

Time frames are used in order to forecast future price trends. Many traders are missing out on this important aspect of trading by only looking at one time frame when trying to define a trend. Therefore its important to categorize trends as primary, intermediate and short term trends. As a rule of thumb the primary trend is filtering out much of the market noise and is giving us more reliable signals in which direction the market is heading

Two aspects of your trading system should be monitored one is your risk and the other one is the volatility. Effectively implement this strategy and reduce your portfolio swings. Incorporate the number of directional price changes into this equation and you can come up with even better models for position sizing.

In today’s uncertain markets, traders who want to spot major market moves and protect themselves against large losses should consider using spread trading. Spreads are one of the most powerful market indicators. The two major ways looking at them are the price premium structure and the strengthening/weakening of the spread.

How does one determine whether an asset is fundamentally undervalued or overvalued? Gold. It’s the ultimate storehouse of value. Let’s have a look into the present and see if we can construct an indicator and use the gold price to measure the value of any commodity.