🪙
 Get student discount & enjoy best sellers ~$7/week

Shooting Star

The Shooting Star candlestick pattern is a renowned bearish reversal signal, recognized by traders across global markets for its reliability in forecasting potential market tops and trend reversals. This comprehensive guide explores the Shooting Star in depth, from its historical roots to advanced trading strategies, Code example, and practical applications for both novice and seasoned traders.

Introduction

The Shooting Star is a single-candle pattern that signals a potential reversal after an uptrend. Its unique structure and psychological implications make it a favorite among technical analysts. Candlestick charting originated in 18th-century Japan, pioneered by rice trader Munehisa Homma. Over centuries, these patterns have become integral to modern trading strategies, offering visual cues about market sentiment and potential price movements. The Shooting Star stands out for its reliability in identifying exhaustion in bullish trends, making it crucial for traders seeking to capitalize on reversals.

What is the Shooting Star Candlestick Pattern?

The Shooting Star is a bearish reversal candlestick pattern that appears after an uptrend. It is characterized by a small real body near the candle's low, a long upper shadow (wick), and little to no lower shadow. The pattern visually resembles a star falling from the sky, hence its name. Its appearance signals that buyers pushed prices higher during the session, but sellers regained control, driving the price back down near the open. This shift in momentum often precedes a downward price movement.

Historical Background and Origin

Candlestick charting traces its roots to 18th-century Japan, where Munehisa Homma, a legendary rice trader, developed the technique to analyze rice prices. Homma's insights into market psychology and price action laid the foundation for modern candlestick analysis. The Shooting Star, along with other patterns, was later popularized in the West by Steve Nison in his seminal works on candlestick charting. Today, the Shooting Star is a staple in technical analysis, used by traders worldwide to anticipate market reversals.

Structure and Anatomy of the Shooting Star

The Shooting Star's anatomy is distinct and easy to recognize:

  • Small Real Body: Located near the candle's low, indicating minimal difference between open and close prices.
  • Long Upper Shadow: At least twice the length of the real body, showing that buyers pushed prices higher but failed to maintain those levels.
  • Little or No Lower Shadow: Suggests that sellers dominated the session's close.

The color of the real body (bullish or bearish) adds nuance. A bearish-colored body (close below open) is considered stronger, but even a bullish-colored body can signal reversal if the upper wick is dominant.

Psychology Behind the Pattern

The Shooting Star reflects a shift in market sentiment. Bulls drive the price higher, but bears push it back down, signaling potential exhaustion. Retail traders may see the upper wick as a failed breakout, while institutional traders recognize it as a sign of distribution. The emotions at play include greed (initial rally), fear (sharp reversal), and uncertainty (small body).

Formation and Identification

To identify a Shooting Star, follow these steps:

  1. Ensure an established uptrend is present.
  2. Spot a candle with a small body near the low and a long upper wick (at least twice the body height).
  3. Confirm with subsequent bearish price action for higher reliability.

Volume analysis can further validate the pattern. A Shooting Star accompanied by high volume suggests stronger conviction among sellers.

Types and Variations

The Shooting Star belongs to the family of single-candle reversal patterns, related to the Inverted Hammer (bullish reversal in downtrend). Variations include:

  • Strong Signal: Long upper wick, small/black body, appears after extended uptrend.
  • Weak Signal: Shorter wick, larger body, appears in choppy markets.
  • False Signals: Occur in sideways markets or when volume is low, leading to potential traps.

Real-World Examples and Chart Analysis

Uptrend: The pattern is most reliable after a sustained rally, signaling a potential top.
Downtrend: Rarely forms, but when it does, it may indicate a pause rather than reversal.
Sideways Market: Less effective, prone to false signals.
Timeframes: On 1-minute charts, Shooting Stars are frequent but less reliable. On daily/weekly charts, they carry more weight due to higher participation and volume.

Practical Applications and Trading Strategies

Traders use the Shooting Star for timing entries and exits. A common strategy is to enter a short position after confirmation (e.g., next candle closes lower). Stop-loss is typically placed above the high of the Shooting Star. Combining with indicators like RSI or moving averages increases reliability.

Step-by-Step Guide

  1. Wait for a Shooting Star to form after an uptrend.
  2. Confirm with bearish follow-through or indicator divergence.
  3. Enter short on confirmation.
  4. Set stop-loss above the pattern's high.
  5. Target recent support or use risk/reward ratio.

Backtesting and Reliability

Backtesting reveals that the Shooting Star has higher success rates in stocks and commodities compared to forex and crypto, where volatility can lead to more false signals. Institutions often use the pattern in conjunction with order flow analysis. Common pitfalls include over-reliance on the pattern without confirmation and ignoring market context.

Case Studies

Historical Chart: In 2008, crude oil futures formed a Shooting Star at all-time highs, preceding a major reversal.
Recent Example: Ethereum (ETH) printed a Shooting Star on the daily chart in May 2021, signaling the end of a parabolic rally.

Comparison Table

PatternSignalStrengthReliability
Shooting StarBearish ReversalHigh (after uptrend)Moderate-High
Evening StarBearish ReversalVery HighHigh
Inverted HammerBullish ReversalMediumModerate

Checklist and Common Mistakes

  • Checklist:
    • Is there a clear uptrend?
    • Does the candle have a small body and long upper wick?
    • Is there confirmation from volume or indicators?
  • Risk/Reward: Aim for at least 2:1 ratio. Place stop-loss above the wick.
  • Common Mistakes: Trading without confirmation, ignoring market context, using on low timeframes.

Algorithmic Detection and Coding Examples

Algorithmic trading systems often code Shooting Star detection for automated strategies. Below are real-world code examples for detecting the Shooting Star pattern in various programming languages:

// C++ Example: Shooting Star Detection
#include <iostream>
bool isShootingStar(double open, double high, double low, double close) {
    double body = std::abs(close - open);
    double upperWick = high - std::max(open, close);
    double lowerWick = std::min(open, close) - low;
    return (upperWick >= 2 * body) && (lowerWick <= 0.3 * body) && (close <= open);
}
# Python Example: Shooting Star Detection
def is_shooting_star(open_, high, low, close):
    body = abs(close - open_)
    upper_wick = high - max(open_, close)
    lower_wick = min(open_, close) - low
    return upper_wick >= 2 * body and lower_wick <= 0.3 * body and close <= open_
// Node.js Example: Shooting Star Detection
function isShootingStar(open, high, low, close) {
  const body = Math.abs(close - open);
  const upperWick = high - Math.max(open, close);
  const lowerWick = Math.min(open, close) - low;
  return upperWick >= 2 * body && lowerWick <= 0.3 * body && close <= open;
}
// Pine Script Example: Shooting Star Detection
//@version=5
indicator("Shooting Star Detector", overlay=true)
body = math.abs(close - open)
upper_wick = high - math.max(close, open)
lower_wick = math.min(close, open) - low
is_shooting_star = upper_wick >= 2 * body and lower_wick <= body * 0.3 and close <= open
plotshape(is_shooting_star, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Shooting Star")
// MetaTrader 5 Example: Shooting Star Detection
bool isShootingStar(double open, double high, double low, double close) {
   double body = MathAbs(close - open);
   double upperWick = high - MathMax(open, close);
   double lowerWick = MathMin(open, close) - low;
   return (upperWick >= 2 * body) && (lowerWick <= 0.3 * body) && (close <= open);
}

Advanced Insights and Institutional Use

Machine learning models can classify candlestick patterns, improving recognition accuracy. In Wyckoff and Smart Money Concepts, the Shooting Star aligns with distribution phases, where large players offload positions to late buyers. Institutions often combine the Shooting Star with order flow and volume analysis for higher precision.

Conclusion

The Shooting Star is a reliable bearish reversal pattern when used in the right context. It is most effective after strong uptrends and when confirmed by other signals. Traders should avoid using it in isolation and always consider broader market conditions. With proper risk management, the Shooting Star can be a valuable addition to any trading strategy.

Explaining the Code Base

The provided code examples demonstrate how to detect the Shooting Star pattern programmatically. Each implementation calculates the candle's body, upper wick, and lower wick, then applies the classic Shooting Star criteria: a long upper wick (at least twice the body), a small or nonexistent lower wick, and a close at or below the open. When these conditions are met, the pattern is flagged, enabling traders and algorithms to act on potential reversal signals efficiently.

Frequently Asked Questions about Shooting Star

What is a Shooting Star in Pine Script?

A Shooting Star is a type of candlestick pattern that appears on a chart and can be used as a signal for trading.

It consists of a small body followed by a long wick, which is the opposite color of the body.

How do I identify a Shooting Star in Pine Script?

  • The pattern should have a small body with a low or open price.
  • There should be a long wick that extends to the opposite side of the chart.
  • The wick should be longer than the body, and its color should be the opposite of the body's color.

What is the trading strategy behind a Shooting Star?

A Shooting Star can be used as a bearish signal, indicating that a price reversal may occur.

When a Shooting Star appears, it suggests that the market has reached a resistance level and may soon drop in value.

How do I use a Shooting Star in Pine Script for trading?

To use a Shooting Star as a trading signal, you can set up a Pine Script strategy that detects this pattern and then enters a sell position when it appears.

It's also essential to consider other technical indicators and market analysis before making any trades.

Can I use the Shooting Star in combination with other patterns?

  • The Shooting Star can be used in conjunction with other candlestick patterns, such as a Hammer or Inverse Head and Shoulders.
  • Combining multiple patterns can increase the accuracy of your trading signals and improve your overall market analysis.



How to post a request?

Posting a request is easy. Get Matched with experts within 5 minutes

  • 1:1 Live Session: $60/hour
  • MVP Development / Code Reviews: $200 budget
  • Bot Development: $400 per bot
  • Portfolio Optimization: $300 per portfolio
  • Custom Trading Strategy: $99 per strategy
  • Custom AI Agents: Starting at $100 per agent
Professional Services: Trading Debugging $60/hr, MVP Development $200, AI Trading Bot $400, Portfolio Optimization $300, Trading Strategy $99, Custom AI Agent $100. Contact for expert help.
⭐⭐⭐ 500+ Clients Helped | 💯 100% Satisfaction Rate


Was this content helpful?

Help us improve this article