Moving Average Crossover Trend Strategy with Fixed Stop and Target
Summary
This strategy uses a short and long simple moving average to generate directional trades. The description presents a 30-day average crossing a 200-day average as the long or short signal, with a fixed 40,000-point stop and target and a reversal when the opposite crossover occurs. The source code instead uses a 30-period average against a 200-period average, also calculates a 60-period average for display, and sets stop and target orders 40 price units from the signal close. These differences make the intended parameters and scale unclear.
The document names XAUUSD on a one-minute timeframe in its prose, but the published backtest settings specify BTC/USDT Binance futures on a one-hour period with a 15-minute base period over January 2024. No performance statistics are provided, so claims about effectiveness are unsupported here. The notes identify whipsaw risk in sideways markets and parameter sensitivity; the implementation and market mismatch further limit conclusions about how the stated rules were tested.
Key ideas
- The strategy uses a crossover between short and long simple moving averages to determine trade direction.
- The prose specifies 30-day and 200-day averages, while the code implements 30 and 200 bar periods.
- The code places stop and target orders 40 price units from the signal close.
- The description’s gold one-minute market differs from the published BTC/USDT futures backtest configuration.
- No performance statistics are provided, and crossover rules may produce poor signals in choppy markets.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.