Write strategies.
Test thousands in seconds.

TrainBard compiles Pine Script through a custom engine and runs it against historical crypto data at scale.

Strategies and results are not stored.

Best Return
+52.1%
fast 56 / slow 62
Combinations
19,521
parameter sweep
Buy & Hold
-8.2%
same period
Best Win Rate
54.5%
fast 57 / slow 60
Equity Curves — Top 25 vs. Buy & Hold
Best Top 25 Buy & Hold
+60% +30% 0% -15%
Apr 2025 Jun Aug Oct Dec Feb 2026
Moving Average Cross on BTC/USDT · 19,521 combinations · Top 25 equity curves vs. buy and hold

Workflow

Write. Test. Inspect.

Three steps from a Pine Script idea to inspectable results.

01 · Write

Write Pine Script.

Use a familiar editor with documentation beside your code.

02 · Test

Sweep the inputs.

Run the full set of combinations instead of tuning one value at a time.

03 · Inspect

Open any result.

See the chart, trade markers, fees, drawdown, win rate, and every entry and exit.

Write

Pine Script in a familiar editor.

Write or paste a strategy. The docs sit next to your code, so you can shape the idea before you run it.

  • Pine Script strategy syntax for common TradingView workflows
  • Built-in documentation for supported functions
  • Syntax highlighting that matches the platform
  • Strategy entries, exits, indicators, and overlays
  • Honest notes if a TradingView feature is not supported
TrainBard code editor with Pine Script and inline documentation panel TrainBard code editor with Pine Script and inline documentation panel
Editor on the left. Function docs beside it.
TrainBard batch results table ranked by final value TrainBard batch results table ranked by final value
Inputs on the left. Ranked evidence on the right.

Test

Test the range, not one setting.

A single backtest can make one parameter set look better than it is. Define ranges, run the combinations, and compare them in a ranked table.

  • Define ranges for inputs like lengths, thresholds, and stops
  • See the combination count before you run
  • Compare return, buy-and-hold, win rate, trades, and drawdown
  • Sort and export the result set
  • Scale from a free test to large sweeps with paid plans

A fast length range and a slow length range can become thousands of strategy versions. TrainBard ranks the outcomes so you can ask better questions, not guess which input to try next.

Analyze

Open the trades behind the ranking.

The top row is only the start. Open any result to see the chart, buy and sell markers, the trade list, fees, drawdown, and how it compared with simply holding.

  • Candlestick chart with strategy markers
  • Full trade list with entry, exit, amount, change, percent, and fees
  • Summary metrics for the selected result
  • Buy-and-hold comparison for the same period
  • CSV and JSON export
TrainBard detailed trade view: chart with markers above, trade table below TrainBard detailed trade view: chart with markers above, trade table below
Chart, markers, and the trades that produced the ranking.
TrainBard Projection Map showing batch results clustered across parameters TrainBard Projection Map showing batch results clustered across parameters
Treat clusters as questions to investigate, not predictions.

Discover

Find robust regions, not lucky peaks.

The top result can still be an outlier. The Projection Map shows clusters of settings that behave similarly, so you can separate a fragile winner from a region worth exploring.

  • Plot batch results across chosen metrics and parameters
  • Rotate and filter the result set in 3D when available
  • Use color to surface stronger regions
  • A research aid, not a prediction engine
  • Export views you want to keep

Privacy

Your strategy stays yours.

TrainBard sends your script to the engine, runs the backtest, and streams results back to your browser. We don't store your strategies or result history.

Your browser Backtest engine Results stream Your browser

No cloud result history. Your scripts stay in your browser.

Pricing

Start free. Scale when you need to.

Move up when you need more combinations, longer date ranges, or faster throughput.

Free

$0

  • 500 combinations per batch
  • 1 year date range
  • Standard queue · 1x throughput

Standard

$10/mo

  • 10,000 combinations per batch
  • 2 year date range
  • Priority queue · 1x throughput

Pro 2x

$25/mo

  • 20,000 combinations per batch
  • 4 year date range
  • Higher priority · 2x throughput

Pro 5x

$100/mo

  • 100,000 combinations per batch
  • Unlimited date range
  • Highest priority · 5x throughput

FAQ

Common questions.

Can I paste Pine Script from TradingView?
You can use supported Pine Script strategy syntax. Coverage is expanding; unsupported features are called out clearly rather than failing silently.
Is this a TradingView replacement?
No. TrainBard is a batch backtesting workspace for Pine Script. TradingView is still useful for charting, publishing, alerts, and manual analysis.
Does TrainBard tell me what to trade?
No. It helps you test and inspect a strategy idea. The decision remains yours.
Why run many combinations?
Because one setting can look good by accident. Testing a range shows whether performance is isolated or part of a broader pattern.
What gets stored?
Strategies and result history are not stored as user-facing cloud artifacts. Some operational logs and account or billing data may still exist; see the security notes.

Get started

Bring one strategy. Test the range.

Free to start. Export the work you want to keep.