1991issue C091-8
Quadratic trend, residual oscillator, and a secondary cycle calendar
After the mid-January 1991 break, June gold was framed between support near 355 and resistance at 376. A second-degree least-squares baseline was fitted to daily closes so the leftover series could be read as a banded residual oscillator, while 12-day and 24-day low spacings only sketched later dates. The written entry procedure still fired when that calendar disagreed.
- After the mid-January 1991 break, the working near-term range for June gold sat between long-term support near 355 and newly formed resistance at 376.
- A second-degree least-squares baseline fitted to daily closes after January 15 left residuals between 7.01 and -8.28, with limit bands at plus or minus 3.82.
- The written entry procedure reversed on the first turn beyond a limit band, applied a trend-direction filter, and also acted on residual-versus-price divergences.
- Dominant-low spacing of about 12 or 24 days only sketched later lows. A signaled rule still fired when that calendar disagreed, and model refresh followed those trades or a baseline cross.
A working range after the break
After the mid-January 1991 break, the working near-term range for June gold was framed between long-term support near 355 and newly formed resistance at 376.
Short-term lows in the plotted gold series recurred about 12 or 24 days apart, and those spacings were later used to sketch future low dates.
Three layers, kept separate
Editorial reading: teach the work as three layers that do not collapse into one signal. First fit a least-squares baseline, a polynomial chosen so the sum of squared gaps from observed prices is minimized, with the degree set by how many turning points the series is allowed to contain. Next read the leftover series as a residual oscillator, an overbought or oversold excursion around that baseline. Last, keep a dominant-low spacing calendar that only sketches later turning dates and does not authorize a trade.
The archive then attaches one written entry procedure to the residual oscillator and its limit bands. Editorial reading: that procedure is the trigger. The calendar may disagree and the rule still fires.
The least-squares baseline
A second-degree least-squares fit P = 390.52 - 0.77202 * t + 0.0055339 * t^2 was applied to daily closes after January 15 so the baseline could contain one turning point.
The fitted equation was not to be projected far beyond the sample. A new least-squares fit was required whenever prices crossed the current baseline and immediately after trades from the reversal or divergence rules.
Residual oscillator and limit bands
Residuals of that fit stayed between 7.01 and -8.28, and those extremes often lined up with local turning points in the original closes.
Limit bands were placed at plus or minus 3.82 around the fitted curve, one-quarter of the residual range, with 81 percent of points below the upper band and 83 percent above the lower band. A first reversal beyond a band is the entry trigger.
The written entry procedure
The written entry procedure shorted on the first downturn after a move above the upper band, bought on the first upturn after a move below the lower band, traded only with the trend unless the trend was flat, and also acted on residual-versus-price divergences.
The trend-direction filter accepts a residual signal only when it agrees with the current baseline slope, or in both directions when that slope is flat.
Cycle dates stay secondary
Dominant-low spacing, the recurring interval between successive short-term lows, was used only to sketch later turning dates. The cycle date estimate was treated as secondary: a signaled rule was to be executed even if the low-to-low calendar disagreed.
Model refresh means recalculating the fit after a signaled trade or after raw prices cross the current baseline, because added observations change the coefficients.
All readings on this track · 43 readings
- 1990Constructing dollar baselines from rates, inflation, and residuals
- 1990Constructing a nominal index value from forward earnings and fitted yield
- 1990Constructing a nominal index price from earnings and a fitted yield
- 1990Endpoint-pinned price paths are not forecasts
- 1990Constructing least-squares polynomial smoothers
- 1991Endpoint growth rates versus linear-regression consistency
- 1991Out-of-sample checks for linear growth fits
- 1991Trend as persistence, not a straight line
- 1991Quadratic trend, residual oscillator, and a secondary cycle calendar
- 1991Time-origin offset and residual-price divergence on a quadratic least-squares fit
- 1991A least-squares trendline from ordered prices
- 1992Constructing log-linear growth and reliability screens
- 1992Constructing log-linear growth-rate baselines
- 1992Next-session high, low, and close from rolling linear regression
- 1993Auditing an index price-earnings multiple with short-rate regression
- 1994Regression-seeded nested exponential price filter
- 1994Constructing the double exponential average from lag cancellation
- 1994Evaluating money supply as a linear leading-index baseline
- 1995Constructing least-squares trend channels
- 1995Linear baseline holdout checks for annual bill-rate forecasts
- 1995Projection bands from high and low regression slopes
- 1995Evaluating a least-squares end-point moving average on a known test series
- 1996Constructing an endpoint moving average from a least-squares line
- 1996Scoring equity path consistency with a k-ratio overlay
- 1996Evaluating month-end yield gaps for equity regimes
- 1996Constructing session-indexed standard error bands
- 1998Evaluating linear regression baselines for index valuation
- 1998R-squared as a two-state trend filter from a price-time fit
- 2000Second-order moving-average lag correction
- 2002Price regression line versus beta for index tracking
- 2003Regression slope with an r-squared trend confidence gate
- 2003Constructing finite-volume-element divergence with slope comparison
- 2004Building a daily score from regression, retracement, and volume
- 2004Constructing least-squares trendlines from ordered prices
- 2007Rectangle breakout targets beyond height
- 2007Confirming a price trend with regression slope and r-squared
- 2008A linear-regression angle assembled as one trend filter
- 2010A two-state swing machine from four running extremes
- 2016Score oil-complex tightness before divergence or regression
- 2017Nikkei-yen intermarket divergence as a regime case study
- 2017Constructing Calmar ratio and linear regression baselines
- 2019Pair-trade layer construction versus average-spread management
- 2020A convolution slope built from nested linear regression