Moving Average Crossover Trend Strategy with a Backtest Window
Summary
This strategy uses a fast and a slow moving average to generate long trades. The fast average may be a simple or exponential moving average, while the slow average can optionally be set as a multiple of the fast period. A cross above the slower average opens a long position; a cross below it closes the position. The published parameters specify a fast period of 13 and a slow period of 144, with simple averaging selected by default. A stated backtest setup uses BTC/USDT futures data and 30-minute bars over a short September 2023 interval, while the strategy inputs define a separate date window.
The document explains that the method is intended to follow trends and lists parameter flexibility as an advantage, but it supplies no measured performance results. It also identifies key limitations: crossovers lag, can whipsaw in sideways markets, and the described rules omit stops, position sizing, and trading costs. Although a date range is configurable, the source’s window function is always true, so the stated entry rule does not actually enforce its start date; the finish date is used to close an open trade. Backtests and parameter tuning therefore need careful review before live use.
Key ideas
- A fast moving average crossing above a slow average opens a long position, and a downward cross closes it.
- The averages can be simple or exponential, and the slower period can optionally be defined as a multiple of the faster one.
- The published defaults use periods of 13 and 144, with simple averages selected.
- The strategy can lag or generate repeated false signals in range-bound markets.
- The source closes positions after the finish date, but its entry window function does not enforce the configured start date.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.