Mean Reversion Entry: At Open vs. Intraday Pullback vs Confirmation

For the mean reversion strategies that I have created in the past and are trading now, they typically enter at the next day’s open or wait for a further pullback intraday before entering. My current mean reversion strategy, which enters on a limit down, was doing great until a few months ago when the performance started to slip. Looking at the missed trades and the trades taken, it seemed like the best trades would have been entering at open or waiting for some intraday confirmation.

Waiting for a pullback to take out the previous day’s high was very popular when I started trading. But my testing then showed that it was better to wait for a further intraday pullback to enter. Have the markets changed such that waiting for confirmation is better?

The Three Types of Entry

For a mean reversion setup, there are three popular ways to enter.

On the next open

After the setup, the strategy enters on the next open. The advantage of this entry method is that you know that you will get into the stock. The disadvantage is the potential for gap opens.

On intraday pullback

After the setup, the strategy places a limit order below the closing price. This typically is limit entry on x% below the close. Some like to use a multiple of ATR. The idea being waiting for further weakness before entering. This is the method I typically use. The advantage is that you get a better price. The disadvantages are that you may not get filled if the stock rebounds before getting to this price. Also, if the stock continues to downtrend, the strategy will get into the trade.

On confirmation

After the setup, the strategy places a stop entry order above the closing price. Typically, this is just above the high of the setup day. I like using an x% above the closing price because it gives flexibility on how quickly to enter. The advantage of entering on confirmation is that if the stock continues to fall, the strategy will likely not enter it. The disadvantages are you give up some profit entering higher. Also, the actual entry price can be substantially higher than the stop price if it is moving quickly up. Of course, you could add a limit price but then you may not get filled which then complicates backtesting even more.

The Entry on Open Strategy

Test dates 1/1/2007 to 6/30/2021.

I wanted a very simple mean reversion strategy to compare the entries. I did not care about how good the strategy was because I want to see how the entries would change the results.

Setup

  • Stock is or was a member of the Russell 3000
  • The original close is above $1
  • The 20-day moving average of the Close times Volume is above $500,000
  • The $SPX is above the 200-day moving average
  • The stock is above the 200-day moving average
  • The 2-period RSI is under [.5 to 5 steps .25]
  • Rank stocks from high to low using 100-day historical volatility

Entry

  • Maximum 10 positions
  • Enter next day on open

 

Exit

  • 2-period RSI greater than 70
  • Exit on the next open

 

Results

I will be comparing the best optimization result from each of the entry methods. Full results can be found in the spreadsheet.

Not great returns but something to compare against. I am showing only the last couple of year returns because that is what is of interest.

 

The Entry on Intraday Weakness Strategy

Change in Setup Rules

  • The 2-period RSI is under [2.5 to 10 steps 2.5]

Change in Entry Rules

  • Enter on limit order [1 to 4 steps .5]% below the close
  • The number of orders to place is assuming all get filled will be 100% invested. No leverage.

Results

The CAR improved by 21%, Exposure dropped 33%, MDD dropped and the avg % p/l doubled. All big improvements by using this entry method which has been my preferred method for years.

Looking over the last 5-year returns, we can see substantial differences. Notice the difference in 2021.

 

The Entry on % Confirmation Strategy

Change in Setup Rules

  • The 2-period RSI is under [2.5 to 10 steps 2.5]

Change in Entry Rules

  • Enter on stop order [1 to 4 steps .5]% above the close
  • The number of orders to place is assuming all get filled will be 100% invested. No leverage.

This is the best result and it still sucks compared to entry on open. Except one detail did jump out at me. Look at 2021. This is showing that this year is different in that waiting for confirmation is what works best.

 

The Entry on High Confirmation Strategy

This is the more popular method of entry on confirmation.

Change in Setup Rules

  • The 2-period RSI is under [2.5 to 10 steps 2.5]

Change in Entry Rules

  • Enter on stop order at the high of the setup bar
  • The number of orders to place is assuming all get filled will be 100% invested. No leverage

This helped the results some but still not as good as entering at the open. Though the 2021 results are not as good as the limit percent confirmation entry.

Spreadsheet

Fill in the form below to get the spreadsheet with lots of additional information. See the results of all variations from the optimization run. This includes top drawdowns, trade statistics, yearly returns and more.

Final Thoughts

This year is highlighting the issue that no one method always works. Most of the time entering on further intraday weakness is the best way. But this year, it clearly is not. And the method of waiting for confirmation which rarely works well is doing great this year.

One of my biggest issues with waiting for confirmation is that for your backtesting, it is unclear what your actual fill price will be. One needs to build in slippage for the entry price. Adding a limit simply complicates the issue.

Will I change my strategy which enters on a further intraday pullback to enter on the open or on confirmation? No. But I will keep an eye on things to see if this is something that may be a permanent change in the markets.

 

Backtesting platform used: AmiBroker. Data provider: Norgate Data (referral link)

Good quant trading,

Fill in for free spreadsheet:

spreadsheeticon

 
Visited 91 times, 1 visit(s) today

Click Here to Leave a Comment Below

Scott Hodson - August 25, 2021 Reply

Great article again Cesar.

I have RSI2 strategies that enter at the open and LCRSI strategies that enter with limit pullbacks. I’ve never tried any form of confirmation signals, though, I know through testing that the signals don’t work well for large moves or as trend-following entries, so that was enough for me to not try any form of confirmation signal. So it doesn’t look like I’m missing much. While the confirmation is working well this year, I have other strategies that are capturing the strong up-trend so I’m not totally missing out.

Just a couple of typos. Ctrl-F to find them…

“Though the 2001 results” should be “Though the 2021 results”

“This is year is highlighting the issue” should be “This year is highlighting the issue” or something else, depending on what you meant.

Happy trading!

    Cesar Alvarez - August 26, 2021 Reply

    Thanks for the edits. Is LCRSI supposed to be ConnorsRSI? I have never seen it abbreviated that way. Normally I see it as CRSI, that is what we did.

Thomas Musselman - August 25, 2021 Reply

Interesting that you lose half of executions from buying invariably at open. I wonder if it works due to setup criteria rather than a general rule. Have you tried it just on S&P 500 stocks buying at open the next day vs. intraday down purchase?
Also I see your setup rule used HV100; have you tested its value in the last few years (maybe I missed a post?)

    Cesar Alvarez - August 26, 2021 Reply

    Do you mean buying every day at the open vs a limit price?
    For HV100, are you asking if there is a better ranking method the last few years?

Thomas Musselman - August 26, 2021 Reply

Yes that is what I meant about HV100. I know you used it years ago because I used to see it used in Connors blogs and publications but wonder if you have tested it since going out on your own or were using it just based on older backtests. Does it add value any more?

And my other question was about just testing the entry criteria of this post vs. the other set-up requirements, i.e. using a different test universe but the same entry changes. So, e.g., simply buying S&P stocks either at open, or with the same limit tests you used in this post which worked on the other strategy criteria. Is it the criteria that limits the results? Or are the entry rules applicable in general to any universe purchased?

    Cesar Alvarez - August 27, 2021 Reply

    I have tested using different indicators for ranking mean reversion setups and I keep finding the in general HV100 works best for me. I did a recent post on ranking for rotational strategies, Different ranking methods for a monthly S&P500 Stock Rotation Strategy. Maybe I should do one for mean reversion strategy.

    I did not test this on a different universe. My bet is that the results would be the same but with smaller edges. But I could always be wrong.

Hardik Narendra Upadhyay - August 31, 2021 Reply

Hi Cesar,

Have you tested static limit orders? For example, on Monday ABC stock closed at 100 has a Buysignal and I want to buy at limit price of 95. I want “Buylimitprice” of 95 to be valid for 3 days and after 3 days new Buysignals can be considered for new positions if my position size allows.

Thanks!

    Cesar Alvarez - August 31, 2021 Reply

    I have not tested that. It is an interesting idea. Maybe a future blog post.

Tom Kasperski - December 18, 2021 Reply

Great blog. Have you ever tested using S&P and Nasdaq Futures pre-market to determine the entry method? For example, if the Futures are indicating a big gap up on open, I assume you wouldn’t want to place a limit order.

Thanks!

    Cesar Alvarez - December 19, 2021 Reply

    I have not tested something like that. Mostly it is a data issue. I would need to hunt down the data. But my gut says that it would hurt results because you are getting less exposure and from my experience of seeing what gets filled on those types of days. But then again I could be completely wrong.

Jason - December 23, 2021 Reply

Hi, I understand you dont use stops in some of your mean reversion strategies however have you tested using stops then looking for a risk reward ratio? I have been looking at entering on the next open once 2-period RSI is under 10 putting a stop 2 x 10 period ATR. my profit target is 3 x my stop. I have tried to do some back testing but my capabilities are limited. It looked promising on the SPX over the last 5 or 6 years.

    Cesar Alvarez - December 23, 2021 Reply

    I will sometimes use stops in my mean-reversion strategies, but they tend to be very large. Usually between 25 and 50%. This is for psychological reasons because it can be hard to follow a strategy when you have such large losses.

    If you are getting results that you like using stops, then that is great.

Leave a Reply: