Trend Signals from Moving Averages and Linear Regression
Summary
This strategy pairs a simple moving average with a linear regression line calculated over a recent window. The described rules use a price cross of the moving average as a trigger, then require price to be on the matching side of the regression line before entering long or short. Stop loss and take profit levels are also described as percentage-based. The regression line serves as a directional filter intended to reject some breakouts that conflict with the recent trend.
The document gives a BTC/USDT futures backtest configuration but no reported performance measurements. It warns that signals may be unreliable in range-bound markets, that parameter choices need testing, and that extreme moves can overrun stops. There is also a mismatch between the prose, which initially describes crosses between the regression line and moving average, and the source code, which instead uses price crossing the moving average with a regression filter. The supplied exit rules should also be reviewed before drawing conclusions about risk control.
Key ideas
- The strategy combines a simple moving average trigger with a regression line as a trend filter.
- Long and short conditions require price to cross the moving average and lie on the corresponding side of the regression line.
- Percentage-based stop loss and take profit levels are described, though the supplied exit logic merits review.
- The document provides no measured results and notes that ranging markets and extreme price moves pose risks.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.