TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Pin bars, hammers and shooting stars

Measure body and wick proportions without relying on visual labels.

Learning objectives

  • Measure body and wick proportions without relying on visual labels.
  • Separate candle geometry from trend context.

Prerequisites: Read open, high, low and close, including equal open and close.

Mechanism and interpretation

Define body=|C−O|, upper wick=H−max(O, C), lower wick=min(O, C)−L, and range=H−L. These pieces sum to the range. A long-lower-wick detector can require lower wick at least twice body and close location in the upper third of a positive range. This is an explicit research definition; charting texts and platforms use different thresholds.

Pattern names also encode context. Similar geometry after a decline may be called a hammer, while after a rise it may receive a different interpretation. Define the preceding trend with information available before the candle. A wick shows an observed extreme and a return within the interval, not the number or motives of participants. A zero body makes wick/body division undefined, so use inequalities or a separate doji state.

Worked case · synthetic data

Synthetic O=104, H=105, L=96, C=105 gives body 1, upper wick 0, lower wick 8 and range 9. Close location=(105−96)/9=1. The lower wick exceeds twice the body and the close is in the upper third. If prior closes were 106,104,102, this fits a declining-context test only if that exact rule was selected beforehand; the candle alone does not establish the preceding trend.

A long lower wick:measure before namingH=C=105O=104L=96Lower wick8Body1
Candle geometry from four prices. O=104, H=105, L=96, C=105. Body 1, lower wick 8, upper wick 0; geometry alone does not establish trend context. Original synthetic illustration; no market observations are represented.

Failure modes and context

A thinly traded price spike or a bad print can create a long wick. Intrabar buying at the final low assumes hindsight. When body is one tick, large wick/body ratios can arise from modest absolute movement. Inspect the range relative to normal volatility and transaction costs, and avoid assuming every qualifying shape will reverse.

Practice assignment

For O=200, H=204, L=190, C=202, calculate all components and close location. Test lower wick≥2×body and close location≥2/3. Repeat the logical test if C=200, explaining why a direct wick/body ratio is problematic in the second case.

Worked answer

First body=2, upper wick=2, lower wick=10 and range 14; close location=12/14≈0.857. Both conditions pass. With C=O=200, body=0, lower wick 10 and close location 10/14≈0.714, so the inequalities still pass, but it should be tagged as a zero-body case. Dividing by zero is not a meaningful strength score.

Check your understanding

Question 1

What is lower wick for O=200, C=202, L=190?

  1. 14
  2. 10
  3. 12
Reveal answer and reasoning

B. 10

The lower body edge is min(200,202)=200; subtract 190.

Question 2

Does candle geometry establish the prior trend?

  1. No
  2. Yes
  3. Only when the candle closes green
Reveal answer and reasoning

A. No

Trend context requires separate earlier observations.

Question 3

What should happen when body equals zero?

  1. Report infinite predictive strength
  2. Delete the low
  3. Use a declared doji policy or inequality rule
Reveal answer and reasoning

C. Use a declared doji policy or inequality rule

A ratio with zero denominator is undefined and needs explicit handling.

Sources and further reading

The explanations, operational rules, numerical cases and questions on this page are original TradeViora Academy educational material. Source documents support definitions or conventions; they do not establish the profitability of an illustrated rule.

Third-party rights remain with their owners. TradeViora Academy is not affiliated with these organizations. Examples are hypothetical and exclude real orders. Source review: 26 November 2026.

Continue learning

Open related learning tools · Practice library · Learning downloads