Configurable Moving Average Crossovers for Long and Short Trading
Summary
This strategy generates long and short signals from crossovers between a fast and a slow moving average. Traders can choose from eleven average types, including simple, exponential, weighted, volume-weighted, smoothed, double and triple exponential, Hull, zero-lag, triangular, and SuperSmoother variants. The provided defaults are lengths of 8 and 21, and the strategy also offers pyramiding controls plus optional percentage-based profit and loss exits.
The document describes exits through a profit target, stop loss, or opposite crossover, and notes familiar limitations: crossovers can produce false signals, hard stops can close trades during volatility, and parameter tuning can overfit past conditions. It suggests testing average types and lengths systematically, adding volume or price-action filters, and considering trailing stops or staged profit taking. Published settings specify a one-hour BTC futures test with a fifteen-minute base period, but no results are supplied. The source code uses crossover events for entries; therefore the plain-language comparison of fast versus slow averages should be read as a crossover rule, not a continuously active entry condition.
Key ideas
- The strategy enters long when the selected fast average crosses above the slow average and short on the reverse crossover.
- Eleven moving-average methods are available, with configurable lengths and price sources.
- Pyramiding and optional percentage-based profit and stop exits are included.
- False signals and overfitting are cited as risks, especially across changing market conditions.
- The published BTC futures test settings include no performance statistics.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.