How to measure the efficiency of a candlestick pattern? (2024)

It’s not enough just to know that a pattern has occurred on the candlestick chart, but also how “well” or “badly” it had performed in the past. In other words, how effective is the signal being generated?

And here, even before going into a heavy duty backtesting analysis, we can check some simple statistics first. As a first pass, there’s no need for detailed model optimization, no need for sophisticated entry/exit methodology and no need for risk and money management rules, just a basic analysis of the underlying statistics. What matters at this stage is: the number of accurate occurrences (how statistically significant the results are) and the price behavior within 5 or 10 subsequent candlesticks after the pattern’s occurrence.

The most challenging aspect is to effectively convey the statistics and present them in such a way readily showing pattern efficiency, just after its occurrence. CandleScanner adopted very simple principle. If there is a bullish reversal or a bullish continuation pattern on the chart, the next 5 or 10 candles (depending on the user's preferences) should demonstrate its prognostic value.

The efficiency of a pattern is measured by checking the maximum price (for bullish patterns) or minimum price (for bearish patterns) within test period. CandleScanner is using two periods: 5 or 10 candles following the pattern. Every period is producing a separate result.

Stop Loss order is used to have more realistic results. If Stop Loss level is reached, the algorithm stops and the so far the most extreme price is used to calculate efficiency level.
The user can set Stop Loss level, and ranges for FALSE, LOW, MEDIUM and HIGH efficiency. These settings may have a great impact on the efficiency readings.

In this video I described how to measure the efficiency of a candlestick pattern.

The algorithm evaluating the efficiency of a bullish pattern occurrence works as follows:

  1. If Stop Loss price level is reached on the first candle following the pattern, the occurrence is marked as FALSE.
  2. If Stop Loss price level is reached within test period, the highest price reached prior to Stop Loss is used to assign the pattern occurrence to appropriate efficiency level (i.e. FALSE, LOW, MEDIUM or HIGH).
  3. If Stop Loss price level is not reached within test period, the highest price reached during the full period is used to assign the pattern occurrence to appropriate efficiency level (i.e. FALSE, LOW, MEDIUM or HIGH).

The algorithm for every pattern occurrence is run for the period of 5 and 10 candles, producing two separate results.

The algorithm works the same for bearish patterns, except that instead of using the highest price reached during the test period, the lowest one is used

Written by Jack Lempart

How to measure the efficiency of a candlestick pattern? (1)

View all posts by: Jack Lempart

Comments are closed.

How to measure the efficiency of a candlestick pattern? (2024)
Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 6280

Rating: 5 / 5 (70 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.