Trading concepts

AI Trading: How to Use AI as a Research Assistant, Not a Money Machine

How to use ChatGPT, Claude or any assistant as a research partner for trading: plans, chart descriptions, Pine Script, journal reviews and checks against tested statistics, with the free PatternsWizard MCP server and real answers it returned.

· Founder of PatternsWizard
Checked 16 min read
Two ways an AI assistant answers a trading question: your question goes to an AI assistant, which can answer in two ways. On the left, it answers from memory, from what it saw in training: plausible numbers with no source to check, sometimes made up. On the right, it calls an MCP server, which reads tested statistics: measured numbers, a verdict against chance and a page to cite.
On this page
  1. What regulators say about AI trading offers
  2. How to use AI for trading: six jobs it does well
  3. The limits of AI for trading, measured
  4. How to connect an AI assistant to tested statistics with MCP
  5. Real questions, real answers from the server
  6. A prompt that keeps the assistant honest
  7. Frequently asked questions

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 153 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

AI trading covers two very different things. One is software sold as a robot that trades for you and promises steady profits, the pitch that U.S. regulators have warned against since 2024. The other is an AI assistant such as ChatGPT or Claude used as a research partner: it drafts a trading plan, describes a chart, writes a Pine Script strategy, sorts your journal and checks an idea against data. This page is about the second. It shows what an assistant does well for a trader, where it fails, and how to connect it to tested statistics through a free MCP server, with real answers from that server. Nothing here predicts prices, and none of it is investment advice.

JobWhat the assistant doesWhat you check
Trading planTurns your rules into a checklist: setup, entry, stop, size, exitThat every rule is yours and precise enough to test
Chart readingDescribes a screenshot: trend, recent highs and lows, candlesThat it describes the chart and does not forecast it
Idea checkFetches tested statistics through an MCP serverThe verdict, the sample size and the page it cites
Pine ScriptDrafts a strategy you backtest on TradingViewCommission, slippage and fill settings
Journal reviewGroups your exported trades by setup, hour and mistakeThe counts behind each group
Risk arithmeticComputes position size from your risk and your stopThe formula, worked once by hand
Price predictionNot a job for itThe CFTC reminds investors that AI technology cannot predict the future

What regulators say about AI trading offers

On January 25, 2024, the SEC's Office of Investor Education and Advocacy, the North American Securities Administrators Association (NASAA) and FINRA issued a joint investor alert on artificial intelligence and investment fraud. It describes unregistered platforms and individuals "promoting AI trading systems that make unrealistic claims like, 'Our proprietary AI trading system can't lose!'", and tells investors to be wary of claims, even from registered firms and professionals, that AI can guarantee amazing investment returns. On chatbots, the same alert is blunt: "Even when based on accurate input, information resulting from AI can be faulty, or even completely made up."

The same day, the Commodity Futures Trading Commission published a customer advisory titled AI Won't Turn Trading Bots into Money Machines. Its press release says the advisory "warns investors that claims of high or guaranteed returns are red flags of fraud and that strangers promoting these claims online should be ignored", and that it includes "a reminder that AI technology cannot predict the future".

How to use AI for trading: six jobs it does well

Each job below keeps the decision with you. The assistant prepares, drafts and checks; it does not choose the trade.

1. Turn your rules into a written plan

Rules kept in your head are the ones that bend. Give the assistant the rules as you would explain them to a friend and ask it to turn them into a trading plan: market and timeframe, the setup, the entry trigger, where the stop goes, how much you risk, when you exit, and what you do after three losses in a row. Its real value is the questions it asks back: "what counts as a downtrend?" or "what if the stop is wider than your risk allows?". A rule you cannot answer precisely is a rule you cannot test.

2. Describe a chart, not predict it

Assistants that read images can describe a screenshot: the direction of the trend, the last swing highs and lows, a gap, the candles at the right edge. That is useful as a second pair of eyes, and as a way to learn the vocabulary of candlestick charts. Ask it to describe what it sees and to say what it cannot read, such as small labels or the exact prices of a level. Then check each point on the chart yourself. If the answer turns into "price will probably go up", you have left description for a forecast nobody has measured.

3. Check an idea against tested statistics

"Does the bullish engulfing work?" is the kind of question an assistant answers with confidence from memory. It has no table to look things up in, so the number it gives is a plausible one, with no source you can open. Connected to an MCP server, the same assistant can call a tool that reads measured results and returns them with the page to cite. The schema below shows the two paths; the setup and the real answers are further down.

Two ways an AI assistant answers a trading question

Two ways an AI assistant answers a trading question: your question goes to an AI assistant, which can answer in two ways. On the left, it answers from memory, from what it saw in training: plausible numbers with no source to check, sometimes made up. On the right, it calls an MCP server, which reads tested statistics: measured numbers, a verdict against chance and a page to cite.
The tool only helps if the assistant calls it: ask it to, and check the source it returns.

4. Write a Pine Script strategy, then backtest it yourself

An assistant writes a first draft of a Pine Script strategy quickly, which removes the main barrier between an idea and a test. The draft is a start, not a result. Paste it into TradingView, read every line it wrote, and set the costs: TradingView's Pine Script documentation states that "if not specified, the strategy applies no commission to filled orders", and it warns that executing some strategies after order fills can cause lookahead bias on historical bars. Our TradingView backtesting guide covers each setting with an example, and the strategy tester page explains what a report can and cannot prove.

5. Review your trading journal

Export your trades from your broker or your journal app (see the journal apps we compared) as a CSV file and give the file to the assistant. Ask for results grouped by setup, by hour of entry, by holding time and by the mistake you noted, with the number of trades in each group. The counts matter more than the averages: a "best setup" built on six trades is a coincidence until proven otherwise. Ask it to quote rows from the file for any claim it makes, so it works from your data and not from memory.

6. Do the arithmetic of risk

Position size is a short formula: the money you accept to lose on the trade, divided by the distance from entry to stop, gives the number of shares or units. An assistant computes it quickly and can build a small calculator for your account size and markets. Ask it to show the formula and the inputs, and check one case by hand, as you would any tool you did not build. Our pages on position size and risk of ruin give the formulas and the traps.

The limits of AI for trading, measured

Made-up numbers

The joint alert already says it: information from AI "can be faulty, or even completely made up." For a trader the risk is specific. A win rate, a backtest result or a "historical success rate" quoted without a source looks exactly like a measured one. The only defense is to ask where each number comes from and to open the source. An assistant that cannot name one is guessing.

Hindsight and overfitting, faster

With an assistant, writing twenty variants of a strategy is quick. That speed has a cost: the best of many tries always looks good on the years it was tuned on. We measured it on our daily price data with a moving average crossover, in a walk-forward test: each round picks the best of 41 pairs of averages, after costs, over 3 calendar years, then replays it unchanged on the next year, which the choice never saw.

MarketEdge of the tuned rule over buy and hold, tuning yearsSame rule on the next, unseen year
SPY, 29 unseen years+2.4% a year−4.5% a year
Bitcoin, 4 unseen years+26.3% a year−25.8% a year
EUR/USD, 10 unseen years+3.8% a year+0.7% a year
Random prices as volatile as SPY+7.5% a year−0.1% a year

On random prices, where no rule can have an edge, the tuning still found one, larger than on SPY itself, and it was gone the next year. An assistant that "optimizes" a strategy for you finds the same mirage, only sooner. The full study, with costs and every setting, is on the strategy tester page.

No proven edge to borrow

An assistant can only repeat or fetch what exists, and most popular setups have no measured edge. On our bench, few chart and candlestick patterns beat chance, as the do chart patterns work page shows market by market, and the studies of real day trading accounts collected on is day trading gambling find that most individual day traders lose money after costs. Using AI does not change those numbers: it changes how fast you find them.

How to connect an AI assistant to tested statistics with MCP

The Model Context Protocol (MCP) is, in the words of Anthropic's help center, "an open standard, created by Anthropic, for AI applications to connect to tools and data". An MCP server publishes tools; a compatible assistant calls them when a question needs them and reads the answer before replying.

PatternsWizard publishes one: com.patternswizard/pattern-stats, listed as active on the official MCP Registry and also listed on Glama. Its registry description reads "Tested statistics of 179 chart and candlestick patterns and 362 indicator strategies, six markets." It is free, needs no key and no account, and every tool is read only: it can return statistics, never place an order or touch an account. The address to enter in any client is:

https://patternswizard.com/mcp/
ToolWhat it answersExample question
search_patternsPatterns with their headline result on one market and timeframe, filtered by name, family, direction or verdictWhich candlestick patterns beat chance on stocks, daily?
get_pattern_statsEvery result of one pattern, with its detection rule, trade rules, confidence intervals and page to citeDoes the hammer work on crypto 4h?
compare_patternsTwo to ten patterns side by side on the same market and timeframeHammer, bullish engulfing or morning star on stocks?
search_indicatorsIndicator strategies with their result against the rest of the market, after costsDoes buying RSI oversold beat the market on stocks?
get_indicator_statsEvery strategy of one indicator page, on every market and timeframeHow did the MACD strategies do on forex?
get_methodologyHow the numbers are computed, what each field and verdict means, data coverageWhat does "no clear edge" mean here?

Claude and Claude Desktop

Anthropic's help center says custom connectors using remote MCP work in Claude, Cowork and Claude Desktop on the Free, Pro, Max, Ultra, Team and Enterprise plans, with one custom connector on the Free plan. On an individual plan:

  1. Open Customize, then Connectors.
  2. Click "+ Add", then "Add custom connector".
  3. Enter a name, for example PatternsWizard, and the URL https://patternswizard.com/mcp/, then click Continue.
  4. Check the settings Claude detected and click Continue; under Authentication, choose "No sign in", then click Add.
  5. In a chat, open the "+" menu, then Connectors, and switch PatternsWizard on.

On Team and Enterprise plans an Owner adds the connector once in Organization settings, then each member connects to it. Claude connects to the server from Anthropic's cloud, whichever Claude app you use.

ChatGPT

In ChatGPT, OpenAI's documentation has you add a custom MCP server on the web, as a plugin. Its help center says full MCP is available to Business and Enterprise/Edu workspaces, and that Pro users can connect custom MCP servers with read and fetch permissions, which is all this server needs. The article does not list the Free, Go or Plus plans.

  1. Go to the Plugins page of ChatGPT.
  2. Select the plus button, then "Add custom MCP server".
  3. Enter a name and, under Connection, the Server URL https://patternswizard.com/mcp/.
  4. Choose "No authentication", review the risk warning and select "I understand and want to continue".
  5. Select "Create as a plugin", install it, then type @ in a conversation and pick it.

Claude Code, VS Code and other clients

ClientHow to add the server
Claude CodeOne command in a terminal: claude mcp add --transport http patternswizard https://patternswizard.com/mcp/
VS Code with CopilotRun "Chat: Open Customizations", select MCP Servers, then Add Server (+); choose HTTP, enter the URL and a server ID such as patternswizard
Clients configured with a JSON fileMost use mcpServers, as below, with "type": "http"; VS Code's own mcp.json uses servers instead
{
  "mcpServers": {
    "patternswizard": { "type": "http", "url": "https://patternswizard.com/mcp/" }
  }
}

Menus change often. Every step above was read on each client's own documentation on December 3, 2026; if a label has moved, the URL stays the same.

Real questions, real answers from the server

We sent each call below to https://patternswizard.com/mcp/ on December 3, 2026. The JSON shows the request a client sends for you. The pattern numbers are the server's, from the bench run of November 23, 2026, and follow the bench when it runs again, as the server does; the counts of patterns and the RSI answer are quoted as the server returned them that day.

"Does the bullish engulfing work on crypto daily charts?"

{"name": "get_pattern_stats",
 "arguments": {"pattern": "bullish engulfing", "market": "crypto", "timeframe": "1d"}}
MeasureBullish engulfingRandom bars, same assets
Occurrences9,719 on 572 pairs
Price higher 10 bars later44.5%43.7%
Excess return after 10 bars, over the rest of the market+0.18%
2:1 trade, average result in R, before costs+0.05 R0.00 R
Verdict on the move, then on the tradeNo clear edge, no clear edge

The answer also carries the detection rule, the trade rules, the engulfing candlestick pattern page to cite and a disclaimer. A good assistant reports the pattern next to random bars, with the verdict. Without the random column, 44.5% reads like a failing signal and a trade result above zero reads like an edge; next to random bars, both sit close to what chance gives.

"Which patterns beat chance on all markets, daily?"

{"name": "search_patterns",
 "arguments": {"market": "all", "timeframe": "1d", "verdict": "edge_confirmed"}}

On December 3, 2026, the server listed 160 patterns on all markets pooled, daily, and returned 3 with a proven edge on the 10-bar move. Patterns recorded on both breakout sides are not in this search and are read one by one with get_pattern_stats.

PatternOccurrencesExcess return after 10 bars, in the pattern's direction10-bar move2:1 trade
Bearish harami32,568+0.18%Proven edgeNo clear edge
Bearish 5-05,790+0.34%Proven edgeNo clear edge
Bearish stalled2,819+0.48%Proven edgeNo clear edge

In that answer, the edge is small, a fraction of a percent over ten bars, and the 2:1 trade built on each pattern does not keep it. That nuance sits in two fields of the answer, which is why the prompt at the end of this page asks for both verdicts.

"Hammer, bullish engulfing or morning star on stocks?"

{"name": "compare_patterns",
 "arguments": {"patterns": ["hammer", "bullish engulfing", "morning star"],
               "market": "stocks", "timeframe": "1d"}}
Pattern, US stocks, dailyOccurrencesHigher 10 bars laterRandom barsVerdict
Hammer12,70451.6%54.1%No clear edge
Bullish engulfing45,46053.7%53.8%No clear edge
Morning star2,81155.3%54.1%No clear edge

Three of the most taught bullish candles, tens of thousands of occurrences between them, and on US stock daily charts none of them does measurably better than random days of the same stocks. Asked from memory, the same question tends to get a ranking. Asked through the server, it gets a measurement.

"Does buying RSI oversold beat the market on stocks?"

{"name": "search_indicators",
 "arguments": {"query": "rsi", "market": "stocks", "timeframe": "1d"}}
RSI(14) drops into oversold (30), US stocks, dailyAnswer of December 3, 2026
Signals79,027
Trades with a positive return, before costs70.8%
Average trade return, before costs+2.19%
Trade minus the other stocks over the same bars, after costs+0.35%
Status and verdictconfirmed_robust, beat_market

This is the answer that shows why context matters. A 71% win rate sounds like a strong signal, but the other stocks rose over the same bars too: what the signal added after costs is about a third of a percent per trade. The strategy did beat the market and passed the robustness checks, yet a trader reading only the win rate would expect far more than that. The RSI indicator page shows the current numbers for every RSI strategy and market.

A prompt that keeps the assistant honest

Whatever the client, the same instructions turn a chatty assistant into a careful research partner. Paste them at the start of a conversation, or save them as custom instructions.

The server's own instructions ask the assistant to do most of this already: cite the page with the numbers, treat fewer than 30 occurrences as not interpretable, and quote fragile results with their reserve. The prompt makes it explicit. The open data page documents every field, the JSON files behind the server and the license, and our trading concepts guides cover the plan, risk and discipline that no assistant replaces.

Frequently asked questions

Is AI trading legit?

Using an AI assistant to prepare and check your own trades is a legitimate research method. Platforms that sell an AI system with high or guaranteed returns are another matter: the SEC, NASAA and FINRA alert of January 25, 2024, and the CFTC advisory published the same day, describe that pitch as a warning sign of fraud. Check that anyone handling your money is registered, using the Check Out Your Investment Professional search on Investor.gov.

Can AI predict the stock market?

The CFTC's advisory on AI trading bots includes a reminder that AI technology cannot predict the future. What an assistant can do is fetch what happened historically after a pattern or an indicator signal, with the uncertainty around it. On our bench, most patterns did no better than random bars of the same assets.

Can ChatGPT or Claude place trades for me?

Not through this server. Every tool of the PatternsWizard MCP server is read only: it returns statistics, methodology and page links, and has no access to any broker or account. This page covers the assistant as a research partner, not as an automated trader.

Is the PatternsWizard MCP server free?

Yes. It needs no key and no account: add https://patternswizard.com/mcp/ as a custom connector in Claude, a custom MCP server in ChatGPT, or with claude mcp add in Claude Code. It is listed as com.patternswizard/pattern-stats on the official MCP Registry.

What is the best AI for trading?

The one you can make cite its sources. Claude, ChatGPT, Claude Code and VS Code with Copilot can all connect to a remote MCP server, which lets the assistant read measured data instead of answering from memory. The prompt on this page works with any of them.

Sources

  1. SEC, NASAA and FINRA: Artificial Intelligence (AI) and Investment Fraud, investor alert, January 25, 2024
  2. FINRA: Artificial Intelligence (AI) and Investment Fraud
  3. CFTC press release 8854-24: Customer Advisory Cautions the Public to Beware of Artificial Intelligence Scams
  4. Claude Help Center: Get started with custom connectors using remote MCP
  5. OpenAI documentation: Add custom MCP server
  6. OpenAI Help Center: Developer mode and full MCP connectors in ChatGPT
  7. Claude Code documentation: Connect Claude Code to tools via MCP
  8. VS Code documentation: Add and use MCP servers
  9. Official MCP Registry: com.patternswizard/pattern-stats
  10. TradingView Pine Script documentation: Strategies
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

Related guides

All trading concepts articles