Moving Average Signals and Range Breakout Filters in a Simple Strategy
Summary
This script combines several ideas under a simple breakout strategy label. Its main entry conditions are crossovers of a short and a longer simple moving average: an upward cross enters long, while a downward cross enters short. It also calculates a lookback high and low, an exponential moving average, and a volume threshold based on recent average volume. The long-side exit uses a stop and a profit limit defined relative to the current close.
The source does not consistently connect these components. Although it calculates a price breakout, volume confirmation, and trend filter, those conditions are not used in the stated long entry, which instead relies on the moving-average crossover. The script also includes both crossover entries and an additional long entry using the same condition. The page offers no backtest results or discussion of costs, execution, or risk beyond the coded exit levels. Treat it as an illustrative script whose actual logic should be checked before drawing conclusions about breakout performance.
Key ideas
- The primary signals enter long or short when the shorter simple moving average crosses the longer one.
- The script calculates a lookback range, an exponential moving average, and a volume filter.
- The calculated breakout, trend, and volume conditions do not govern the shown entry condition.
- A long exit is defined with a stop and a profit limit relative to the close.
- The document provides no performance results, and its signal components are not fully integrated.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.