TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Validating a pattern with candidates, failures and costs

Study validating a pattern with candidates, failures and costs through mechanisms, a synthetic worked case, practice, and explained assessment.

Chart Patterns

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Understand candidate rules, breakout confirmation, entry timing and R-multiple outcomes.

Mechanism and interpretation

A pattern study begins with a complete event definition, not a collection of successful screenshots. Specify the instrument universe, data period, timeframe, pivot method, candidate geometry, expiration, confirmation, entry, exit and cost model. Store every candidate, including those that expire, fail geometry, never fill or complete in the opposite direction. These records show how the final trade sample was selected.

Use different fields for candidate status, pattern outcome and executed-trade result. A candidate that never confirms is not automatically a losing trade if the strategy never enters. Conversely, a stopped-out trade cannot be erased because its old pattern later reaches a projection. The denominator must match the question: wins divided by executed trades estimates the sample's trade win fraction, while executions divided by candidates measures conversion from detected opportunities. Overlapping patterns and repeated attempts should carry group identifiers because they may share the same underlying price movement.

Worked case — synthetic data

A synthetic detector finds 80 candidates. Thirty confirm and are filled under the stated execution model; 50 expire without entry. Among the 30 trades, 18 win 2R and 12 lose 1R before a flat 0.15R cost per trade. Gross result is 36R-12R = 24R. Total costs are 4.5R, leaving 19.5R net and mean net result 0.65R per executed trade. The trade win fraction is 18/30 = 60%, while candidate-to-trade conversion is 30/80 = 37.5%.

These figures are arithmetic for an invented dataset, not performance evidence. Changing the cost assumption, permitting overlapping positions or limiting available capital would produce a different simulation. A study should reserve later data for evaluation after earlier data are used to choose rules, and it should keep all tried variants visible rather than reporting only the best historical configuration.

Context and failure modes

OHLC bars can be insufficient to know whether a stop or target occurred first when both lie within one bar. Use finer data, report ambiguity or apply a predeclared conservative rule. Include spread, slippage, financing and relevant charges consistently. A large number of nearly identical parameter trials can create a favorable backtest by chance, and temporal dependence can make the effective sample smaller than the trade count.

Practice task

A study has 120 candidates and 40 executed trades. Twenty-two trades win an average 1.4R, 18 lose 1R, and every trade incurs 0.1R cost. Calculate net total R, mean net R per trade, trade win fraction and candidate-to-trade conversion.

Worked practice answer

Gross gains are 22 x 1.4 = 30.8R and gross losses are 18R, leaving 12.8R before costs. Costs are 4R, so net result is 8.8R and mean is 0.22R per trade. Win fraction is 22/40 = 55%. Conversion is 40/120 = 33.33%. These denominators measure different aspects of the same explicitly synthetic study.

Topic assessment

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

1. Which denominator gives the main case's trade win fraction?

  1. All 80 candidates
  2. Only the 18 winners
  3. The 30 executed trades
Reveal answer and explanation

C. Win fraction among executed trades uses every executed outcome, while candidate conversion uses a different denominator.

2. What is the main case's net total after costs?

  1. 19.5R
  2. 24R
  3. 36R
Reveal answer and explanation

A. Subtract 30 x 0.15R of costs from the 24R gross result.

3. What should be done when one OHLC bar contains both stop and target?

  1. Delete the trade only if it would lose
  2. Apply a declared ambiguity policy or obtain finer data
  3. Always choose the target first
Reveal answer and explanation

B. Bar extremes do not reveal the intrabar sequence, so favorable assumptions must not be invented after the fact.

Primary references and scope

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