Skip to content
TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu
All courses
Candlestick Analysis / Lesson 04

Doji

A doji has an open and close near each other relative to its full range.

Free lesson · Module 02 · 4/31
01 / Core concept

Core concept: Doji

A doji has an open and close near each other relative to its full range.

How it works

A doji is relative to its own range and the instrument's tick size. A rule such as body ≤ 10% of range avoids subjective labels; reject zero-range bars when computing the ratio. A long-legged doji and a narrow doji can convey very different volatility.

02 / Worked example

Worked example: Doji

O=100 H=105 L=95 C=100.1 has a tiny body.

H 105L 95O 100C 100.1

Original illustration · synthetic OHLC values

Try it yourself: O=100, C=100.1, H=105, L=95: what share of the range is the body?

Explanation: 1%; the small net change coexists with a 10-point intrabar range.

03 / Risk and limitations

Limitations and common mistakes

Indecision is not automatically a reversal.

Separate the observation from the trading decision. Test the rule with realistic execution and costs; a hypothetical example is not evidence of a profitable strategy.

Explore interactive trading tools
04 / Knowledge check

Which statement is accurate?

Choose an answer.

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Know body fraction and the difference between open and prior close.

  • Set an open-close tolerance
  • Distinguish balance from inactivity
  • Locate a doji within its range

Mechanism and interpretation

A doji describes a small open-to-close difference under a chosen tolerance. It does not require a small high-low range. A wide-range doji can contain a substantial excursion that returns toward the open, while a narrow doji can reflect very little movement. Define both body/range and minimum range if your research depends on meaningful movement. The candle's location after a trend or inside a range changes the question worth testing.

Worked case — synthetic data

Synthetic bar A is O=100, H=108, L=92, C=100.2. Body/range is 0.2/16 = 1.25%. Bar B is O=100, H=100.3, L=99.8, C=100.1, giving 20%. With a 5% body/range rule, only A qualifies even though B's absolute body is smaller. The threshold makes the label a relative shape, not simply a small currency difference.

Context and failure modes

A one-tick instrument and a high-priced instrument need different absolute tolerances. Do not call every doji a reversal; in continuous consolidation it may merely restate the existing overlap.

Practice task

Test O=200, H=204, L=196, C=200.4 against a body fraction at most 5%. State how equality is handled.

Worked practice answer

Body is 0.4 and range 8, so the fraction is 5%. It qualifies under an inclusive “at most” rule. A strict “less than” rule would reject it.

Topic assessment

Choose an answer before opening each explanation. These questions test the specific mechanism in this lesson.

1. Can a doji have a large range?

  1. Only if volume is zero
  2. Yes; endpoints can be close despite distant extrema
  3. No; a doji has no high or low
Reveal answer and explanation

B. Open-close similarity does not constrain the distance between high and low.

2. What must a numerical doji rule specify?

  1. The trader's preferred colour
  2. A guaranteed target
  3. The tolerance and boundary treatment
Reveal answer and explanation

C. Explicit tolerances prevent inconsistent labels near the threshold.

3. Which inference exceeds the available evidence?

  1. A doji proves the next bar will reverse
  2. The open and close are relatively close
  3. The candle may contain substantial intrabar movement
Reveal answer and explanation

A. The pattern describes the completed bar, not a certain future direction.

Further reading

Original TradeViora Academy explanation and hypothetical example. See the primary-reference scope below. External resources do not endorse or independently verify this lesson.

Continue learning

Updated 26 November 2026 · Educational edition · Independent editorial review pending.

Explore market charts

Inspect actual provider-hosted market prices or load your own historical OHLCV in the Market Chart Lab. For volume-at-price and bid/ask analysis, use the profile workbench with appropriate data. These are exploration tools, not verified historical examples of this specific lesson.

Source scope

The explanations, definitions used for chart labels, synthetic cases, and exercises above are original. Exchange documentation is a reference for order mechanics; it does not validate a chart strategy or identify trader intent. Indicator documentation provides formula context where applicable.