OPEN-SOURCE SCRIPT
CRR - Candlestick Pattern PRO + HUD

Analyze each candlestick in detail:
Calculate:
Body size (bodyPct)
Upper wick (upPct)
Lower wick (lowPct)
Total range of the candlestick.
Detect important candlestick patterns:
Hammer
Inverted Hammer
Doji
Strong Bullish Candle
Strong Bearish Candle
Bullish Engulfing
Bearish Engulfing
Optional: Use the EMA 200 as a trend filter
If useTrend is enabled:
Above the EMA200 → “Trend: Bullish”
Below the EMA200 → “Trend: Bearish”
In between → “Trend: Sideways”
Color and mark the candlesticks:
If useColorCandles is active:
Color the candlestick according to the detected pattern.
If showLabels is active:
Write the name of the pattern above or below the candlestick (Hammer, Doji, Engulfing, etc.).
HUD in the upper right corner:
Name of the current pattern (or “None”).
Bias: bullish reversal, bearish reversal, momentum, indecision, etc.
EMA200 status (trend).
Candlestick body and wick percentages.
Pattern “Strength”: Low / Medium / High.
🧠 In simple terms:
This is a professional candlestick pattern radar, with colors, labels, and a HUD that tells you which pattern is present, what the trend is, and how strong the signal is.
Calculate:
Body size (bodyPct)
Upper wick (upPct)
Lower wick (lowPct)
Total range of the candlestick.
Detect important candlestick patterns:
Hammer
Inverted Hammer
Doji
Strong Bullish Candle
Strong Bearish Candle
Bullish Engulfing
Bearish Engulfing
Optional: Use the EMA 200 as a trend filter
If useTrend is enabled:
Above the EMA200 → “Trend: Bullish”
Below the EMA200 → “Trend: Bearish”
In between → “Trend: Sideways”
Color and mark the candlesticks:
If useColorCandles is active:
Color the candlestick according to the detected pattern.
If showLabels is active:
Write the name of the pattern above or below the candlestick (Hammer, Doji, Engulfing, etc.).
HUD in the upper right corner:
Name of the current pattern (or “None”).
Bias: bullish reversal, bearish reversal, momentum, indecision, etc.
EMA200 status (trend).
Candlestick body and wick percentages.
Pattern “Strength”: Low / Medium / High.
🧠 In simple terms:
This is a professional candlestick pattern radar, with colors, labels, and a HUD that tells you which pattern is present, what the trend is, and how strong the signal is.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。