Strategy Methodology

Trend Following / Momentum

A strategy that enters positions in the direction of a persistent price movement and exits when the trend reverses.


Trend following is the oldest systematic trading strategy with empirical support. The core observation: assets that have risen over the past 3–12 months tend to continue rising, and assets that have fallen tend to continue falling. This is momentum — measurable, persistent, and documented across equities, commodities, currencies, and crypto. Momentum exists in two forms: cross-sectional, which ranks assets against each other, and time-series, which trades an asset's own directional persistence. The botwir3 trend module implements the latter.

The botwir3 trend module detects directional persistence using configurable lookback windows and signal thresholds. When the module identifies a trend, it proposes an entry. The gate validates the proposal against the configured band before the adapter submits it.

Trend following does not predict where a price will go. It identifies where a price is already going and proposes a position aligned with that direction. The strategy profits when trends persist and loses when they reverse — a profile the user accepts when configuring the module.


Sources

Jegadeesh, N. & Titman, S. (1993). Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency.” The Journal of Finance, 48(1), 65–91.The foundational paper documenting cross-sectional momentum in U.S. equities.
Moskowitz, T. J., Ooi, Y. H. & Pedersen, L. H. (2012). Time Series Momentum.” Journal of Financial Economics, 104(2), 228–250.Extended momentum evidence to time-series across 58 instruments over 25 years.

Used in

Trend Following / Momentum module — builder


See this in action

coinbasebinancealpacaoanda

Related

Mean ReversionVolatilityDrawdownBacktesting

Build your bot →