CandlestickMetaTrader 5 • MQL5

Hammer & Shooting Star Indicator for MetaTrader 5

Detect hammer and shooting star reversal patterns with alerts

Generate this indicator for free

Get production-ready MQL5 code in seconds — no coding required

Generate Free

About This Indicator

The Hammer and Shooting Star are classic single-candle reversal patterns. This indicator identifies Hammers at the bottom of downtrends (bullish) and Shooting Stars at the top of uptrends (bearish), with configurable filters for quality signals.

Key Features

  • Detects Hammer (bullish) and Shooting Star (bearish)
  • Trend context filter for higher quality signals
  • Configurable wick-to-body ratio
  • Alert on valid pattern formation
  • Label text on chart at signal bars

Frequently Asked Questions

Is a Hammer the same as a Pin Bar?

Yes - a Pin Bar is the general term. A Hammer is a bullish pin bar at support, and a Shooting Star is a bearish pin bar at resistance.

Ready to generate your Hammer & Shooting Star?

Free for your first 5 indicators. No credit card required.

Generate Hammer & Shooting Star — Free