TraderWAI
PlatformsAIsDocsBlogPricing
Sign inStart free
All posts
GuidesNovember 27, 2026· 4 min read

Backtest a strategy without Pine Script or MQL5: just describe it

You don't need to learn Pine Script, MQL5 or Python to backtest a trading idea. Describe the rules to your AI and test them on 2 years of 1-minute data in seconds. What you gain, and the honest limits.

Gold chart marked up by the AIYour AI analyses, draws on the chart and trades on your broker. Free, no card.Connect your AI freeNo broker yet? Try it free with a simulated account: your AI trades with virtual money and real prices. Backtest a strategy without Pine Script or MQL5: just describe it

TradingView's Strategy Tester and MetaTrader's Strategy Tester are powerful, but both start with the same requirement: you write the strategy as code. Pine Script on TradingView, MQL5 on MetaTrader, Python if you build your own. For most traders that's where backtesting stops. The idea stays in your head, gets traded live, and the market does the testing.

This guide shows the alternative: describe the strategy in plain words to your AI (Claude, ChatGPT, Grok, Gemini…) and let TraderWAI run it on real 1-minute data. Same questions answered (does it make money, how often does it win, how bad are the losing streaks), without writing a line of code.

The same strategy, two ways

Take a classic: the 15-minute opening range breakout on the Nasdaq 100. Mark the high and low between 9:30 and 9:45 New York time, buy if a 5-minute candle closes above the high before noon, stop at the range low, target twice the risk, close everything at 16:00.

In Pine Script, a simplified version looks like this:

//@version=5
strategy("NAS100 15m ORB", overlay=true)
tz = "America/New_York"
inRange = not na(time(timeframe.period, "0930-0945", tz))
inWindow = not na(time(timeframe.period, "0945-1200", tz))
isClose = not na(time(timeframe.period, "1555-1600", tz))
newDay = ta.change(time("D", tz)) != 0
var float orHigh = na
var float orLow = na
var bool traded = false
if newDay
    orHigh := na
    orLow := na
    traded := false
if inRange
    orHigh := na(orHigh) ? high : math.max(orHigh, high)
    orLow := na(orLow) ? low : math.min(orLow, low)
if inWindow and not traded and close > orHigh and strategy.position_size == 0
    risk = close - orLow
    strategy.entry("ORB", strategy.long)
    strategy.exit("TP/SL", "ORB", stop=orLow, limit=close + 2 * risk)
    traded := true
if isClose
    strategy.close_all()

And then you still have to run it on a 5-minute chart, check that the session times match your symbol, and debug it when something doesn't trigger.

With your AI and TraderWAI, it's one sentence:

"Backtest a 15-minute opening range breakout on NAS100 for the last 90 days: mark the 9:30–9:45 New York range, buy when an M5 candle closes above its high between 9:45 and 12:00, stop at the range low, target 2R, close at 16:00 New York."

A few seconds later you get every trade and the summary. You can see the same rule's live results on its page: opening range breakout on the Nasdaq 100.

What you gain without code

  • Minutes instead of hours. The time goes into thinking about the strategy, not fixing syntax.
  • Variations by asking. "Same, but with a 30-minute range", "only on Tuesdays to Thursdays", "add a 1 point spread". Each one is a sentence, not a rewrite.
  • Real 1-minute replay. TraderWAI follows every trade on 1-minute candles, so it knows whether the stop or the target was hit first inside a bigger candle. If both fall in the same minute, it counts the stop (worst case).
  • Other markets in seconds. "Run it on gold and on the S&P 500 too." No new chart, no new script.
  • Overfitting check. "Run it with nearby parameters" repeats the test with a slightly different target and structure settings, so you can see if the result only exists with one magic number.
  • From test to live with the same rule. The rule you tested can become a conditional order that TraderWAI checks every minute on your broker account, with your risk and your approval. With Pine, the backtest and the live execution are two separate projects.

What you can describe

Session highs and lows, the previous day's levels, custom time ranges in local market time, breakouts, break and retest, liquidity sweeps, fair value gaps, order blocks, BOS and CHoCH, Fibonacci zones, candle patterns, SMA/EMA/WMA/RSI/ATR/ADX, Bollinger Bands and Donchian channels on any timeframe from M1 to D1. Exits by R, pips, level, ATR, trailing stop, break-even, partial closes, a time, or a condition such as the opposite crossover. Spread, commission and slippage if you want them.

Markets: forex, gold, silver, oil, indices, 55 US stocks, Bitcoin and Ethereum, with up to 2 years of 1-minute history.

The honest limits

Code still wins in some cases:

  • Custom indicators. If your edge is a private Pine indicator or a complex EA, it can't be described as standard rules. MACD and VWAP aren't available yet either.
  • Tick-level precision. TraderWAI uses 1-minute candles, not ticks. For scalping a few pips, the exact order of ticks inside a minute matters.
  • Your broker's exact prices. Backtests use TraderWAI's market feed. Spreads and some prices can differ slightly from your broker's; live orders always use your broker's price.

If your strategy fits standard rules, which most discretionary setups do once you write them down, you don't need code to test it.

Already have a Pine Script or an EA?

Paste it into your AI and ask: "Describe the exact rules of this strategy in plain words, then backtest them with TraderWAI on the last 14 days." The AI reads the code, explains what it really does (often a surprise), and tests the rules on 1-minute data. It's also a quick way to check a script you found online before trusting it.

How to start

  1. Connect TraderWAI to your AI: Claude, ChatGPT, Grok or Cursor. It takes two minutes and works on the free plans.
  2. Copy a prompt from one of the 28 strategies we backtest every day and change one thing.
  3. Read the full guide: how to backtest a trading strategy with AI.

The free plan includes 5 backtests a day over the last 14 days; paid plans go up to 2 years of history.

Trading CFDs and forex involves a high risk of losing money. TraderWAI is a technology tool: it does not provide investment advice, AI analysis is not a recommendation and past backtest results don't guarantee future results. You decide every order.

Try it with your own AI

Connect Claude or ChatGPT to your broker in a few minutes. Free plan, no card.

Start free

Questions or ideas? Talk with us in our Telegram community

Trading leveraged products carries a high risk of loss. TraderWAI is a technology tool: it is not investment advice and it is not a broker.

Keep reading

Guides
How to backtest a trading strategy with Claude (real 1-minute data)
Guides
How to connect Claude Code to MetaTrader 5 (MT5)
TraderWAI

Connect any AI to your broker, with you in control.

Product
  • Platforms
  • AIs
  • Pricing
  • Docs
  • Status
  • Sign in
Resources
  • Connection guides
  • Broker guides
  • Best MCP servers for trading
  • Strategy backtests
  • Markets today
  • FAQ
  • Blog
  • News
  • Telegram community: questions & ideas
Company
  • Investors
  • Contact
  • Brokers and prop firms
Legal
  • Privacy
  • Terms

Trading leveraged products such as CFDs, forex and futures carries a high risk of losing money. TraderWAI is a technology tool: it does not provide investment advice and does not manage funds. The AI's analyses and proposals are not recommendations; you decide every order.

© 2026 TraderWAI · FLEXIN AGILE LTD