Bartels test vs Monte Carlo simulation are two methods for testing a detected cycle against chance. The Bartels test is a parametric method that measures how steadily a cycle has kept its timing across its repeats, producing a score from 0 to 100 in milliseconds. Monte Carlo simulation is a non-parametric method that shuffles data thousands of times to build an empirical null distribution, requiring more computation but making fewer statistical assumptions. In most cases the two methods point the same way, and when they differ, the difference tells you something about the data.
The Bartels Test Approach
The Bartels test is a parametric method that measures how steadily a cycle has kept its timing across its repeats:
- Divide data into cycle-length segments
- Measure consistency of returns at each phase point
- Compare that consistency with what price changes with no cycle in them would show
- Report the result as a Bartels test score from 0 to 100
Advantages: Fast computation, well-defined statistical properties, easy to interpret, no random seed issues.
Trade-offs: As a parametric test, it rests on set statistical assumptions about the data.
The Monte Carlo Approach
Monte Carlo simulation is a non-parametric method that estimates significance empirically:
- Detect cycles in actual data, note the power
- Shuffle the data randomly (breaking any real patterns)
- Detect cycles in shuffled data
- Repeat many times (1000+) to build null distribution
- Compare actual result to null distribution
Advantages: Makes fewer statistical assumptions, can handle non-standard distributions, intuitive interpretation.
Trade-offs: Computationally expensive, results vary slightly between runs, requires careful shuffle method selection.
When to Use Bartels
- Real-time or near-real-time analysis (speed matters)
- Scanning many instruments (computational efficiency)
- Data reasonably approximates normal or symmetric distribution
- You need consistent, reproducible results
Bartels suits day-to-day cycle analysis across many markets.
Detect hidden cycles in any market
See the cycle periods at work in any market data, each with a test score for how steadily it has kept its timing. Run a free analysis with our cycle detection software.
Try it free NowWhen to Use Monte Carlo
- Unusual or heavy-tailed distributions
- Research and validation (thoroughness over speed)
- A second reading alongside Bartels in research work
- When you suspect parametric assumptions may fail
Monte Carlo is the natural choice when the data does not suit parametric assumptions.
Practical Comparison
In most cases, Bartels and Monte Carlo point the same way. When a cycle has kept steady timing and its power also stands out against shuffled data, the two readings support each other.
Differences are informative:
- Bartels reads high, Monte Carlo reads low: the return distribution may not suit parametric assumptions
- Monte Carlo reads high, Bartels reads low: the cycle has power, and its timing has moved around between repeats
When the readings differ, look at the data before leaning on either one.
Implementation Considerations
For Bartels: Standard implementation is straightforward. The test needs several full repeats of the cycle to work with, and FractalCycles uses the last 3 to 10.
For Monte Carlo:
- Use enough iterations (1000+ minimum, 10000 for precision)
- Choose appropriate shuffle method (full random, block shuffle, phase randomization)
- Consider computational cost for large-scale applications
Hybrid Approach
A practical workflow:
- Use Bartels for a first look across many cycles (fast)
- Pick the cycles you want to study further
- Run Monte Carlo on that shorter list (thorough)
- Compare the two readings for each cycle
This balances computational efficiency with statistical rigor.
A Worked Example: 30-Bar Cycle on EUR/USD

Suppose an illustrative daily EUR/USD analysis over a four-year window flags a 30-bar cycle (roughly six trading weeks). The Bartels test, applied to phase consistency across the segments, returns a score of 62. To check the result with fewer assumptions, the same data is run through 5,000 phase-randomized Monte Carlo shuffles. The observed cycle power lands at the 96th percentile of the empirical null distribution.
The two methods answer slightly different questions. Bartels asks how steadily the cycle has kept its timing across its repeats. The phase-randomized Monte Carlo asks whether the spectral power at this period is unusually large given a shuffled version of the same series. Because phase randomization preserves the autocorrelation structure of returns, the test is conservative against spurious detections driven by smoothness alone. Reading the two side by side gives a fuller picture of the cycle than either gives alone.
The interesting case is when the readings differ. If Bartels returned 62 but the Monte Carlo percentile sat near 70 rather than 96, the difference would point to the data itself. Heavy-tailed return distributions, common in FX, can pull the two apart. That is a prompt to look at the return distribution and the shuffle method before drawing on either number. Readers who want the underlying mechanics can review Bartels significance testing and cycle validation, and the broader structural context appears on the EUR/USD market page.
Choosing a Shuffle Strategy
The Monte Carlo result is only as good as the null model it is built against. Three shuffle strategies dominate practice. Full random permutation destroys all temporal structure and is the strictest test, but it can be too easy to beat because real return series have autocorrelation that pure noise does not. Block shuffling preserves short-range dependence by reshuffling fixed-length blocks. It is appropriate when the cycle of interest is long compared to those blocks. Phase randomization in the frequency domain preserves the autocorrelation structure exactly while destroying phase relationships. That is usually the right null when the question is specifically about cyclic phase.
In production-style screening across many instruments, the choice of shuffle strategy matters more than the iteration count above the 1,000 mark. A well-chosen null with 1,000 iterations will routinely outperform a poorly chosen null with 10,000. Pair the shuffle with the question. If the question is "does this period have unusual power given typical autocorrelation," phase randomization is the natural match.
Our Approach
At FractalCycles, every listed cycle gets a Bartels test score showing how steadily it has kept its timing. You see the score in the cycle table and can filter by it. Monte Carlo simulation is a separate method used mainly in research.
Framework: This analysis uses the Fractal Cycles Framework, which identifies market structure through spectral analysis rather than narrative explanation.
Written by Ken Nobak
Market analyst specializing in fractal cycle structure
Get the Monthly Market Cycle State Report
Free market cycle data for 20+ instruments. Dominant periods, regime shifts, and phase transitions delivered every month.
No spam. Unsubscribe anytime.
Disclaimer
This content is for educational purposes only and does not constitute financial, investment, or trading advice. Past performance does not guarantee future results. The analysis presented describes observable market structure and should not be interpreted as predictions, recommendations, or signals. Always conduct your own research and consult with qualified professionals before making trading decisions.