Moving Average Crossover Strategy with Selectable Average Types
Summary
This strategy uses a fast and a slow moving average to identify directional changes. A fast-line cross above the slow line opens a long position, while a cross below closes it. The described defaults are 9 and 21 periods, and the user can choose SMA, EMA, WMA, or VWMA calculations. These options vary how recent prices and trading volume affect the average, while the crossover rule itself remains simple.
The published test settings specify ETH/USDT futures on a two-hour chart over a defined period, but the document reports no results from that test. It notes the main limitations of crossover systems: signals lag price turns, and frequent crossings in ranging markets can increase false trades and costs. The provided implementation has no built-in stop loss, take profit, or position-sizing rules. Suggested extensions include trend or volume filters, volatility-based stops, and parameter validation; these would need independent testing before conclusions about performance.
Key ideas
- A fast average crossing above a slow average opens a long position, and a downward cross closes it.
- The available average types are simple, exponential, weighted, and volume-weighted.
- Moving average crossovers lag turning points and can whipsaw in ranging conditions.
- The implemented rules do not include stop loss, take profit, or position sizing.
- The stated backtest configuration is not accompanied by performance results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.