Free Bartels Significance Test Calculator
Paste your prices, choose a cycle length, and get its Bartels test score: a number from 0 to 100 that shows how steadily the cycle has kept its timing.
Needs at least 3 full repeats of the cycle. The latest repeats are scored, up to 10.
One price per line or comma-separated, oldest first
What Is the Bartels Significance Test?
The Bartels test is a method for studying repeating patterns in data. Julius Bartels published it in 1935 for his research on geophysical records, and cycle analysts have used it on market prices ever since.
When a spectral method like the Goertzel algorithm finds a cycle length in your data, the Bartels test adds a second piece of information. It looks at the cycle one repeat at a time and tells you how steadily the wave has kept its timing.
How the Bartels Test Works
The idea is simple. The test cuts your data into repeats of the cycle length and compares where the wave sits in each one.
- Price changes: The prices are turned into bar-to-bar changes. This takes the trend out and leaves the wave.
- Recent repeats: The latest full repeats of the cycle are cut out, between 3 and 10 of them. For example, 300 bars tested for a 20-bar cycle uses the last 10 repeats, which is the last 200 bars.
- Timing of each repeat: For every repeat, the test measures how large the wave is and where its highs and lows fall.
- One score: The repeats are compared. When the highs and lows fall in the same place each time, the score is close to 100.
Scoring the recent repeats keeps the result current, so the number describes the cycle as it is running now.
Reading Bartels Scores
The score runs from 0 to 100, and a higher score means steadier timing across the recent repeats. As a reference point, a score of 95 means that price changes with no cycle in them would keep timing this steady about 1 time in 20.
The score is one piece of information about a cycle. Read it together with the chart, the cycle's size, and the market regime from the Hurst exponent.
How FractalCycles Uses the Bartels Test
In FractalCycles, every listed cycle gets a Bartels test score that shows how steadily it has kept its timing. You see the score in the cycle table and you can filter the table by it. The Bartels testing guide covers the method in more depth.
Bartels Test vs Monte Carlo Simulation
The Bartels test and Monte Carlo methods both study cycles, and they work in different ways. The Bartels test is fast and scores one cycle length at a time from a simple formula. Monte Carlo simulation builds thousands of random comparison series, which makes it useful when you want to study many cycle lengths at once, and it takes far longer to run.
Read the full Bartels vs Monte Carlo comparison.
Tips for Good Results
- Use enough data: The test needs at least 3 full repeats and scores up to 10. For a 20-bar cycle, 200 bars of data gives the full 10 repeats.
- Start from a detected length: Use the Cycle Period Finder to find candidate cycle lengths first, then score them with this calculator.
- Check nearby lengths: Market cycles vary a little in length. If you test a 20-bar cycle, also look at 18 to 22 bars to see where the timing is steadiest.
- Enter prices, oldest first: The calculator turns prices into bar-to-bar changes for you, so there is no need to remove the trend yourself.
What is the Bartels test?
The Bartels test is a method published by Julius Bartels in 1935 for studying repeating patterns in data. For one cycle length, it compares the timing of the wave across its repeats and gives a single score. The steadier the timing from one repeat to the next, the higher the score.
How much price data do I need for the Bartels test?
You need at least 3 full repeats of the cycle you want to test. The calculator scores the most recent repeats, up to 10, so the score describes the cycle as it runs now. For a 20-bar cycle, 60 bars is the minimum and 200 bars gives the full 10 repeats.
How do I read a Bartels test score?
The score runs from 0 to 100. A higher score means the cycle has kept steadier timing over its recent repeats. As a reference point, a score of 95 means that price changes with no cycle in them would keep timing this steady about 1 time in 20. The score is one piece of information to weigh alongside the chart itself.
Can the Bartels test be used on any time series?
Yes. The calculator works on the bar-to-bar changes of the series, which takes the trend out and leaves the wave. It is suitable for stocks, futures, forex, crypto, and economic time series, on any timeframe.
How does the Bartels test differ from Monte Carlo simulation?
The Bartels test is fast and scores one cycle length at a time from a simple formula. Monte Carlo simulation builds thousands of random comparison series and is useful when you want to study many cycle lengths at once, but it takes far longer to run.