Skip to main content
Track Chi-square test
12 / 17
Library

1991issue C031-3

Treat session high and low times as codes, then require a chi-square check

A two-digit high-low code records when a session high and low printed. Each code was scored by next-session direction, then a chi-square pattern screen marked which pairings met a stated significance threshold.

  • Turn session high and low times into a two-digit high-low code with an hour-digit map, so the day is a discrete pattern type rather than a pair of clock stamps.
  • Score each stored code by next-session direction in a widely followed industrial average, not by the clock labels themselves.
  • Use a chi-square pattern screen against an explicit baseline before calling any timing code informative.
  • In the 19-year hourly review, only codes 17 and 71 were treated as distinguishable after that screen.
Entries in this reading1 entry

Encode the session as a two-digit high-low code

A session can be labeled with a two-digit high-low code. The first digit marks the time of the daily high. The second digit marks the time of the daily low.

An hour-digit map replaces each trading hour with a single digit so high-low timing can be stored as countable pattern types rather than as raw clock stamps. Under that encoding, a high near 11 a.m. paired with a low near 3 p.m. is stored as type 26.

Score the code by next-session direction

The comparison used an hourly archive that began in 1971 and spanned 19 years. Each stored high-low code was scored against the following day's move in a widely followed industrial average.

Next-session direction is whether that average finished higher or lower after a given high-low timing code. Chi-square tests were applied to every pattern type to mark which next-session associations met a stated significance threshold.

The chi-square pattern screen is a contingency test. It asks whether up versus down counts for a coded high-low state differ from an explicit baseline over a stated hourly lookback.

Next-day DJIA direction after each high-low timing code

Each pair of bars is the raw next-session tally for one two-digit clock code: the first digit is when the DJIA printed its session high, the second when it printed the low. Up is how often the following day's average rose; down is how often it fell. The integers are taken from Merrill's Figure 2 table, not traced from a plot, and cover 19 years of hourly DJIA data beginning in 1971. Code 17 (high at the open, low at the close) is the only pairing marked significant at 99 percent and leans down; 21, 43, 53, 57, 71 and 76 are marked probably significant at 95 percent. Most other codes sit near a coin flip, which is why the chi-square screen matters more than the code itself.
Each pair of bars is the raw next-session tally for one two-digit clock code: the first digit is when the DJIA printed its session high, the second when it printed the low. Up is how often the following day's average rose; down is how often it fell. The integers are taken from Merrill's Figure 2 table, not traced from a plot, and cover 19 years of hourly DJIA data beginning in 1971. Code 17 (high at the open, low at the close) is the only pairing marked significant at 99 percent and leans down; 21, 43, 53, 57, 71 and 76 are marked probably significant at 95 percent. Most other codes sit near a coin flip, which is why the chi-square screen matters more than the code itself.DJIA · Next trading day after an hourly high-low code · 1971-01-01T00:00:00.000Z to 1989-12-31T00:00:00.000Z

Hours are coded as single digits (1 at the open through 7 at the close). Same-hour codes such as 22 or 55 are absent because a session cannot print its high and low in the same hour. On the source table, N means the cell was too small for a chi-square call, not that a test was run and failed.

Read the screen, not the code alone

In that 19-year hourly review, only codes 17 and 71 were singled out as the two pattern types whose next-session directional counts were treated as distinguishable after the chi-square screen.

A results table summarized, for each high-low hour pairing, whether the following session's direction showed an association in that hourly sample.

Editorial reading: the archive workflow stores timing first and tests association second. Passing the screen is what made a code count as distinguishable in that sample.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
12 of 17 in the Chi-square test track
19911-2 pp.Next on Chi-square testA signed hourly swing catalog as a next-session chi-square checkA signed hourly swing keeps only the plus or minus of each hourly change and drops volume and the size of the move, so the last hours of a session form a finite catalog of directional patterns.
All readings on this track · 17 readings
  1. 1987Testing price-volume agreement after percent reversal filters
  2. 1988Constructing chi-square tests for two-way price counts
  3. 1988Building consensus indicators with correlation and the chi-square test
  4. 1988Test edges against chance, not story
  5. 1988Constructing an advance-decline divergence oscillator
  6. 1989Evaluate a contrary put-call premium ratio at a stated horizon
  7. 1990A weekly resistance-index from hourly volume-per-point
  8. 1990Testing breadth above moving averages by horizon
  9. 1990Evaluating member versus odd-lot breadth
  10. 1990A chi-square test of split frequency histograms across price aggregations
  11. 1990Evaluating smoothed secondary counts with a chi-square test
  12. 1991Treat session high and low times as codes, then require a chi-square check
  13. 1991A signed hourly swing catalog as a next-session chi-square check
  14. 1992Constructing a chi-square test as a gate for two-way market records
  15. 1992Percent filters, log point-and-figure, and breadth residuals
  16. 1997Build a chi-square stationarity screen before you forecast
  17. 1998Timed breakout rules after a nested-bar contraction
All 32 readings tagged Chi-square test
Also on Chi-square test5 readings