Skip to content
All library documents

Gold One-Minute Heikin-Ashi Trend Signals with ATR Trailing Exits

Article Strategy library · Author: Ashleysantiago98

Summary

This one-minute gold strategy uses Heikin-Ashi-style price inputs, candle strength, a 20-period simple moving average, and ATR to filter entries. It enters long when price is above the average and the candle body is strong, or short when price is below the average and the candle is strongly bearish. Both directions also require a five-bar cooldown, no detected consolidation, and the ATR filter to pass. The script allocates 10% of equity per trade.

Positions are closed when price moves 0.8 ATR against the best Heikin-Ashi high or low recorded since entry. The document provides Pine Script logic, but no backtest results or performance evidence. Its claimed gold focus and one-minute timeframe are stated in the title and description; the code uses the chart’s current timeframe. The volatility condition compares ATR with 1.2 times that same ATR, so for positive ATR it does not filter volatility. The price inputs are also derived from ordinary OHLC values rather than a standard recursive Heikin-Ashi calculation, which may affect how the stated method behaves.

Key ideas

  • The strategy uses a 20-period average to define the directional trend for entries.
  • A candle body must exceed 0.4 ATR to qualify as strong.
  • Entries are blocked during detected consolidation and for five bars after the prior entry.
  • Exits trail the best price since entry by 0.8 ATR.
  • The document provides strategy code but no evidence from reported performance testing.

Tags

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