Pattern·Spec
Dashboard

Twelve candlestick reversals — as implemented

The scanner follows the read-back specification, not the textbook.

The sequence

  1. Trend — ≥15 calendar days on the daily; pattern sits at the extreme (least-squares slope + high/low check).
  2. Pattern — one of the twelve, on the selected timeframe.
  3. Confirmation candle (CC) — the very next candle; green for bullish, red for bearish. Colour mandatory.
  4. Trigger — any later candle breaking CC's high (buy) or low (sell) after the 0.5% buffer.
  5. Invalidation — pattern extreme breaking before trigger kills the setup.

Levels (user-refined from the original spec)

Original spec was buffered on entry too, with RR 1:1.5. Current build removes the entry buffer (so entries fire exactly at the pattern breakout) and tightens RR to 1:1.25.

Statuses in the table

Data

All candles come from Dhan HQ API v2 (/v2/charts/historical for daily, /v2/charts/intraday for 1/5/15/25/60 min). The scrip master is the detailed CSV from Dhan; the scanner filters NSE cash equities, F&O-eligible underlyings and major indices only. Daily candles are cached to disk per trading day; re-scans are near-instant.