Modern financial markets generate an enormous flow of price data. Two complementary streams of research attempt to extract useful information from that data: technical trading rules that prescribe entry and exit points based on observable price patterns, and timeseries econometrics that provide statistical frameworks for modelling and forecasting asset returns. This page offers a concise overview of the most widely used rules, the econometric concepts that underpin them, and practical guidelines for integrating the two approaches.
Technical analysis assumes that all relevant information is reflected in market prices, and that historical price dynamics contain clues about future movements. The simplest rules are purely mechanical, allowing traders to automate decisions and remove emotional bias.
The moving average (MA) smooths past prices and highlights the underlying trend. A classic rule is the golden cross: when a shortterm MA (e.g., 50day) crosses above a longterm MA (e.g., 200day), a long position is opened; a death cross (shortterm MA crossing below) signals a short position or exit. The rule can be expressed as:
Buy if MAshort(t) > MAlong(t) and sell when the opposite occurs.
This rule works best in markets that exhibit trending behavior. In sideways or highly volatile environments, crossovers generate frequent false signals.
The RSI measures the speed and magnitude of recent price changes on a scale of 0100. Values above 70 indicate overbought conditions, while values below 30 suggest oversold conditions. A common rule is:
Enter a long trade when RSI falls below 30 and rises back above it; enter a short trade when RSI exceeds 70 and drops below it.
RSI is effective at spotting shortterm reversals, especially when combined with trend filters such as a moving average.
The MACD line is the difference between a fast (12period) and a slow (26period) exponential moving average (EMA). The signal line is a 9period EMA of the MACD itself. The standard rule is:
Buy when the MACD crosses above its signal line; sell when the MACD crosses below.
Because the MACD incorporates both momentum and trend, it often yields clearer signals than a simple MA crossover.
Bollinger Bands consist of a middle band (usually a 20period SMA) plus an upper and lower band placed two standard deviations away. When price touches the upper band, it may be overbought; touching the lower band may signal oversold conditions. A typical rule:
Buy on a bounce off the lower band with confirmation from an uptrend MA; sell on a bounce off the upper band with a downtrend MA.
The width of the bands also conveys volatility: narrow bands often precede a breakout.
Econometrics treats price series as stochastic processes and applies rigorous statistical tools to diagnose their properties, estimate models, and forecast future values. The most common framework is the autoregressive integrated movingaverage (ARIMA) family, often extended to capture volatility clustering through GARCH models.
Stationarity means that the mean, variance, and autocorrelation structure of a series do not change over time. Nonstationary series can lead to spurious regressions. The Augmented DickeyFuller (ADF) test and PhillipsPerron test are standard procedures for detecting unit roots. If a price series is nonstationary, its first difference (logreturns) is typically stationary and suitable for modelling.
An AR(p) model regresses the current value on its p past values; an MA(q) model regresses the current value on past error terms. Combined ARMA(p,q) captures both persistence and shock persistence. For example:
rt = + rt1 + + rtp + t + t1 + + _q tq
where r denotes logreturn and is white noise.
If a series requires differencing d times to achieve stationarity, the appropriate model is ARIMA(p,d,q). The I part accounts for the integration order. Model selection criteria such as AIC or BIC guide the choice of p and q.
Financial returns often exhibit volatility clustering: periods of high variance followed by low variance. The Generalized Autoregressive Conditional Heteroskedasticity (GARCH) family models this behavior. A simple GARCH(1,1) specification is:
= + +
where is the conditional variance. GARCH forecasts are valuable for risk management and for scaling technical signals (e.g., applying a volatilityadjusted stoploss).
When two or more price series share a longrun equilibrium relationship, they are cointegrated. The EngleGranger twostep method and the Johansen test detect cointegration. An errorcorrection model (ECM) captures shortrun deviations while respecting the longrun equilibrium:
y = (y x) + x +
Such models are especially useful for pairstrading strategies that rely on meanreversion.
Technical rules become more robust when evaluated through an econometric lens. Below are practical steps to combine the two approaches.
Before employing a rule that uses price levels (e.g., movingaverage crossovers), test whether the series is stationary. If not, work with logreturns or detrended prices to avoid spurious signals.
Split the data into an insample window for parameter estimation and an outofsample window for testing. Compute hitrate, Sharpe ratio, and maximum drawdown for the rule on the outofsample set. This guards against overfitting.
Use GARCHderived conditional variance to size positions. A common rule is to risk a fixed fraction of the forecasted volatility:
Position size = (Target risk per trade) /
where is the GARCH forecast for day t.
MarkovSwitching ARIMA or GARCH models allow parameters to change across latent regimes (e.g., bull vs. bear markets). Technical rules can be conditioned on the estimated regime, employing trendfollowing rules in trending regimes and meanreversion rules in ranging regimes.
Apply the SPA (Superior Predictive Ability) test or Whites Reality Check to determine whether a set of rules outperforms a benchmark after accounting for data snooping. These tests use bootstrap resampling to generate the distribution of performance under the null hypothesis of no skill.
Technical trading rules offer intuitive, rulebased entry and exit signals, but their performance is highly dependent on market conditions and on the statistical properties of the underlying price series. Timeseries econometrics supplies the necessary diagnosticsstationarity testing, model fitting, volatility forecasting, and regime detectionto evaluate and enhance those rules. By integrating rigorous econometric analysis with welldesigned technical signals, traders can build systems that are both transparent and statistically sound, improving the odds of sustainable profitability.
For further reading, consider classic texts such as Time Series Analysis by James Hamilton, Technical Analysis of the Financial Markets by John Murphy, and recent papers on machinelearningaugmented technical strategies that explicitly incorporate econometric features.
