Moving Average Cross Entries with Delayed Cross-Back Exits and Six Targets
Summary
This strategy script combines a selectable main moving average with offset entry logic, delayed cross-back exits, and six take-profit levels. Its settings allow EMA, SMA, WMA, VWMA, or VWAP as the main line, with configurable direction, line length, entry offset, and profit targets. It also exposes switches for a previous-day candle filter, a slope filter, and an initial stop based on the crossing candle’s high or low.
The visible configuration indicates a fixed position size of six contracts and enables both long and short trading by default. A backtest date range can also be set. The supplied document ends partway through the date settings, before the signal calculations, order handling, or exit implementation are shown. It therefore describes the intended components but does not establish their exact interaction, execution behavior, performance, or suitability for any market. No backtest results or empirical evidence are included.
Key ideas
- The main line can be selected from several common moving-average types and configured with a chosen length.
- Entries are intended to follow a moving-average cross with a configurable price offset.
- A delayed cross-back exit and a cross-candle high or low stop are available as configurable features.
- Six separate take-profit distances can be specified.
- The excerpt lists daily and slope filters but omits the calculations and trading results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.