Dual Moving Average Crossover Signals with Stop and Profit Targets
Summary
This strategy uses two simple moving averages of closing prices to generate directional signals. A crossover of the shorter average above the longer one triggers a long entry; a cross below triggers a short entry. The listed defaults are 10 and 21 bars, and the code includes an exit attached to the long entry with a stop and profit parameter. The article also suggests filters such as distance from the averages, trading volume, or a stochastic oscillator to reduce signals during sideways markets.
The published example is configured for BTC/USDT Binance futures, with five-minute strategy bars and one-minute base data over a one-week period. It gives no backtest performance statistics. Although the prose discusses stop loss and take profit handling, the coded exit is associated with the long entry, so short-side risk handling is not clearly specified. Crossover systems can also produce repeated trades in choppy conditions, and the short test window does not establish performance across market regimes.
Key ideas
- A fast simple moving average crossing above or below a slow average generates long or short entry signals.
- The listed default lengths are 10 bars for the fast average and 21 bars for the slow average.
- The source includes a stop and profit exit linked to the long entry.
- The article proposes distance, volume, and stochastic filters to reduce false signals in range-bound markets.
- The BTC/USDT futures test configuration has no reported results and covers only a short period.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.