# Candle between the 20 and 50 — NSE scan

> The whole candle body sits under the 20-day average and above the 50-day, with the 50 above the 200. A pullback that has broken nothing.

Canonical: https://patternsradar.com/screener/pullback-between-averages

```sift
where greatest(open, close) < sma(20)
  and least(open, close) > sma(50)
  and sma(50) > sma(200)
```

Most pullback scans compare the close to an average, which lets a candle that pierced the 50-day intraday and recovered sneak through. Using `greatest(open, close)` and `least(open, close)` asks about the whole body. It opened and closed under the 20-day, and opened and closed above the 50-day. With the 50 above the 200 as the trend filter, what comes back is a stock that has pulled back into the band between its two averages without any part of the session breaking the lower one.

Category: [Reversals](https://patternsradar.com/scans/reversals.md). Default universe: top 500 by 20-day turnover.

Guides: [Scanning the candle body, not the close](https://patternsradar.com/blog/scanning-the-candle-body-not-the-close.md).

More reversals: [RSI oversold turning up](https://patternsradar.com/screener/rsi-oversold-turn.md), [RSI overbought](https://patternsradar.com/screener/rsi-overbought.md), [Golden cross](https://patternsradar.com/screener/golden-cross.md), [Death cross](https://patternsradar.com/screener/death-cross.md), [MACD bullish crossover](https://patternsradar.com/screener/macd-bullish-cross.md).

The rendered page runs this scan against the latest session and can replay it across the last 250 sessions to measure its hit rate: https://patternsradar.com/screener/pullback-between-averages.

---

Price and delivery data from the [eod2](https://github.com/BennyThadikaran/eod2) dataset: National Stock Exchange of India end-of-day files, split- and bonus-adjusted, updated after each close. Not affiliated with or endorsed by NSE. PatternsRadar is a research tool. Nothing here is investment advice or a recommendation to buy or sell anything.
