SMA Crossover Trading with Percentage and Trailing Stops
Summary
The described system enters long when a 10-period simple moving average crosses above a 20-period average and enters short on the reverse crossover. It sets a percentage stop from the entry price and describes trailing stops based on the most favorable high or low reached during a trade. These rules combine a basic trend signal with predefined exit levels.
The article presents this as an adaptive, machine-learning-assisted strategy, but the supplied implementation contains no machine-learning model or market-responsive parameter adjustment; its signal periods and stop percentage are fixed inputs. The code updates stop values on crossover events, so its implementation does not clearly trail them continuously as price moves. A BTC/USDT futures backtest interval is listed, but no returns, benchmark, or other measured evidence is reported. The document identifies parameter sensitivity and choppy markets as risks, and suggests testing filters and risk controls; its favorable performance claims are unsupported by results here.
Key ideas
- The stated entry signals come from crossovers between 10-period and 20-period simple moving averages.
- The system defines percentage stop levels from entry price and describes separate trailing levels for long and short positions.
- The supplied code does not implement the machine-learning or real-time parameter adaptation described in the prose.
- Stop levels in the code are updated on crossover events, which may not provide continuous trailing protection.
- The document gives backtest settings but no performance statistics, and warns that ranging markets can cause frequent signals.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.