TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Overlapping candle labels: several descriptions can be one event

Study overlapping candle labels: several descriptions can be one event through mechanisms, a synthetic worked case, practice, and explained assessment.

Candlestick Analysis

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Complete candle anatomy, doji and engulfing patterns, and understand set membership.

Mechanism and interpretation

Candle names are not mutually exclusive categories. One candle can have a very small body, a long lower shadow and a close near its high at the same time. A pair can satisfy both a real-body engulfing rule and an outside-range rule. These labels describe different features of the same observations. Counting each label as an independent successful event repeats the same future outcome and overstates the amount of evidence.

Store a stable event key containing the instrument, aggregation policy and ending timestamp. Attach each qualifying label as a Boolean field, together with its numerical features and definition version. Keep the original multi-candle window where needed because two labels ending at the same timestamp can use different lookbacks. A study may compare individual labels, their intersection or their union, but it must state the denominator for each. Requiring several correlated labels does not automatically create several independent confirmations. An intersection requires every selected flag, while a union requires at least one; these select different event populations.

Worked case — synthetic data

A synthetic candle has O=100, H=100.1, L=96 and C=100.05. Its full range is 4.1 and body is 0.05, so body fraction is approximately 1.22%. Its lower shadow is four, approximately 97.56% of the range. Its close location, measured as (close-low)/(high-low), is approximately 98.78%.

Under explicit rules of body fraction at most 5%, lower-shadow fraction at least 80%, and close location at least 90%, all three flags are true. There is still one event endpoint. To illustrate overlap across two candles, consider a previous candle O=100, H=101, L=94, C=95 and current candle O=94.5, H=102, L=93, C=101.5. The current body strictly covers the earlier body, and its full range strictly covers the earlier range. Engulfing and outside-range are two valid labels for that same ending observation.

Context and failure modes

After endpoint deduplication, adjacent events can still share candles or future evaluation horizons. A one-trade-at-a-time strategy may skip a later signal while already holding a position, whereas an event study can retain it with dependence recorded. Those are different questions. Avoid choosing a label priority order after seeing outcomes, because such an order can selectively remove losses. Preserve all raw flags and apply any priority policy as an auditable additional step.

Practice task

For one instrument and aggregation, a doji detector returns endpoints 3, 8 and 11; a long-lower-shadow detector returns 3, 11 and 15; a high-close detector returns 3, 8 and 15. Count label occurrences, unique event endpoints and the endpoints satisfying all three labels. Does deduplication alone establish independent observations?

Worked practice answer

There are nine label occurrences because each of three detectors returns three endpoints. Their union is {3,8,11,15}, so there are four unique event endpoints. The intersection of all three sets is {3}, giving one jointly labeled event. Deduplication removes repeated endpoint counting, but does not remove shared lookbacks, overlapping future horizons or broader temporal dependence between those four events.

Topic assessment

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

1. How many event endpoints does the main single-candle example contain?

  1. Six
  2. One
  3. Three
Reveal answer and explanation

B. Three true feature flags still refer to the same instrument, aggregation and ending timestamp.

2. What is the practice union size?

  1. Nine
  2. One
  3. Four
Reveal answer and explanation

C. Combining the three endpoint sets without duplicates leaves 3, 8, 11 and 15.

3. Why retain the raw label flags before applying priority rules?

  1. So selection and overlap remain auditable
  2. So every label can be counted as a separate trade
  3. So losing endpoints can later be discarded
Reveal answer and explanation

A. Keeping the raw facts separates detection from any subsequent allocation or reporting policy.

Primary references and scope

Original explanation and synthetic calculations. Chart thresholds are explicit research conventions, not exchange rules or proof of predictive ability.