TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Causal day-type classification

Distinguish final descriptive labels from live provisional states.

0%

What you will learn

Prerequisites: Developing initial balance, overlap and range-extension features.

Mechanism and decision rules

A final day type is a description of the completed session. A live classifier must instead use developing features and produce a provisional state that can change. Possible inputs include extension so far, recent bracket overlap, distance from the initial-balance midpoint and elapsed session time. Their definitions and thresholds must be fixed before evaluation.

Keep the classifier output at every timestamp, including wrong or unstable states. If a morning trend candidate later becomes rotational, that transition is part of the model’s behavior. Replacing earlier outputs with the final correct label leaks hindsight. Evaluate usefulness through the actual decisions it would enable, not merely its agreement with a visually assigned final category.

Worked example · synthetic data

A synthetic classifier at 11:00 labels an upward-trend candidate when upper extension exceeds one initial-balance width, no lower extension has occurred and the last two completed blocks have overlap below 30%. Suppose all conditions pass. At 13:00, price returns through the initial balance and later extends below it, so the provisional state changes.

A strategy using the 11:00 state must retain the subsequent loss or exit outcome. It cannot remove the trade by calling the whole day neutral after the close. The classifier was a decision-time hypothesis, not a promise about the final distribution.

Failure modes and limits

Thresholds can overfit the same sessions used for evaluation. Final human labels can be inconsistent, making accuracy statistics ambiguous. A classifier may be accurate but economically useless after costs or confirmation delay. Include an uncertain state instead of forcing every observation into a confident category.

Practice case

A rule uses “final close in the top 10% of the day’s range” to classify a trend day at 10:30. Identify two unavailable inputs and propose the form of a causal alternative.

Reveal the worked answer

The final close and final full-day range are unavailable at 10:30. A causal alternative could use the latest completed close’s location within the range observed so far, with explicitly provisional labels. It is a different feature and must be tested on its own results.

Check your understanding

What should happen to an 11:00 label when the final day differs?


Explanation

Historical decision records must retain what the system actually knew and inferred.

Can a final-close feature classify a day causally in the morning?


Explanation

The required final observation has not yet occurred.

Why allow an uncertain classifier state?


Explanation

An explicit unclassified state avoids forcing ambiguous evidence into a false certainty.

Sources and next steps

The lesson, calculations and synthetic cases are original educational material. References explain underlying contract or chart conventions; none validates the profitability of a trading rule. Actual contract specifications, settlement obligations and charges must be checked before trading.

Explore OHLCV data in the chart lab · Explore volume-at-price and TPO data · Practice library