OPEN-SOURCE SCRIPT
Candlestick toolkit (Candle Over Candle)

Candlestick pattern toolkit focused on reading price action via candle anatomy, body dynamics, and a specific 2-bar continuation/reversal pattern.
This indicator highlights:
Long upper and lower wicks (“topping” and “bottoming” tails) that can signal exhaustion or potential reversal.
Large bullish bodies relative to Average True Range (ATR), showing strong momentum.
Sequences of large green candles.
Runs of green candles with strictly increasing or strictly decreasing body size, to visualize acceleration vs. momentum fade.
A two-candle pattern:
“Candle over Candle” (CoC) for long bias: two bullish bars where the first has a small upper wick and the second has a modest lower wick (a brief dip then push higher).
Optional mirrored “Candle under Candle” (CuC) for short bias.
The script labels:
Topping/Bottoming tails (TT/BT).
Large-green sequences and increasing/decreasing bodies (N×LG, ↑B, ↓B).
CoC/CuC pattern bars as “PRE” and the actual breakout bars as “GO”.
While a pattern is “live,” a reference line marks the trigger level (pattern high for longs, pattern low for shorts).
Inputs let you:
Tune wick and body percentage thresholds for tail detection.
Adjust ATR length and the multiplier that defines a “large” body.
Change how many candles are required for large-green sequences and body size trends.
Configure the two-candle pattern (maximum wick sizes, whether a small dip is required, confirmation within N bars).
Choose confirmation mode: close-through the trigger or intrabar wick break.
Enable or disable the short (CuC) side.
Control visual features (tail markers, sequence markers, pattern labels, and background shading on pattern bars).
Typical use:
Apply on intraday or swing timeframes.
Use tails and body behavior to read strength/weakness and potential exhaustion.
Treat CoC/CuC PRE labels as pattern formation, and GO labels as potential trade triggers above/below the pattern.
Combine with your own filters (trend, volume, higher-timeframe levels) rather than using it as a standalone signal generator.
This indicator highlights:
Long upper and lower wicks (“topping” and “bottoming” tails) that can signal exhaustion or potential reversal.
Large bullish bodies relative to Average True Range (ATR), showing strong momentum.
Sequences of large green candles.
Runs of green candles with strictly increasing or strictly decreasing body size, to visualize acceleration vs. momentum fade.
A two-candle pattern:
“Candle over Candle” (CoC) for long bias: two bullish bars where the first has a small upper wick and the second has a modest lower wick (a brief dip then push higher).
Optional mirrored “Candle under Candle” (CuC) for short bias.
The script labels:
Topping/Bottoming tails (TT/BT).
Large-green sequences and increasing/decreasing bodies (N×LG, ↑B, ↓B).
CoC/CuC pattern bars as “PRE” and the actual breakout bars as “GO”.
While a pattern is “live,” a reference line marks the trigger level (pattern high for longs, pattern low for shorts).
Inputs let you:
Tune wick and body percentage thresholds for tail detection.
Adjust ATR length and the multiplier that defines a “large” body.
Change how many candles are required for large-green sequences and body size trends.
Configure the two-candle pattern (maximum wick sizes, whether a small dip is required, confirmation within N bars).
Choose confirmation mode: close-through the trigger or intrabar wick break.
Enable or disable the short (CuC) side.
Control visual features (tail markers, sequence markers, pattern labels, and background shading on pattern bars).
Typical use:
Apply on intraday or swing timeframes.
Use tails and body behavior to read strength/weakness and potential exhaustion.
Treat CoC/CuC PRE labels as pattern formation, and GO labels as potential trade triggers above/below the pattern.
Combine with your own filters (trend, volume, higher-timeframe levels) rather than using it as a standalone signal generator.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Dr. Trader MD PhD
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Dr. Trader MD PhD
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.