Linear Regression

Statistical Trend Systems Intermediate Australia XJO ASX200 BHP CBA CSL NAB WBC RIO MQG ETFs Stocks Futures CFDs

Identifies trend direction, strength, and price deviations from statistical norm

Learn this and Australia-market strategies in depth — one-time purchase, lifetime access.
Unlock full hub →

Quick Reference

Strategy Type Statistical Trend Identification and Mean Reversion System
Market Outlook Identifies trend direction, strength, and price deviations from statistical norm
Risk Profile Defined by channel boundaries or standard deviation bands
Reward Profile Captures trend continuation and mean reversion opportunities
Time Horizon Swing to position trading (days to weeks)
Best Markets Trending markets with statistical price behavior
Signal Type Slope direction, price position in channel, and deviation extremes

Payoff Profile

Statistical approach to trend and mean reversion trading

Australia Market Details

Market Hours ASX: 10:00 AM - 4:00 PM AEST
Best Underlyings Excellent for index trend quantification • BHP, CBA, CSL, RIO - liquid stocks with measurable trends • STW, IOZ, IVV - broad market ETF statistical analysis • Works well on AUD pairs with statistical behavior
Timeframe Recommendations Primary timeframe for swing trading • Position trading, smoother regression lines • Active trading, more responsive • Day trading application
Indicator Components Best-fit line through price data • Line + N standard deviations • Line - N standard deviations • Rate of change of regression line
Common Parameters 14-50 bars typical • 1.5-2.0 for channels • Degrees or rate per bar
Asx Considerations Regression adjusts to gaps over time • Trade top 50 ASX for reliable statistics • Channel width reflects volatility

Frequently Asked Questions

What period should I use for Linear Regression?

20 periods is a good starting point for daily charts. Shorter periods (14) are more responsive but noisier. Longer periods (50) are smoother but slower to react. Match period to your trading timeframe - shorter for active trading, longer for position trading.

How is Linear Regression different from Moving Averages?

LR finds the best-fit line mathematically (least squares), while MAs simply average prices. LR has less lag than equivalent MAs. LR provides R² to measure trend validity. LR can be projected forward. Both show trend, but LR is more statistically rigorous.

What does it mean when R² is low?

Low R² (below 0.5-0.65) means prices aren't following a linear pattern - there's no clear straight-line trend. The LR line doesn't fit well. Don't use LR for trend trading when R² is low. Wait for R² to improve or use different methods.

Should I trade when price touches the channel?

Channel touches can be trading opportunities. In an uptrend (positive slope, high R²), touches of the LOWER channel are potential buy signals (mean reversion). Upper channel touches in downtrends are potential sells. Always confirm R² is adequate first.

Can Linear Regression predict future prices?

LR can be mathematically extended forward (projection), but this assumes the current trend continues. Accuracy decreases rapidly beyond a few bars. Use projections for target estimation and scenario planning, not as predictions. Markets can change direction anytime.

How do I use multiple LR periods together?

Use short (14), medium (30), and long (50) period LR simultaneously. When all slopes align (all positive or all negative), trend is strong. Divergence (short turning while long still trending) warns of potential change. Use long LR for bias, short for timing.

What's the best channel width (standard deviation)?

2 standard deviations is standard, capturing ~95% of price action. Use 1.5 SD for more signals (tighter stops). Use 2.5 SD for fewer signals (wider stops). Match to your trading style - more aggressive = tighter channels.

How do I combine LR with RSI?

LR provides trend context (slope, R²), RSI provides momentum. In uptrend (positive slope, high R²), buy when price at lower channel AND RSI oversold (<35). This combines statistical support with momentum exhaustion for higher probability entries.

Why does my LR channel width keep changing?

Channel width is based on standard deviation of price from the LR line. As volatility changes, so does channel width. Wide channels = high volatility. Narrow channels = low volatility. This dynamic adjustment is a feature, not a bug.

How do I know when a trend is ending using LR?

Watch for: 1) R² declining (trend losing linearity), 2) Slope decreasing toward zero, 3) Price breaking below lower channel in uptrend, 4) Multi-period LR divergence (short turning while long still trending). Multiple warnings = higher probability of trend change.

How do I implement adaptive LR periods?

Calculate R² for multiple periods (14, 20, 30, 50). Use the period with highest R² for current analysis. Alternatively, when R² is high (>0.8), extend period to capture more trend. When R² falls (<0.6), shorten period for responsiveness. Recalculate daily.

What are regression residuals and how do I use them?

Residuals = Actual Price - LR Value at each point. Plot as oscillator. Extreme residuals (>2 SD) indicate price extended from trend - mean reversion likely. Use for entry timing: enter trend direction when residuals normalize from extremes.

How should LR guide options strike selection?

Use LR channel boundaries for strike placement. Lower channel = put spread short strikes (support). Upper channel = call spread short strikes (resistance). LR line projection = target strikes. Channel width guides spread width. R² determines strategy confidence.

How do I detect LR system edge decay?

Track rolling profit factor by R² category and signal type. If high-R² lower channel entries show declining PF despite normal markets, edge may be decaying. Compare to simple buy-and-hold. If LR loses relative advantage, recalibrate parameters or pause system.

What's the optimal R² threshold based on testing?

Testing shows R² > 0.75 dramatically improves results (71% WR, PF 3.15) versus R² 0.65-0.75 (60% WR, PF 2.35). Minimum threshold 0.65. For highest quality, wait for R² > 0.75, accepting fewer signals for higher win rate.

Master Australia trading strategies on AlgoKing

Full guided lessons, quizzes, and a complete strategy library for the Australia market. One-time purchase. No subscription, ever.

Get Australia access →