Showing posts with label IDnr4. Show all posts
Showing posts with label IDnr4. Show all posts

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:

Tuesday, July 18, 2017

SPX vs CBOE Equity Put / Call Ratio │ Extreme Greed


On Friday, July 14th the CBOE Equity Put / Call Ratio closed at 0.53, signalling extreme greed. On Monday, July 17th the SPX performed a narrow range inside day (IDnr 4 and IDnr7), and closed forming a neutral doji candle. However, on July 17th the CBOE Equity Put/Call Ratio closed at 0.63, and the 3-Day Moving Average (blue line) is about to turn up (down on the inverted scale).