EMA Crossover Entries with ATR-Based Stops for Gold Scalping
Summary
This strategy uses a fast and a slow exponential moving average to generate directional entries: a bullish crossover with price above the slower average opens a long, while a bearish crossover with price below it opens a short. It then sets stop and target levels from recent highs or lows and the Average True Range, aiming to adjust exits to market volatility. The document gives example EMA and ATR settings and describes the method as a gold scalping approach.
The source code labels the instrument as XAUUSD, but the published backtest settings specify BTC/USDT futures over a short period. No performance results are supplied, so the test configuration does not establish effectiveness for gold. The notes identify whipsaws in choppy markets and sensitivity to ATR settings as risks; they suggest testing parameters, adding filters, and adjusting position size as volatility changes. The provided rules are a compact indicator strategy rather than evidence of robust results across markets.
Key ideas
- A fast EMA crossing above or below a slow EMA sets the long or short direction, with price relative to the slow EMA as confirmation.
- ATR and recent highs or lows define stop and target levels that respond to volatility.
- The document gives example EMA, ATR, and target settings, but reports no trading results.
- The source labels the strategy for XAUUSD while the published test uses BTC/USDT futures.
- EMA crossovers can whipsaw in sideways markets, and ATR exit distances need evaluation.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.