Skip to content
All library documents

Doji Reversals at ATR-Based Supply and Demand Zones

Article TradingView scripts

Summary

This Forex strategy combines swing-based supply and demand zones with doji candles to identify potential reversals. Zones are centered on confirmed pivot highs or lows, sized using ATR, and managed with settings for duplicate removal, expiry, broken boundaries, and retest counts. A doji must meet configurable body and range criteria and occur near a zone; optional filters assess wick rejection, approach strength, fresh touches, trend, and higher-timeframe conditions.

The script can trade long or short, with stops placed beyond the doji and a configurable reward-to-risk target. Position size can be fixed or based on a percentage of equity, with quantity floors and caps. It also includes visual flags and diagnostics to show why a candidate signal was rejected. The document provides implementation details and adjustable parameters, but no reported backtest results or evidence of profitability. Performance will depend on market, timeframe, data quality, and settings; pivot confirmation and the many optional filters can also affect signal timing and frequency.

Key ideas

  • The strategy builds ATR-sized supply and demand zones around swing pivots.
  • Doji candidates are filtered by candle shape, range, proximity to a zone, and optional rejection criteria.
  • Trend, higher-timeframe bias, zone strength, and retest quality can be used to gate trades.
  • Stops sit beyond the signal candle, while targets use a configurable reward-to-risk multiple.
  • The source provides configurable rules but no performance evidence or profitability results.

Tags

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