Skip to content
All library documents

Measuring Breakout Outcomes Over a Lookback and Test Window

Article ProRealCode

Summary

The document describes an indicator for studying whether prices break the prior lookback window’s high or low during the next window of equal length. It reports breakout counts and closing-price outcomes, compares those outcomes with the share of test windows that rose or fell, and estimates hypothetical long or short profit and loss by closing at the test window’s end. Users can adjust the breakout threshold by a percentage, include a fixed spread, and choose which result series to display.

An example uses seven-day windows on the Dow Jones Industrial Average and reports breakout frequencies, closing outcomes, and simulated returns. These figures illustrate how to compare high and low breaks on that sample; they do not establish that the pattern will persist or that the reported returns are tradable. The method is a historical analysis, and its usefulness depends on instrument, window choice, execution assumptions, and costs. The described spread adjustment addresses one cost, while the document does not establish broader out-of-sample performance or risk-adjusted results.

Key ideas

  • The tool compares breaks of a prior window’s highest high and lowest low with prices over the following window of equal length.
  • It summarizes breakout frequency, where prices close relative to breakout levels, and hypothetical long or short returns.
  • The percentage threshold and fixed spread settings let users vary breakout levels and account for a stated trading cost.
  • The example gives historical results for a seven-day Dow Jones Industrial Average analysis, which may not generalize to other settings.
  • The rising or falling share of test windows provides a baseline for interpreting breakout outcomes.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.