HorizonAI
Pine Script · MetaTrader 5 · NinjaScript

From idea to live strategy.

HorizonAI is your AI trading platform that builds, backtests and iterates for you.

Start Free Trial7-day free trial · No credit card

Trusted by over 10,000 traders · Created over 50,000 scripts

XAU/USDH1
2,050 1.81%

You own the code. Export full Pine Script, MQL5 or NinjaScript source. It's yours to keep, edit and run.

Non-custodial by design. HorizonAI generates and backtests code. It never connects to your broker, holds funds, or places trades.

No lock-in. Run your strategies on TradingView, MetaTrader 5 or NinjaTrader — cancel any time, keep every script.

Build for the platforms you already trade on

See how it compares to the TradingView Pine Editor or writing the code by hand.

Backtesting, handled

Backtest anything.
Horizon reads it for you.

Run your strategy against real market history, then let Horizon do the reading. It analyses every metric, shows you exactly where you're losing money, and rewrites the strategy to fix it — so you go from idea to edge without touching a line of code.

  • Real backtests on MetaTrader 5 & Pine Script — your true edge, not a simulation
  • Plain-English breakdowns that show exactly what to fix, and why
  • Unlimited backtests — iterate as fast as you can think
Try it freeIn your free trial · unlimited on Pro

Backtesting Pine Script on TradingView? Add the free Horizon TV Backtester extension.

Backtest this mean-reversion strategy on EURUSD, M15.
EURUSD · Mean ReversionMT5 Strategy Tester · M15 · 12 months
Live result
Net Profit+$4,820
Win Rate62.4%
Profit Factor1.94
Max Drawdown8.1%
Total Trades318
Sharpe1.72

Strong result overall — but your losses cluster in Q3, and that's the weakest stretch of the year. Tighten the stop to 1.2× ATR and the backtest cuts max drawdown to ~4.8% while keeping most of the profit.

Visual Flow
EMA Fast12
EMA Slow26
Crossoverfast × slow
Buygo long
Sellgo short

When the fast average crosses above the slow one, the trend is turning up — buy. When it crosses back below, sell.

Drag the blocks — this is your strategy, in plain sight
Visual Flow · on every plan

Your strategy,
in plain sight.

Horizon turns your strategy into a simple map of blocks — the inputs, the rules, and the buy and sell signals, laid out so you can follow them. No code. No jargon. Just see exactly how it makes every decision.

  • Built for you automatically, the moment your strategy is written
  • Follow every rule, from indicator to buy or sell signal
  • Drag the blocks and explore it yourself — no learning curve
See your strategy visuallyIncluded on every plan, including the free trial
Why traders switch

Everything else, handled for you

You bring the trading idea. Horizon does the technical part — every time.

No error messages, ever

Broken code fixes itself

When something won't run, Horizon spots what's wrong and rewrites it until it works. You never see a red error, and you never touch a line of code — it just keeps going until the strategy is ready.

Switch platforms in one click

Move a strategy between TradingView, MetaTrader 5 and NinjaTrader — the logic comes with it, in any direction.

One chat, three platforms

Build for all three platforms you already trade from the same conversation — with more on the way.

From screenshot to strategy

Show it a chart screenshot or paste a YouTube tutorial — Horizon reads the strategy and writes it for you.

Simple pricing

Choose your plan

Every plan starts with a 7-day free trial — Pine Script & MT5 backtesting included. No card, no hidden fees.

New to this? Tokens are simply how much AI you can use each month.

Secure checkout
10,000+ traders
Cancel anytime
Starter
$12/mo

Build for TradingView, MetaTrader 5, and NinjaTrader.

  • 2.5M basic tokens per month
  • Visual Flow — see your code as a graph
  • Access to free Script Library
  • Upload images to guide generation
  • Email support
Start 7-day free trial

No credit card required

Pro
$25/mo

Backtest, iterate, and convert across languages.

  • 2.5M pro tokens per month
  • Unlimited basic tokens
  • Backtest Pine Script & MT5 — no per-backtest limits
  • AI Convert: Pine Script ↔ MQL5 ↔ NinjaScript
  • Visual Flow — see your code as a graph
  • Upload images to guide generation
  • Upload videos (YouTube) to guide generation
  • Full Script Library, including pro scripts
  • Priority support
Start 7-day free trial

No credit card required

Elite
$39/mo

For power users who need more premium AI capacity.

  • 5M pro tokens per month
  • Unlimited basic tokens
  • Backtest Pine Script & MT5 — no per-backtest limits
  • AI Convert: Pine Script ↔ MQL5 ↔ NinjaScript
  • Visual Flow — see your code as a graph
  • Upload images to guide generation
  • Upload videos (YouTube) to guide generation
  • Full Script Library, including pro scripts
  • Priority support
Start 7-day free trial

No credit card required

Secure payment via Stripe
Full source code ownership
Discord community access
FAQ

Frequently asked questions

Straight answers on how Horizon builds, tests, and fixes your strategies — no code knowledge needed.

Every plan starts with a 7-day free trial — no card, no commitment. You get the full AI, backtesting on both TradingView (Pine Script) and MetaTrader 5, and image uploads so you can hand Horizon a screenshot of a chart or setup to build from. Cancel any time before day 7 and you're never charged.

The three most traders already use: TradingView (its Pine Script), MetaTrader 5 (its MQL5) and NinjaTrader (its NinjaScript). You pick the platform in plain terms — Horizon handles the language behind it. More platforms are on the way.

Ask Horizon to backtest a strategy and it runs a real test — on TradingView or MetaTrader 5 — then reads the results back in plain English: how often it won, how much it gave back at its worst point, where it's weak, and what to change. There are no per-backtest limits; the only ceiling is your monthly token allowance. For Pine Script on TradingView, install the free Horizon TV Backtester Chrome extension and it runs right on your chart.

Visual Flow lays your strategy out as an interactive map of blocks — your inputs, the logic, and the buy and sell signals — so you can follow how it actually makes decisions at a glance. Nothing to read; just see how the pieces connect. Free on every plan, trial included.

Yes. The Converter rewrites a strategy from one platform to another — TradingView, MetaTrader 5 or NinjaTrader, in any direction. It's a real AI translation, not a find-and-replace, so the actual trading logic carries across intact.

A general chatbot writes code in a vacuum. Horizon is built for one job — trading strategies — so it knows all three platforms natively, runs real backtests, shows your strategy as a visual map, and quietly fixes its own errors before handing anything back. You describe the trade; it handles the technical part.

Absolutely. Paste in a strategy you already use, tell Horizon what to change, and it edits it for you — adjusting the logic, fixing anything that breaks, and explaining what it did. You never have to touch the code yourself.

Every member gets our Discord community. Starter includes email support; Pro and Elite get priority support, so your questions jump the queue.

Still have questions?

Can't find the answer you're looking for? Reach out to our team.

Contact Support