Configurable Three Moving Average Crossover Strategy with Long Entries
Summary
This script describes a configurable, long-only moving-average crossover strategy. It calculates three averages, each with selectable period, source, method, and chart resolution. Supported methods include simple, exponential, weighted, running, hull, double and triple exponential, and volume-weighted averages. Users can display crossover markers and ribbons, and the indicator includes projected average values with configurable directional bias.
For each pair of averages, a crossover can open a long entry and a crossunder can close the corresponding entry; switches control whether each pair trades. The strategy settings specify percentage-of-equity sizing and allow one pyramid level. The document provides implementation details and chart features rather than test results: it gives no performance statistics, market context, or assessment of transaction costs. Its three pairwise entry identifiers and overlapping signals also mean actual position behavior depends on the platform's strategy rules and settings. Treat it as an example of configurable crossover logic, not evidence that the approach is profitable.
Key ideas
- The script lets users configure three moving averages by period, calculation method, price source, and timeframe.
- It can trade crossovers and crossunders for each of the three possible average pairs.
- Crossovers open long entries, while corresponding crossunders close them; each pair can be enabled or disabled.
- The strategy uses percentage-of-equity sizing and allows one pyramid level in its stated settings.
- Forecast lines and visual ribbons are included, but the document provides no quantified performance evaluation.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.