Skip to content
All library documents

EMA Trend Entries with ATR Stops and Five Risk-Multiple Targets for Gold

Article TradingView scripts

Summary

This XAU/USD strategy combines a fast and slow EMA with a close crossing the fast EMA to generate confirmed long or short signals in the direction of the broader EMA trend. At entry, it rounds the closing price to the instrument tick, places a stop a configurable ATR distance away, and derives five profit targets from multiples of the initial risk. The strategy submits partial exit orders at each target, dividing the position evenly across the five levels, while the chart shows entry, stop, target lines, and labels. Alerts announce the signal and entry and stop prices.

The source identifies short intraday chart intervals as its intended use and describes the target levels as progressively more ambitious. However, the document provides no performance statistics, market-by-market validation, or comparison against alternatives. The plotted target hierarchy and voice alerts do not establish predictive value, and the code’s order logic should be checked in the relevant TradingView simulation and execution setup. The targets are defined from entry risk, while the stop is ATR-based; neither feature alone establishes suitable position sizing or realized risk.

Key ideas

  • Long and short signals require price to cross the fast EMA while the fast and slow EMAs agree on direction.
  • The stop distance is based on ATR, adapting its price level to recent volatility.
  • Five profit targets are calculated as multiples of the entry-to-stop risk distance.
  • The position is assigned equal partial exits at the five targets, and the chart marks the planned levels.
  • The provided description gives no evidence of profitability or validation across instruments and conditions.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.