Sonar AI

Describe the edge. Sonar builds it.

Sonar is the AI layer of StochLab. It writes, validates and backtests indicators and strategies from plain English — for TradingView and MetaTrader 4/5 — and it never hands you code it can't prove compiles.

94% build pass rate 12M+ backtested strategies 25 free credits / month
SONAR · platform console live
Architect · session-momentum.pine compiled clean, 10,000-bar check passed 3.2s
Backtest · ranked 12.4M strategies for "liquidity sweep fade" fit 0.96
Live · extension linked, BTC-PERP order book streaming on
Build pass rate · 100-indicator suite
Backtested strategies indexed
Bars runtime-checked per build
Native backtesters on TradingView
ARCHITECT · build 4,182 compiled
You Flag momentum shifts inside the London session — only when volume confirms — and color the shift candles.
Sonar Architect Built and validated. One rewrite after a runtime error on bar 6,412 — fixed and re-proven.
✓ compile ✓ 10,000-bar runtime ✓ benchmark vs 3 baselines
session-momentum-shift.pine
Pine v6 MQL4 MQL5
// Sonar Architect · validator passed · ready to deploy
indicator("Session Momentum Shift", overlay=true)
len   = input.int(14, "Momentum length")
ldn   = not na(time(timeframe.period, "0800-1630", "Europe/London"))
k     = ta.stoch(close, high, low, len)
drift = ta.ema(k, 5) - ta.ema(k, 21)
shift = ta.crossover(drift, 0) and volume > ta.sma(volume, 20) and ldn
barcolor(shift ? color.aqua : na)
Sonar Architect

From plain English to proven code — in your platform's language.

Prompt in an idea; Architect returns a deployable indicator rendered live on-chart. Every build runs a full validation loop before you ever see it — Sonar never ships code it can't prove compiles.

  • ✓Prompt to chart — describe the logic; get working code rendered on live data, not a snippet to debug yourself.
  • ✓Three codegen targets — the same prompt builds in Pine Script® v6, MQL4 or MQL5.
  • ✓Vision-to-Code — upload a screenshot of any chart and Architect rebuilds what it sees as an indicator you own.
  • ✓Auto-debug loop — compiles, runtime-checks 10,000 bars, benchmarks against baselines and rewrites itself on any failure.
  • ✓1-click deploy — the finished build exports straight to your platform with inputs and alert conditions pre-wired.
01 · BRAINSTORM

Talk the idea out

Architect drafts the logic, suggests filters you didn't ask for, and pressure-tests the concept before a single line is written.

02 · EDIT

Revise in plain English

"Widen the stop." "Only trade the London session." Every revision re-runs the full compile-and-validate loop automatically.

03 · DEPLOY

One click to your platform

Export the finished build to TradingView or MetaTrader 4/5 with inputs, styling and alert conditions already configured. It runs the moment it lands.

Benchmarked, not vibes

Build pass rate · 100-indicator test suite

pass = compiles clean + survives 10,000 bars
StochLab Sonar
94%
Generic LLM chat
~50%

Same 100 prompts, same grader. General-purpose chat models hand back code that looks right; the validator loop is why Architect's builds actually run.

BACKTEST · query: "liquidity sweep fade, BTC 4H" ranked
StrategyWin %PFMax DDFit
Liquidity Sweep Fade61.41.94-9.3%0.96
Keltner Squeeze Break63.82.12-8.4%0.93
Session Open Reversal58.11.87-11.2%0.91
MTF Divergence Rider55.92.31-13.6%0.88
Volume Shelf Retest64.21.72-7.8%0.85
Sonar Backtest

Search 12M+ strategies like a quant desk.

Describe the kind of edge you want. Backtest's agent searches a pool of 12M+ backtested strategies and returns the ones that actually fit — ranked by concept match and risk-adjusted return, not popularity.

  • ✓Agentic search — the agent reads your intent, sweeps the pool and ranks by concept fit and risk/return.
  • ✓No-code configurator — adjust conditions, parameters and filters on any result without touching a line of code.
  • ✓1-click export — send any configured strategy straight to TradingView or MT5.
  • ✓Trade-ready alerts — saved strategies become alerts synced to their live backtest, delivered by email or webhook to brokers, bots and prop accounts.
LIVE · SOL-PERP order book streaming
Whale bid absorbed at $178.40 · 214K SOL +1.2%
Liquidation cluster mapped above $196.00 $31.7M
AI resistance · intensity 0.87 191.20
Sentiment · long/short skew, 3 venues 57 / 43
Sonar Live

Your chart, with an AI co-pilot riding on it.

A browser extension that lives inside TradingView. It reads the symbol, timeframe and indicators on your screen and layers real-time market intelligence directly onto the chart.

  • ✓Chart-aware AI chat — ask about the exact chart you're looking at; Sonar answers in that context.
  • ✓Order book + sentiment — live depth and long/short positioning beside price, refreshed every tick.
  • ✓AI support / resistance — model-scored levels where intensity equals strength; the brighter the level, the harder it holds.
  • ✓Whale & liquidation alerts — large prints, liquidation clusters and liquidity-wall maps across Binance, Bybit and OKX.
Free to install Premium panels unlock with any paid plan
TradingView Backtesters · Ultimate & Lifetime

Three backtesters. Zero repainting.

Every Sonar export lands in a native TradingView backtester, auto-configured and ready to run. Results are computed out-of-sample on non-repainting logic — the number you see is the number you'd have traded. Need a second opinion? Every run exports to MT5 Strategy Tester.

Signals Backtester

Runs signal-and-overlay logic — entries, take-profits, trailing stops — through full-history simulation. Every trade is priced at the bar the signal fired, never after.

Structure Backtester

Tests price-action concepts — order-block reactions, sweep reversals, structure-shift entries — with out-of-sample splits enforced by default.

Matrix Backtester

Quantifies oscillator confluence: divergence entries, exhaustion fades and momentum-wave exits, scored regime by regime.

SIGNALS BT · ETH 1H · 2019 → 2026 out-of-sample
Win rate61.4%
Profit factor1.94
Max DD-9.3%
Trades1,204
Proof, on the chart

The stats live where the trades do.

No exports, no spreadsheets. P&L, win rate, drawdown and profit factor render directly on the chart, and the deep optimization engine keeps the settings honest as markets change.

  • ✓On-chart results — every metric drawn next to the trades that produced it.
  • ✓Side-by-side comparison — run two setting profiles on the same market and diff every number.
  • ✓Deep optimization engine — re-tunes signal settings as regimes shift, so last quarter's tuning doesn't trade this quarter's market.
  • ✓Weekly scanner reports — what's working right now across your watchlist, delivered every week.
Credits

One meter for the whole platform.

Credits are Sonar's usage currency, shared across Architect and Backtest. Every build, revision and ranked search draws from the same monthly pool — and the pool resets on the 1st of every month.

CREDITS · Premium · July resets Aug 1
342 / 500 used 158 left
Architect214
Backtest128
Remaining158

A typical Architect build costs a handful of credits; a ranked Backtest search costs a few more. Sonar Live panels never consume credits.

PlanCredits / moNotes
Free25try Architect & Backtest
Essential100starter workflow
Premium500daily building & searching
Ultimate2,000adds the 3 Backtesters
Lifetime2,000priority queue
Put an AI quant on your charts

Your next indicator is one sentence away.

Every plan includes Sonar credits, and every account starts with 25 free ones each month. Describe the edge — Sonar handles the rest.

30-day money-back guarantee · Cancel anytime · Credits reset on the 1st