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. קרא עוד ב־תנאי השימוש.