OPEN-SOURCE SCRIPT
Doji Signals with Wick Color

This indicator identifies Doji candlestick patterns on the chart and highlights both the candle body and wicks in yellow for better visibility.
A Doji is defined as a candle where the body size is relatively small compared to the full range (high - low), indicating market indecision. You can adjust the maximum allowed body size as a percentage of the total candle range using the "Doji's Max Body Size" input.
The indicator works by:
Calculating the body size (abs(open - close))
Comparing it to a threshold (precision * (high - low))
Highlighting candles that meet the condition as Doji, coloring both the body and wick in yellow
This visual aid helps traders quickly spot potential reversal or pause areas in price action based on candlestick psychology.
A Doji is defined as a candle where the body size is relatively small compared to the full range (high - low), indicating market indecision. You can adjust the maximum allowed body size as a percentage of the total candle range using the "Doji's Max Body Size" input.
The indicator works by:
Calculating the body size (abs(open - close))
Comparing it to a threshold (precision * (high - low))
Highlighting candles that meet the condition as Doji, coloring both the body and wick in yellow
This visual aid helps traders quickly spot potential reversal or pause areas in price action based on candlestick psychology.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.