Skip to content
All library documents

Linear Regression Deviation Scalping with Fixed Exits

Article Strategy library · Author: ChaoZhang

Summary

This scalping approach calculates a linear regression estimate and places upper and lower trigger levels around it using a configurable price gap. It buys when the close falls below the lower level and sells short when the close rises above the upper level, subject to a selectable direction setting. Orders use either fixed take-profit and stop-loss distances or distances tied to the trigger gap. The document describes a short regression length and offset, but provides no measured trading results.

The published settings identify BTC/USDT futures and a one-week January 2024 test window, without reporting returns, costs, or drawdowns. The notes emphasize that frequent trading can make transaction costs significant, and that gaps may cause losses beyond intended stops. They recommend checking behavior across instruments and timeframes, accounting for costs, and guarding against overfitting. The explanation's references to support and resistance do not precisely describe the coded regression-band entry rules, and the strategy's profitability is not demonstrated.

Key ideas

  • The strategy places entry thresholds above and below a linear regression estimate.
  • It buys below the lower threshold and sells short above the upper threshold when direction settings permit.
  • Exits use configurable fixed profit and loss distances or the threshold gap.
  • Frequent entries make execution costs and market gaps important risks.
  • The published test window has no accompanying performance evidence.

Tags

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