OPEN-SOURCE SCRIPT

All Candlestick Patterns [theEccentricTrader]

129
█  OVERVIEW


This indicator automatically draws and sends alerts for all of the candlestick patterns in my public library as they occur. Patterns included in this script are listed below, with their conventional classifications (in brackets) for reference only:
  • Doji (Neutral)
  • Bullish Marubozu (Bullish Continuation)
  • Bearish Marubozu (Bearish Continuation)
  • Spinning Top (Neutral)
  • Bullish Belt-Hold Line (Bullish Reversal)
  • Bearish Belt-Hold Line (Bearish Reversal)
  • Bullish Breakaway (Bullish Reversal)
  • Bearish Breakaway (Bearish Reversal)
  • Concealing Baby Swallow (Bullish Reversal)
  • Bullish Counterattack (Bullish Reversal)
  • Bearish Counterattack (Bearish Reversal)
  • Dark Cloud Cover (Bearish Reversal)
  • Long-Legged Doji (Neutral)
  • Southern Doji (Bullish Reversal)
  • Northern Doji (Bearish Reversal)
  • Dumpling Top (Bearish Reversal)
  • Bullish Engulfing (Bullish Reversal)
  • Bearish Engulfing (Bearish Reversal)
  • Frypan Bottom (Bullish Reversal)
  • Hammer (Bullish Reversal)
  • Hanging Man (Bearish Reversal)
  • Bullish Harami (Bullish Reversal)
  • Bearish Harami (Bearish Reversal)
  • Bullish Harami Cross (Bullish Reversal)
  • Bearish Harami Cross (Bearish Reversal)
  • High-Wave (Neutral)
  • Bullish Hikkake (Bullish Reversal)
  • Bearish Hikkake (Bearish Reversal)
  • Homing Pigeon (Bullish Reversal)
  • In-Neck (Bullish Reversal)
  • Bullish Kicking (Bullish Reversal)
  • Bearish Kicking (Bearish Reversal)
  • Matching Low (Bullish Reversal)
  • On-Neck (Bullish Reversal)
  • Piercing (Bullish Reversal)
  • Bullish Separating Lines (Bullish Continuation)
  • Bearish Separating Lines (Bearish Continuation)
  • Upgap Side-by-Side White Lines (Bullish Continuation)
  • Downgap Side-by-Side White Lines (Bearish Continuation)
  • Stalled Pattern (Neutral)
  • Bullish Star (Bullish Reversal)
  • Bearish Star (Bearish Reversal)
  • Bullish Doji Star (Bullish Reversal)
  • Bearish Doji Star (Bearish Reversal)
  • Morning Star (Bullish Reversal)
  • Evening Star (Bearish Reversal)
  • Morning Doji Star (Bullish Reversal)
  • Evening Doji Star (Bearish Reversal)
  • Abandoned Baby Bottom (Bullish Reversal)
  • Abandoned Baby Top (Bearish Reversal)
  • Inverted Hammer (Bullish Reversal)
  • Shooting Star (Bearish Reversal)
  • Dragonfly Doji (Bullish Reversal)
  • Gravestone Doji (Bearish Reversal)
  • Stick Sandwich (Bullish Reversal)
  • Upward Gapping Tasuki (Bullish Continuation)
  • Downward Gapping Tasuki (Bearish Continuation)
  • Three Black Crows (Bearish Reversal)
  • Advance Block (Neutral)
  • Three Advancing White Soldiers (Bullish Reversal)
  • Bullish Three-Line Strike (Bullish Continuation)
  • Bearish Three-Line Strike (Bearish Continuation)
  • Rising Three Methods (Bullish Continuation)
  • Falling Three Methods (Bearish Continuation)
  • Three Stars in the South (Bullish Reversal)
  • Thrusting (Bullish Reversal)
  • Tower Bottom (Bullish Reversal)
  • Tower Top (Bearish Reversal)
  • Tri-Star Bottom (Bullish Reversal)
  • Tri-Star Top (Bearish Reversal)
  • Tweezer Bottom (Bullish Reversal)
  • Tweezer Top (Bearish Reversal)
  • Upside-Gap Two Crows (Bearish Reversal)

█  CONCEPTS


Candlestick Patterns

Candlestick charts originated in Japan and were developed as a way of recording and interpreting price movement in actively traded markets. Rather than focusing only on where price closed, candlesticks preserve information about the range of trading during a given period, showing where prices opened, how far they moved, where they were rejected and where they ultimately settled. In this sense, each candlestick is a compact record of the interaction between buyers and sellers over time.

At a basic level, markets move through a sequence of swing highs and swing lows as supply and demand fluctuates. Candlesticks are the smallest visible components of this process. The size of the candle body reflects the degree of control exercised by buyers or sellers, while the presence and length of wicks reflect rejection, hesitation or absorption of opposing orders. When similar behaviours repeat in similar locations, recognisable patterns emerge.

Candlestick patterns therefore do not represent fixed signals, but recurring expressions of market psychology. They capture moments where initiative changes hands, where momentum pauses or where one side fails to follow through. A pattern that appears during a strong trend may simply reflect temporary consolidation, while the same pattern forming at an extreme or after prolonged movement may indicate exhaustion or transition. Context is always decisive.

Over time, traders have assigned names and classifications to many of these recurring formations. However, these classifications are not universal or permanent. Patterns that were historically described as reversals are sometimes better understood as continuation structures and patterns labelled as bullish or bearish can have very different implications depending on market, timeframe, volatility and surrounding structure. As with all forms of price analysis, interpretation matters more than memorisation.

Candlestick patterns should therefore be viewed as descriptive tools rather than predictive rules. They provide insight into how price reached its current state and how supply and demand interacted along the way. Their usefulness lies in how they are combined with broader market structure, risk management and independent testing, not in the assumption that any single pattern guarantees a particular outcome.


█  INPUTS
  • Change label colours and size.
  • Set alerts for individual patterns.

█  SOURCES


Homma, M. (c. 1755) The Fountain of Gold: The Three Monkey Record of Money. Attributed Japanese trading manuscript. Modern English translation (Apple Books).

Nison, S. (2001) Japanese Candlestick Charting Techniques (2nd edn). New York: New York Institute of Finance.

Bulkowski, T. N. (2008) Encyclopedia of Candlestick Charts. Hoboken, New Jersey: John Wiley & Sons.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.