Skip to content
All library documents

Adapting Breakout Lookback Length to Recent Volatility

Article FMZ forum · Author: 发明者量化-小小梦

Summary

This article explains how to make the lookback length in a range-breakout strategy vary with volatility. A fixed N-day breakout may enter quickly during strong trends but can produce repeated signals in sideways markets. The proposed adjustment compares a longer-period volatility estimate with a shorter-period estimate: when recent volatility rises relative to the longer-term measure, the lookback shrinks; when it falls, the lookback grows. The resulting value is converted to an integer and used to define breakout levels.

The example describes buying when price crosses above a recent high boundary and selling short when it crosses below a low boundary, using daily data alongside an hourly chart for an index futures contract. It supplies a formula and code illustration, but no measured performance, parameter validation, or transaction-cost analysis. The volatility ratio can also produce unstable or impractical lookbacks unless its bounds and signal behavior are handled carefully.

Key ideas

  • A fixed breakout lookback can react quickly in trends but generate repeated signals in choppy conditions.
  • The method scales a baseline lookback by the ratio of longer-term to recent volatility.
  • Higher recent volatility shortens the lookback, while lower recent volatility lengthens it.
  • The adjusted lookback defines the high and low boundaries used for breakout entries.
  • The article gives no performance results or evidence that the adaptive rule improves returns.

Tags

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