Showing posts with label Inside Day. Show all posts
Showing posts with label Inside Day. Show all posts

Friday, June 14, 2024

The Principle of Contraction/Expansion | Toby Crabel

 » 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. «  
Toby Crabel, 1990
 
In his study 'Day Trading with Short Term Price Patterns and Opening Range Breakout' Toby Crabel defined the following range contraction and expansion patterns:

NR4 - The narrowest daily range relative to the previous three day’s daily ranges compared individually.
NR7 - A day with a daily range that is narrower than the previous six day’s daily ranges compared individually.
WS4 - (Widespread 4) A day with a daily range that is larger than any of the previous three day’s daily ranges.
WS7 - (Widespread 7) A day with a daily range that is larger than any of the previous six day’s daily ranges
             compared individually.

His key findings were: A cumulative total of Gross Profits for the contraction patterns vs expansion patterns on trades in the direction of the move off the open showed $710,000 for contractions on 7,313 trades and $102,000 for expansions on 7,524 trades. Profits were seven times larger for ORB (Opening Range Breakout) trades after contractions than expansions.

» Clearly something is going on here. The suggestion from these results is that one should be looking to go with a forceful move off the open after a contraction and not willing to do so after an expansion. In fact, fading price action off the open, with trend, after an expansion is a consideration. Other patterns can help with the decision on whether to fade a move off the open along with previously mentioned market context. If nothing else, one should be aware of the dangers of ORB trades the day after a big directional day. Caution is necessary after expansions. This is when the most attention is given to the market by the novice trades who invariably get caught in whipsaws and trendless markets. «  

Bitcoin - Inside Bar Narrow Range 4 (ID/NR4)
in monthly, weekly, daily and 4 hour bar charts.

» An object at rest stays at rest and an object in motion stays in motion with the same speed 
and in the same direction unless acted upon by an unbalanced force. «
Isaac Newton's 'First Law of Motion', 1687
 

Sunday, June 9, 2024

An Outside Look at Inside Days | Larry Williams

First, lets define what constitutes an inside day. An Inside Day is exactly the opposite of an Outside Day. That is, today’s high is less than yesterday’s high and today’s low is greater than yesterday’s low. Hence the terminology inside day, as all of today’s price range or trading activity took place inside of yesterday’s range. An inside day is usually thought to be an indication of congestion. A price could not exceed the previous day on the upside nor could it break below the previous day’s low on the downside.

 » Inside Days are one of the most reliable forecasting patterns to occur in the marketplace. «
 
Chartists and authors have not paid very much attention to the inside days over the years. They have made note of them, but this is the first time, to my knowledge, that anyone has made a serious study of the impact of inside days. And, wouldn’t you just know it … inside days are one of the most reliable forecasting patterns to occur in the marketplace!

  » In a study of nine major commodities covering 50,692 trading sessions, I noted 3,892 inside days,
suggesting we will see these days appear about 7.6 percent of the time. «
Larry Williams, 1998.

There does seem to be some validity to this. The following chart shows what happens when we have an inside day with a down-close while prices are lower than they were 10 days ago. In the Standard and Poor’s, 71% of the time you were higher the next day. This may not even be as significant as the fact that 71% of the time you were higher 20 days after this occurrence. In the Value Line, price is higher 50% of the time after the occurrence, and in Treasury Bonds it’s higher 75% of the time. The pattern in Silver was not nearly as bullish, which surprises me because I had used this trading technique in Silver with some success … which just goes to show you! In Silver, on 36% of the time you were higher 20 days following the occurrence of the pattern. Soybeans were higher 57% of the time, Bellies 50% of the time and the Swiss Franc, where so far we have not found a pattern that forces prices higher, you were up only 22% of the time.

'Inside Days in the S&P 500' - Toby Crabel, 1990.

For a moment though, let’s take a look at just the occurrence of an inside day. What happens when we simply have an inside day with a down-close? Does that, on its own merit, forecast any significant market activity? The results are on the next few pages [of 'The Future Millionaire's Confidential Trading Course']. What can you find?

Then there’s the other side of this coin. What happens if we have an inside day with an up-close? Does this forecast positive action? It appears that it does to some extent. Study the tables for yourself. I have gone to the computer to give you the results for almost all possible configurations of the inside days. While, quite frankly, much of the data suggests random-gibberish-behavior, others are relationships that you can find and successfully trade with. What you need to focus on here is not that the patterns will always work for you, but that patterns, like methods, systems and tools, will give you the much needed odds that lead to successful speculation.
 
I have not exhausted all possible ways of looking at inside days with down-closes, though I have looked at the majority of the relationships one can study. There are others. As an example, what happens if the prices are higher, or if prices are lower following an inside day five days later. Does that mean that the down trend will continue? One could also ask the questions about an outside day following an inside day. Is this a particularly bullish pattern? (It is.) As you can see, your opportunity for research here is unlimited. If you have a computer, some data, and a desire to study the markets, here is fertile ground for you to come up with your own great ideas.

Monday, September 25, 2023

NR4 & NR7 (Narrow Range 4 & 7) and ID (Inside Days) | Toby Crabel

Narrow range patterns were described by Tony Crabel in his book, "Day Trading with Short Term Price Patterns & Opening Range Breakout". Even though it was published in 1990, many of Crabel's concepts and set-ups are still effective, and in particular his NR4 (Narrow Range 4) and NR7 (Narrow Range 7) patterns became quite popular with short-term traders. The idea for set-ups is similar to the Bollinger Band Squeeze or Short-Squeezes and Long-Squeezes in general: a volatility contraction is followed by a volatility expansion; narrow range days mark price contractions that precede price expansions. The NR7 day and the NR4 day as such are 'neutral' when it comes to future price direction, and other tools need to be employed to determine directional bias. Because NR4/NR7 days are relatively commonplace and the range is small by definition, the chances of whipsaw are above average. A break above the NR7 high can fail and be followed by a break below the NR7 high. Just be aware of this probability and keep the bigger picture in mind. In other words, be wary of sell signals within a bullish pattern, such as a falling flag or at a support test.
 
Examples of Narrow Range 7 Inside Days (IDnr7) in the Nasdaq.

Traders will want to qualify NR7 signals because they are quite frequent. A typical instrument will produce dozens of NR7 days in a twelve month period and a daily scan of US stocks will often return hundreds of stocks with NR7 days. Traders can increase or decrease the number of narrow range periods to affect the results. A decrease from NR7 to NR4 would increase the number of instruments fitting the criteria, while an increase from NR7 to e.g. NR20 would decrease the number of signal days. Consider NR7 and NR4 days that are at the same time Inside Days (IDnr4, IDnr7) also as signal days (see chart above).

Strategy: This strategy starts with the day's range, which is simply the difference between the high and the low. Crabel used the absolute range, as opposed to the percentage range, which would be the absolute range divided by the close or the midpoint. Because we are only dealing with four and seven days, the difference between the absolute range and percentage range is negligible. Crabel focused on two different narrow range timeframes: four days and seven days. An NR4 pattern would be the narrowest range in four days, while an NR7 would be the narrowest range in seven days. It is a very short-term pattern designed to initiate a trade based on an "opening range breakout", which is another term from Crabel's book. Look for an upside breakout when prices move above the high of the narrow range day and a downside breakdown when prices move below the low of the narrow range day.

Bull Signal:
  1. The daily bias is bullish.
  2. Identify a NR4, a NR7, an IDnr4 or an IDnr4 day.
  3. Buy on move above high of narrow range day high.
  4. Set trailing stop-loss.
Bear Signal:
  1. The daily bias is bearish.
  2. Identify a NR4, a NR7, an IDnr4 or an IDnr4 day.
  3. Sell on move below low of narrow range day low.
  4. Set trailing stop-loss.
Targets: Because this is a short-term setup, it is important that the trade starts working right away. Failure to continue in the direction of the signal is the first warning. After a buy signal, a move below the low of the narrow range day would be negative. Conversely, a move above the high of the narrow range day would negate a sell signal. Consider profit targets and stop-losses. Crabel took profits quite quickly, usually at the close of the first trading day or on the first profitable close. Again, this is very short-term-oriented and might not be suitable for all traders. Alternatively, profits can be taken near the next resistance levels or a percentage target can be used. Base stops on previous highs and lows, the Average True Range (ATR), etc. For example, the stop-loss on a long position could be set two ATR values below current prices and trailed higher.

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: