Tuesday, July 5, 2022

Inside Days in the S&P 500 │ Toby Crabel

Toby Crabel (1990) - Computer studies suggest that Inside Days (ID) provide very reliable entries in the S+P market. The data used in the studies is daily open, high, low and close prices from 1982 to 1987. All of the following patterns are defined for a computer but can be seen easily on a daily bar chart.

  • Pattern (1) is simply an inside day followed by a sale (s) on a lower open or buy (b) on a higher open. Entry is on the open with an exit on the same day's close with no stop. This procedure produced sixty-eight percent winning trades with profits of $18,000 after an $18 commission. This is a reasonably high percentage and suggests a strong bias in the direction of the open after any ID.
  • Pattern (2a) is defined as an ID with a higher close than the previous day followed by a higher open. A buy is taken on the open and exited on the close. The same is done on the sales (Pattern (2b)) if there was an ID with a lower close followed by a lower open. Again, stops were not used. There were forty-four trades as such with seventy-four percent of them profitable. Net profit was $14,914. The percentage has improved and profits are better per trade than Pattern (1). This supports the premise that the closing effects the next day's action and potential breakout. Further tests uncover some variations to above results. Although the opening direction after an inside day appears to be a valid indicator of upcoming direction, there are same specific patterns that show very high percentage profitability without the use of the previous day's closing direction. Specifically, two patterns; one a sale (Pattern (3)), one a buy (Pattern (4)).
  • Pattern (3): The day of entry is called Day 1. The day of immediately preceding the entry is Day 2 and each preceding day - 3, 4, 5, etc. On Day 1 an open lower than Day 2's mid-range and lower than Day 2's close is necessary. Day 2 must be inside of Day 3. Day 3 must have a higher low than Day 4. A sale is made on the open of Day 1 with exit on the close of Day 1. Profits were eighty percent with winning trades five times the size of losing trades. The only shortcoming is that only ten trades could be found from 1982-1987.
  • Pattern (4) is similar to Pattern (3) with opposite parameters. The only exception is the open on Day 1 need only to be higher, not above mid-range. So to review Pattern (4), Day 1 a higher open than Day 2. Day 2 inside Day 3. Day 3 lower high than Day 4. Results were as follows: Ninety-one percent profits; 860 to 820 average winner to average loser. No stops were used.  Only eleven patterns to the upside were found.

The market action implied in each pattern is a short-term trend with a loss of momentum on the Inside Day.  The open on Day 1 is in the opposite direction of the trend and is an indication of a shift in sentiment. This shift in sentiment causes those who still have existing positions against the opening direction to liquidate longs or cover shorts. Participants covering their positions is more than enough to tip off a directional move.

A slightly different perspective on the same type of pattern is to look for a retracement to the previous day's close after the opening and take a position at that point in the direction of the open. I tested four patterns to demonstrate this principle.

  • Pattern (5) shows an Inside Day with a lower close on Day 2 than Day 3.  Day 1's open is above Day 2's close. The chances are sixty-two percent that the market will close above Day 2's close on Day 1.
  • Pattern (6) is an Inside Day on Day 2 with a higher close than Day 3. Day 1's open is above Day 2's close. The chances are seventy-nine percent that the market will close above Day 2's close on Day 1.
  • Pattern (7) shows an Inside Day on Day 2 with a lower close than Day 3's close. Day 1's open is below Day 2's close. The chances are fifty-nine percent that the close on Day 1 will be lower than Day 2's close.
  • Pattern (8) shows an Inside Day on Day 2 with a higher close than Day 3's close. Day 1's open is below Day 2's close. There is a sixty-seven percent chance that the market will close below Day 2's close on Day 1.

How can you use this information? It suggests a strong bias in the direction of the open especially after a higher open. The prolonged bull market obviously had an impact on these results but in general, a counter move back to Day 2's close after the opening direction is known, should be observed for a loss of momentum and possible entry in the direction of the open.
 
Another totally different test in the S+P has same interesting implications and could be tied in with the previous patterns. On any day that the market has moved two hundred points above the open intra-day, it has closed above the open ninety percent, of the time. Also, on any day that the market has moved two hundred points below the open it has closed below the open eighty-eight percent of the time. This was during the period from 1982-1988.

An application of these results is as follows: Enter in the direction of the initial trend on any low momentum move back to the open and exit on the close of the session. This can be done after the initial trend is established with a two hundred point move in one direction off the open. The main qualification is price action on the pullback. A high momentum move back through the open leaves the initial two hundred point move in question. This can also be applied after an Inside Day very effectively.

I think it is necessary to shed light on how extraordinary the results for Inside Days are: A test on a sale of a higher open or buy of a lower open with no other information to work with provides a winning trade fifty-six percent of the time when exiting on the close the same day of entry. This suggests a natural tendency for the market to reverse the opening direction by the time of the close.

This natural tendency is reversed after an ID. Why? What is it about an ID that produces follow through after the open? An ID is narrower than the previous day. Any narrowing day shows loss of momentum and when within a previous day's range it forms a congestion area. A congestion is directionless trade with the market searching for new information. A temporary state of balance or equilibrium exists.

There is a tendency for the market to trend after a congestion. If an Inside Day is a valid congestion, it will produce an imminent trend day. One can assume from the above tests that there is a tendency to trend after these patterns (ID). These tests support the premise that Inside Days are valid congestion areas. It appears that market participants act on the first piece of information indicating trend after the Inside Day - the open. Also, the direction of the close on the ID will provide further clues on the direction of the breakout when added to the information of opening direction. The increase in percentage profit and relative profits when these variables are added supports this conclusion.

The ID pattern acts as a continuation 62% of the time. A breakout occurs when price closes either above the top of the pattern
or below the bottom of it. Since inside days act as a continuation pattern, expect the breakout to be in the same direction as
the inbound price trend. Wait for price to either close above the top or below the bottom of the pattern before taking a position.
The ID can form midway in a price trend, just like bull flags, wedges and pennants.

Why do these indications work so well in the S+P? The S+P generally is an urgent market. The distinguishing characteristic of this market is its tendency to trend throughout the session. This market is notorious for big, fast moves intra-day. Peter Steidlmayer (Markets and Market Logic) calls it a One-Time Frame market. One may reason that in a One-Time Frame market the inside day is a more reliable indication of upcoming trend than in a Two-Time Frame market. The market principle that is in force is contraction/expansion. The Inside Day is contraction, and in a One-Time Frame market 1-Day contraction is all that is necessary to tip off a directional move.

In summary, the above tests suggest that an Inside Day is a valid congestion area and it follows that all breakout rules for congestion areas should be implemented after an Inside Day forms. The resulting breakout is expansion.

Three-Bar Inside Bar Pattern by Johnan Prathap - HERE & HERE

[...] The Principle of Contraction / Expansion is defined as the market phenomenon of change from a period of rest to a period of movement back to a period of rest. This interaction between the phases of motion and rest are constantly taking place, with one phase directly responsible for the others' existence. A Trend Day is defined as a day when the first hour's trade comprises less than 10% of the day's range or the market has no dominant area of trade throughout the session. Trend days are characterized by an opening near one extreme and a close on the opposite extreme of the daily range. Trend days fall into the category of expansions. Congestion is a series of trading days with no visible progress in either direction. Usually associated with narrow range days or non-trend days. Contraction is a market behavior represented by a congestion or dormant period either short-term (ID) or long-term narrow range (8 Bar NR) and usually reaching its narrowest phase at the end of the period.

References: