OPEN-SOURCE SCRIPT

Doji & wick Detector

179
Doji Detector Simple and clean Doji candle identifier.This indicator detects Doji candles based on the ratio between the real body and the full candle range. A Doji is plotted when the body is very small relative to the high-low range, signaling market indecision.Features:Accurate Doji detection with protection against division by zero
Clear gray × marker on qualifying candles
Optional background highlight for easy visual scanning
Fully customizable via inputs (Doji threshold, highlight option, etc.)

How it works:A candle is considered a Doji when:
Real Body / Candle Range ≤ Doji ThresholdDefault threshold is typically low (e.g. 0.1–0.2) to catch strong indecision candles.Ideal for:Reversal pattern confirmation
Support & Resistance zones
Price action trading strategies
Combining with other indicators (RSI, Volume, EMA, etc.)

Tip: Lower the Doji threshold for stricter (narrower body) detection.

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。