How it works
Use one short-period moving average and one long-period moving average. When the short average crosses above the long one (a golden cross), recent prices are stronger than the long-term average, which is taken as an uptrend, so you go long. When it crosses below (a death cross), you close the position or flip to a short.
Common parameters
- Classic pairs: 20/60 and 50/200 (on the daily chart, the 50/200 crossover is the famous “golden cross”).
- Shorter periods give more signals, and more false signals; longer periods are steadier but enter later.
- Crypto trades 24/7, and 4-hour and daily candles are the usual timeframes for low- to medium-frequency trading.
One-sentence prompts
On BTC/USDT 4-hour candles, go long when the 20-period EMA crosses above the 60-period EMA and close the position when it crosses below; no shorting. Stop loss of 5% per trade, use 30% of capital per trade, and backtest the last 3 years.
Add a filter to the moving average crossover strategy above: only allow long entries when the price is above the 200-period moving average. Compare the max drawdown and number of trades with and without the filter.
Pros, cons and improvements
The pros: simple rules, hard to overfit, and it catches big trends. The con: in sideways markets it crosses back and forth repeatedly and racks up a string of small losses. Common improvements: add a long-term moving average filter, add a trend-strength filter such as ADX, and use ATR to set a dynamic stop loss.
This article only explains how tools are used and how strategies work. It is not investment advice. Backtest and paper trading performance does not represent future returns. Digital assets and leveraged trading carry extremely high risk; only use money you can afford to lose.