Gold EMA Crossover Entries with ATR Stops and Risk-Based Targets
Summary
This TradingView strategy generates long and short signals from a fast and slow exponential moving average relationship. A confirmed close crossing the fast average triggers an entry when the fast average is above the slow average for longs or below it for shorts. On each signal, the strategy closes the opposite position and records the closing price as the entry reference.
The stop is set 1.5 ATR from entry, using a 14-period ATR, and five price targets are placed at specified multiples of that stop distance, ranging from 0.7R to 3.5R. Prices are rounded to the instrument's minimum tick, and chart labels and lines display the levels. The document provides source code and input defaults, but no backtest results or performance evidence. It does not show stop or target orders being submitted; the displayed levels should therefore not be assumed to manage exits automatically.
Key ideas
- Long and short entries require a confirmed close crossing the fast EMA in the direction indicated by the slow EMA.
- The stop distance is based on ATR, and five targets are calculated as multiples of that risk distance.
- Entry, stop, and target prices are rounded to the instrument's minimum tick.
- The source shows opposite-position closure and new entries, while stop and target levels are drawn on the chart.
- The document reports no performance results and does not demonstrate automatic stop or target execution.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.