Pattern and indicator statistics data and MCP server
The test bench results of PatternsWizard are free to read: the 178 candlestick and chart patterns found on our data, and the 362 strategies taught on our 71 indicator pages, on each market and timeframe tested, as JSON files and through a read-only MCP server for AI assistants.
- Patterns with results
- 178
- Indicator strategies
- 362on 71 indicator pages
- Result rows
- 8,955market × timeframe
- Assets
- 2,368across 6 markets
- Updated
- November 23, 2026after the random-walk self-check
Historical statistics before fees and slippage. Not investment advice: past results do not predict future ones.
Ask an AI assistant
Plug the MCP server into Claude, ChatGPT or Cursor and ask in plain English. No key, no account.
Connect in one lineRead the JSON
One index file per data set, one file per pattern or indicator with every market and timeframe, and the method.
See the filesQuote a number
Cite any figure with a link to the pattern or indicator page it comes from. Republishing the whole set needs an agreement.
How to credit
What an answer looks like
Ask a question in your assistant; it calls the server, gets the measured numbers and can link to the page they come from.
Does the bullish engulfing work on crypto, daily?
get_pattern_stats · engulfing_bullish · crypto · 1d
Bullish engulfing · Crypto, daily
- Occurrences
- 9,719on 572 assets, 2018 to 2026
- Moved the expected way, 10 bars
- 44.5%vs 43.7% for random bars
- Excess return, 10 bars
- +0.18%95% interval −0.21% to +0.55%
- 2:1 trade, average result
- +0.05 Rvs 0.00 R on random dates
Verdict, excess return: no_edgeVerdict, trade: no_edge
Source to cite: https://patternswizard.com/engulfing-candlestick-pattern/
The JSON behind this answer
{
"market": "crypto",
"tf": "1d",
"side": "all",
"n": 9719,
"symbols": 572,
"win10": 0.4449736,
"baseWin10": 0.43715152,
"excess10": 0.00176826,
"excess10_low": -0.00213402,
"excess10_high": 0.00547838,
"excess10_q": 0.73466982,
"trade_n": 7766,
"trade_winRate": 0.3462529,
"trade_expectancyR": 0.04782819,
"trade_baseWinRate": 0.33093845,
"trade_baseExpectancyR": 0.00021955,
"verdict": "no_edge",
"verdictTrade": "no_edge"
}MCP server for AI assistants
Connect Claude, ChatGPT, Cursor or any client of the Model Context Protocol, then ask questions such as “does the bullish engulfing work on crypto?”, “which chart patterns beat chance on forex 4h?” or “does buying RSI oversold beat the market on stocks?”. No key, no account.
1Server URL (Streamable HTTP)
https://patternswizard.com/mcp/In Claude and ChatGPT, add it as a custom connector with this URL.
2Claude Code
claude mcp add --transport http patternswizard https://patternswizard.com/mcp/3Clients configured with a JSON file
{ "mcpServers": { "patternswizard": { "type": "http", "url": "https://patternswizard.com/mcp/" } } }
Tools
search_patternsList tested patterns with their headline result on one market and timeframe. Filter by name, family, direction or verdict, for example: which chart patterns beat chance on forex 4h. Patterns recorded on both breakout sides have no all row and are not listed: read them with get_pattern_stats.
get_pattern_statsFull tested results of one pattern: detection rule, trade rules and every market, timeframe and breakout side measured, with confidence intervals, q-values, verdicts, timing quartiles and the page URL to cite.
compare_patternsPut 2 to 10 patterns side by side on the same market, timeframe and breakout side.
search_indicatorsList the trading strategies taught on the indicator pages (RSI, MACD, moving averages, Bollinger Bands...) with their tested result against the rest of the market, after costs. Filter by indicator name, direction or verdict, for example: which indicator strategies beat the market on crypto daily bars. Without market and timeframe, each strategy gives its headline row.
get_indicator_statsFull tested results of one indicator page: every strategy it teaches (entry and exit rules), on every market and timeframe, with status, robustness reserves and the page URL to cite.
get_methodologyHow the statistics are computed: principles, the meaning of every field and verdict, and data coverage (assets and date range per market and timeframe). The indicators key holds the same for indicator strategies.
Raw call, without a client
curl -s https://patternswizard.com/mcp/ \
-H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_pattern_stats","arguments":{"pattern":"bullish engulfing","market":"crypto","timeframe":"1d"}}}'JSON files
/data/patterns.jsonEvery pattern found on our data with its data file and its page when it has one, field and verdict definitions, data coverage.
/data/patterns/{id}.jsonOne pattern, its detection rule and every result row. Example:
/data/patterns/engulfing_bullish.json./data/indicators.jsonEvery tested indicator page with its strategies and data file, field, status and verdict definitions.
/data/indicators/{slug}.jsonOne indicator page, every strategy it teaches with its rules and every result row. Example:
/data/indicators/relative-strength-index-indicator.json./data/methodology.jsonPrinciples, fields and verdicts of the pattern data.
Files are regenerated with each update of the test bench, and only after the random-walk self-check has passed.
Verdicts
insufficient_data- Fewer than 30 occurrences, or too few independent periods for a test (verdict), or fewer than 30 closed trades (verdictTrade, see trade.n). Numbers are shown but not interpreted.
edge_confirmed- q < 0.05, positive, the same sign in both halves of history, and still positive after estimated costs. For the trade, q, sign and stability apply to its difference with the random baseline, and the cost check to its own result. All published numbers stay before costs: only this verdict deducts them.
edge_negative- q < 0.05, negative, and the same sign in both halves of history: the pattern does worse than chance. No cost check applies.
weak_evidence- p < 0.05, in either direction, but fails at least one of these: the multiple-testing correction, the stability check (excess return and trade alike) or, for a positive result, the estimated costs.
no_edge- No measurable difference from chance.
no_test- The measure does not apply (no expected direction).
not_compared- Daily index bars: closes fall at different hours, so the 10-bar move is not compared with the other indices.
A summary of the method is on the home page, and the principles are in /data/methodology.json.
Fields
Shares go from 0 to 1 (0.55 means 55%). Other fractions can be negative or above 1. In a result row, a null value was not measured or does not apply: it is never a zero. Open a group to read its definitions.
File information17 fields
publisher- Who publishes the data.
attribution- How to credit the data when quoting it.
license- License of the data.
license.name / license.url- Its name, and the page that states it.
disclaimer- What the numbers are not: they are historical, before fees and slippage, and not investment advice.
generated_at- Date and time the test bench produced these numbers.
code_version- Version of the test bench code that produced them.
documentation- URL of the page that documents the data.
description- What the data set contains.
mcp- URL of the MCP server.
fields- These definitions.
verdicts- The definition of each verdict.
principles- The principles of the method.
coverage- Price data behind the results, by market then timeframe. There is no all entry.
coverage.symbols- Number of distinct assets on that market and timeframe. A series cut at a trading halt or a price break still counts as one asset.
coverage.first / coverage.last- Date of the first and of the last bar of those assets. Unlike first and last in a result row, these are not occurrence dates: coverage.first comes before the eligibility filters of the principles.
patterns- The patterns found on our data, each with the fields below up to data. A tested pattern that was never found has no entry.
Pattern12 fields
id- Identifier of the pattern, also the name of its data file.
name- Name of the pattern.
family- candlestick or chart. Harmonic patterns are in chart.
direction- Direction expected from the pattern: bullish, bearish or neutral. Neutral means no direction is tested: a neutral candlestick pattern has no win10 and no excess10, a neutral chart pattern is measured on each breakout side.
kind- Candlestick patterns only, absent on chart patterns: reversal, continuation or indecision, the type of the pattern. It does not set the direction: some indecision patterns are bullish or bearish.
page- URL of the pattern's page on the site, null when it has no page of its own.
data- URL of the pattern's JSON file.
rule- Detection rule, in words.
entry_rule- Chart patterns only, absent on candlestick patterns: the signal that gives the entry.
stop_rule- Chart patterns only, absent on candlestick patterns: where the stop sits.
trade_rule- Entry and exit rules of the simulated 2:1 trade.
results- Result rows, one for each market, timeframe and breakout side where the pattern was found.
Result row45 fields
market- Market: all (the markets that have this timeframe, pooled), crypto, forex, stocks, etf, indices or commodities.
tf- Timeframe of the bars: 1h, 4h, 1d or 1w.
side- Breakout side: up or down on patterns recorded on both sides, which have no all row; all on every other pattern.
n- Number of occurrences detected, after the eligibility filters of the principles.
symbols- Number of distinct assets with at least one occurrence. A series cut at a trading halt or a price break still counts as one asset.
first- Date of the first occurrence.
last- Date of the last occurrence.
win10- Share of occurrences (0 to 1) where price moved in the expected direction 10 bars after the signal bar's close. The expected direction is the pattern's own or, on a row split by breakout side, that side, neutral patterns included.
baseWin10- Same share for random bars of the same assets: what chance alone gives.
excess10- Excess return after 10 bars, the main test. Null with no expected direction (neutral candlestick patterns).
excess10.mean- Average excess return after 10 bars, as a fraction (0.01 is +1%): expected direction times (return minus the average return of the other assets of the same market over the same 10 bars).
excess10.low / excess10.high- 95% confidence interval of excess10.mean (block bootstrap: fixed blocks of 13 weeks, 52 weeks on 1w). Null when the occurrences fall in fewer than 5 blocks.
excess10.q- Benjamini-Hochberg q-value (false discovery rate 5%), corrected across every row with at least 30 occurrences and an interval: each pattern, market, timeframe and breakout side. Null on the other rows.
excess10.stable- True when the mean excess return has the same sign on the earlier and the later half of the occurrences, split at their median date.
trade- Result of the simulated 2:1 reward-to-risk trade.
trade.n- Number of simulated 2:1 reward-to-risk trades closed: target hit, stop hit, or closed after 100 bars. Not counted: trades still open at the end of the data, and trades never opened because the stop sat on the wrong side of the entry or less than 0.01% from it, or because the target would have sat at or below zero (shorts with a stop at least 50% above the entry). On a candlestick pattern, an occurrence whose entry order was not hit is not a trade either (see trade.triggered).
trade.winRate- Share of trades that hit the target (twice the risk) before the stop.
trade.expectancyR- Average trade result in R (1 R = the risk of the trade).
trade.baseWinRate / trade.baseExpectancyR- Same trade (same entry, stop and target distances) replayed on 4 random dates of the same asset, in the same trend regime and volatility band when enough dates exist.
trade.hits / trade.stops- Number of trades that hit the target, and number that hit the stop. Trades closed after 100 bars count in neither.
trade.triggered- Candlestick patterns: number of occurrences where the entry order was hit.
trade.timeoutRate- Share of trades closed after 100 bars without hitting the stop or the target.
trade.triggeredRate / trade.invalidatedRate- Candlestick patterns: share of occurrences where the entry order was hit, or where the stop side was hit first.
timing- Quartiles [25%, median, 75%] of the durations and sizes below, in bars unless stated. A measure with no value on the row is null. The measures of closed trades (bars_to_target, bars_to_stop, bars_in_trade, mfe_r, stopped_after_1r) are absent when the row has no closed trade.
timing.bars_to_target- Bars from entry to exit, trades that hit the target.
timing.bars_to_stop- Bars from entry to exit, trades that hit the stop.
timing.bars_in_trade- Bars from entry to exit, all closed trades.
timing.mfe_r- Best move in the trade's favor before its exit, in R, all closed trades.
timing.stopped_after_1r- Single number, not quartiles: share of stopped trades that had first reached +1 R.
timing.bars_to_entry- Candlestick patterns: bars from the signal bar to the entry, occurrences whose entry order was hit.
timing.range_pct- Candlestick patterns: high-to-low range of the pattern, as a fraction of the signal bar's close.
timing.range_atr- Candlestick patterns: the same range in ATR.
timing.duration- Chart patterns: bars from the start of the pattern to the breakout.
timing.height_pct- Chart patterns: height of the pattern divided by the entry price, as a fraction (0.187 is 18.7%).
timing.breakout_delay- Chart patterns: bars from the confirmation of the pattern to the breakout.
timing.bars_to_pattern_target- Chart patterns: bars from the breakout to the pattern's classical target (see breakoutStats.targetHitRate), occurrences that hit it before the stop within 100 bars.
breakoutStats- Breakout measures computed by this bench, on definitions from the classical literature. All null on candlestick patterns. They are descriptive; the false-start rate comes with its random baseline.
breakoutStats.falseStartRate- Chart patterns with a breakout: share of occurrences whose stop was hit before price moved half the pattern's height (H) in the breakout direction, within twice the pattern's length (2 L, at least 5 bars). Paths the data end before 2 L are left out.
breakoutStats.baseFalseStartRate- Same measure on the matched random baseline: the same entry, stop and length, as a share of price, on the same asset at random dates of the same market regime and volatility.
breakoutStats.throwbackRate- Share of breakouts where price moved away, with at least one whole bar beyond the breakout level, then came back within 0.25 ATR of that level within the pattern's length L (throwback after an upward breakout, pullback after a downward one). Not comparable with versions before bench v1 (exact touch within 20 bars).
breakoutStats.targetHitRate- Share of breakouts that reached the pattern's classical target before the stop within 100 bars. The target depends on the pattern: on most chart patterns, the pattern's height projected from the breakout (the pole on flags and pennants); on harmonic patterns, a 0.618 retracement of AD or of CD measured from D (point B on three drives); on a few others, their own rule, such as the line through points 1 and 4 on Wolfe waves, half the pole on a high and tight flag, or the first leg added to point C on a measured move.
confirmRate- Share of formations that were confirmed, all breakout sides together: on a row split by side, the same number as on the opposite side. Null on candlestick patterns and on chart patterns that record no formation.
oneEveryBars- Frequency: eligible bars divided by occurrences (one occurrence every N bars).
verdict- Verdict on the excess return (see verdicts).
verdictTrade- Verdict on the trade versus its random baseline.
MCP server responses12 fields
timeframe- Timeframe of the response, same values as tf.
total- Number of patterns that match.
returned- Number of patterns in this response.
query- The pattern as it was asked for.
result- One result row flattened to its key numbers, null when nothing was measured for the request.
result.market / result.tf / result.side / result.n / result.symbols / result.win10 / result.baseWin10 / result.verdict / result.verdictTrade- Same as the fields of the same name in a result row.
result.excess10 / result.excess10_low / result.excess10_high / result.excess10_q- excess10.mean, excess10.low, excess10.high and excess10.q.
result.trade_n / result.trade_winRate / result.trade_expectancyR / result.trade_baseWinRate / result.trade_baseExpectancyR- trade.n, trade.winRate, trade.expectancyR, trade.baseWinRate and trade.baseExpectancyR.
note- Explanation when a request found nothing.
measured- The market and timeframe pairs measured for the pattern, when the request matched none.
error- Why a pattern could not be returned.
candidates- The patterns an ambiguous name matches.
Indicator statistics
Each strategy taught on an indicator page is coded as written there, buy and sell side, with rules fixed before any result was seen. It enters at the close of the signal bar and exits at the exit the page teaches, without a stop, and is compared with the other assets of the same market over exactly the same bars, after costs. Signals without a direction are measured on the size of the next moves. Historical statistics. vs_market is net of estimated trading costs; avg_return and win_rate are before costs. Not investment advice: past results do not predict future ones.
Every row carries a reliability status, and a result is stated only when its status allows it. Read the status before quoting a number: a fragile result comes with the check that removes it, and an inconclusive or not measured row is not a result.
Statuses
confirmed_robust- The taught strategy differs from the rest of the market after costs: q < 0.05 after the multiple-testing correction across every row, the same sign in both halves of history, and it survives the three robustness checks (entry at the next bar's open, costs doubled, extreme trades trimmed). For a signal without direction, the same test on the range of the next 10 bars.
confirmed_fragile- Confirmed as above, but at least one robustness check removes it; fragile_on names which. Quote it only with that reserve.
no_edge- Measured: no difference from the rest of the market (or from random dates, for the range) that survives the tests.
inconclusive- Weak signs only (p < 0.05) that fail the multiple-testing correction, the stability check or the costs. Not a result.
not_measured- Too few signals to test, or no test by rule: daily index bars are not compared with other indices because their closes fall at different hours, and an asset alone in its market has no others to compare with. Counts may still be shown; no result is drawn.
Verdicts
beat_market- Confirmed (robust or fragile) and vs_market > 0: the strategy did better than the rest of the market over the same bars, after costs. On a sell signal, the asset did worse than the others, which is what the signal announced.
lagged_market- Confirmed (robust or fragile) and vs_market < 0: the strategy did worse than the rest of the market over the same bars, after costs.
bigger_moves- Signal without direction, confirmed: the next 10 bars moved more than at random dates of the same assets (range_ratio > 1).
smaller_moves- Signal without direction, confirmed: the next 10 bars moved less than at random dates (range_ratio < 1).
no_edge- Same as status no_edge.
inconclusive- Same as status inconclusive.
not_measured- Same as status not_measured.
Fields
File information17 fields
publisher- Who publishes the data.
attribution- How to credit the data when quoting it.
license- License of the data.
license.name / license.url- Its name, and the page that states it.
disclaimer- What the numbers are not, and which ones are net of costs.
generated_at- Date and time the test bench produced these numbers.
code_version- Version of the test bench code that produced them.
documentation- URL of the page that documents the data.
description- What the data set contains.
mcp- URL of the MCP server.
fields- These definitions.
statuses- The definition of each status.
verdicts- The definition of each verdict.
fragile_checks- The robustness checks that fragile_on can name.
principles- The principles of the method.
in_sample_end- Last date of the bars used. Later bars are held back.
indicators- The tested indicator pages, each with the fields below up to signals.
Indicator page5 fields
slug- Identifier of the indicator page, also the name of its data file.
name- Name of the indicator.
page- URL of the indicator's page on the site, where the strategies are taught. Cite it with the numbers.
data- URL of the indicator's JSON file.
signals- The strategies taught on the page, each tested on its own.
Strategy10 fields
id- Identifier of the strategy.
direction- bullish (buy signal), bearish (sell signal) or neutral (no direction: measured on the range of the next moves).
kind- Type of signal: price_cross, cross_signal, cross_zero, level, slope, divergence_regular, divergence_hidden, failure_swing, squeeze_breakout or other.
claim- What the page says the signal announces: trend, reversal, continuation, volatility or volatility breakout. Null when not stated.
rule- Entry rule, in words, with the settings used.
exit_rule- Exit rule, in words.
formula_variant- True when several published formulas exist for this indicator: the result holds for the one written in rule.
headline- The result row the page shows first: all markets pooled, on the daily timeframe when the strategy runs there (otherwise 4-hour, then hourly, then weekly), or the only market tested. Null when there is none.
headline.market / headline.tf- Its market and timeframe.
results- Result rows, one for each market and timeframe where the strategy was run.
Result row13 fields
market- Market: all (the markets that have this timeframe, pooled), crypto, forex, stocks, etf, indices or commodities.
tf- Timeframe of the bars: 1h, 4h, 1d or 1w.
n- Number of signals.
trades- Number of trades of the taught strategy with a measured exit. Null for signals without direction.
avg_return- Average trade return, before costs, as a fraction (0.01 is +1%), signed so that a gain on a sell signal is positive.
win_rate- Share of trades with a positive return, before costs (0 to 1).
vs_market- Average return of the trade minus that of an equal-weight basket of the other assets of the same market over the same bars, after costs, as a fraction. Null when not measured.
bars_median- Median number of bars held.
range_ratio- Signals without direction: range of the next 10 bars divided by the same range at random dates of the same assets (1 is the same).
measure- native when the row is judged on vs_market, range when it is judged on range_ratio.
status- Reliability status of the row (see statuses): what may be said about it.
fragile_on- Robustness checks that remove the result (see fragile_checks). Empty unless status is confirmed_fragile.
verdict- Plain reading of the row (see verdicts), the label the page shows.
MCP server responses11 fields
timeframe- Timeframe of the response, same values as tf.
total- Number of strategies that match.
returned- Number of strategies in this response.
indicator- The indicator page the strategy comes from.
indicator.slug / indicator.name / indicator.page / indicator.data- Same as slug, name, page and data of an indicator page.
result- The headline row, or the row of the requested market and timeframe, null when the strategy was not run there.
result.market / result.tf / result.n / result.trades / result.avg_return / result.win_rate / result.vs_market / result.bars_median / result.range_ratio / result.measure / result.status / result.fragile_on / result.verdict- Same as the fields of the same name in a result row.
note- Explanation when a request found nothing.
measured- The market and timeframe pairs measured, when the request matched none.
error- Why an indicator could not be returned.
candidates- The indicators an ambiguous name matches.
License and citation
The data is © PatternsWizard, all rights reserved. You are welcome to read it, query it through the MCP server and quote individual numbers with a link to the pattern or indicator page they come from, or to the data file when the pattern has no page, credited as “PatternsWizard (https://patternswizard.com/), pattern statistics” or “PatternsWizard (https://patternswizard.com/), indicator statistics”. To republish the data set or reuse it in a product, contact us.