🚀Limited: a full week of Pro for $1 — our best AI, backtesting & the whole script library.Claim your offer →
HorizonAI
Pine Script · MetaTrader 5 · NinjaScript

From idea to live strategy.

HorizonAI is your AI trading platform. Build, backtest, and iterate on trading algorithms — without writing a line of code.

Start Free Trial7-day free trial · No credit card
Horizon AIOnline
U

Create a Fair Value Gaps indicator for TradingView

AI

On it! I'll build a Pine Script indicator that detects bullish and bearish FVGs on your chart.

Writing code…
fair_value_gaps.pine

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.

HorizonAI is a code-generation and backtesting tool, not a broker, fund manager, or financial adviser. Nothing here is financial advice. Trading involves substantial risk of loss.

Build for the platforms you already trade on

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

Backtest & Iterate

Backtest in MT5.
Iterate with AI.

Generate a strategy, run a real backtest in MetaTrader 5, then talk to the AI about the results. Win rate too low? Drawdown too steep? The AI reads the report and rewrites the strategy with you — in seconds.

  • Native MT5 backtests — not synthetic simulations
  • AI reads your report and proposes edits with reasoning
  • Build → test → refine in a single loop
Try it free5 free backtests in your trial
EURUSD · Mean ReversionMT5 Strategy Tester · M15 · 12 months
Live result
Net Profit+$4,820
Win Rate62.4%
Max DD8.1%

Illustrative backtest of a sample strategy. Hypothetical results are not a track record; past performance does not guarantee future results.

Drawdown is high in Q3 — want me to tighten the stop and re-test?
Visual FlowEMA Crossover · auto-generated
100%
Click any node to jump to that line of code
Visual Flow · Free for everyone

Non-coders can finally
read their code.

HorizonAI turns any strategy into a clean node graph. See inputs, logic, and signals flowing through the chart — no syntax, no jargon. Understand exactly what your script does before you ship it.

  • Auto-generated from your code, instantly
  • Click a node, jump to the line that powers it
  • No other AI tool gives you this
See your code as a graphIncluded on every plan, including the free trial
More reasons to switch

Built end-to-end for algorithm builders

Everything between “I have an idea” and a script you can actually run.

Automatic Error Fixing

HorizonAI compiles your script, catches errors, and rewrites the broken lines until it works — no copy-pasting stack traces, no Googling cryptic syntax.

AI Script Converter

Convert between Pine Script and MetaTrader 5 in one click. Real AI translation — not a hardcoded lookup table — so the logic actually carries across.

Three languages, one platform

Build for TradingView, MetaTrader 5, and NinjaTrader from the same chat. More platforms in the pipeline — the AI scales with your toolkit.

Images & videos to scripts

Drop a chart screenshot or paste a YouTube tutorial. HorizonAI extracts the strategy and writes the code so you don't have to describe what you saw.

Limited-time offerTry Horizon Pro for $1A full week of everything — our most powerful AI, strategy backtesting, and the entire script library. Build like a pro before you pay like one.Start my $1 week$1 today, then $25/mo. Cancel anytime.
💎Simple Pricing

Choose your plan

Get a full week of Pro for $1 — our best AI, backtesting, and the whole library. Or start a free basic preview to look around first (basic AI, 7 days, no card).

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$1first week

Backtest, iterate, and convert across languages.

  • 2.5M pro tokens per month
  • Unlimited basic tokens
  • Backtest in MT5 & iterate with the AI
  • AI Convert: Pine Script ↔ MetaTrader 5
  • 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 my $1 week

$1 today, then $25/mo. Cancel anytime.

Elite
$39/mo

For power users who need more premium AI capacity.

  • 5M pro tokens per month
  • Unlimited basic tokens
  • Backtest in MT5 & iterate with the AI
  • AI Convert: Pine Script ↔ MetaTrader 5
  • 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

Everything you need to know about HorizonAI

Every plan starts with a 7-day free trial — no credit card required. You get full access to the AI, 5 MT5 backtests, and 3 image uploads to guide your strategy. Cancel anytime before day 7 and you won't be charged.

HorizonAI supports TradingView Pine Script, MetaTrader 5 (MQL5), and NinjaScript (NinjaTrader). We're actively adding more — the platform is built to grow with your toolkit.

Generate a strategy, run a real backtest in MetaTrader 5, then talk to the AI about the results. It reads your report — win rate, drawdown, equity curve — and proposes edits to the strategy. Build, test, and refine in one loop.

Visual Flow turns any script into a node-and-edge graph so you can see inputs, logic, and signals at a glance. Click a node to jump to the line of code that powers it. Free on every plan, including the trial.

Yes — the AI Converter translates between Pine Script and MetaTrader 5 (MQL5). It's a real AI translation, not a lookup table, so the logic actually carries across. More language pairs are on the way.

HorizonAI is purpose-built for algorithmic trading. It writes Pine Script, MQL5, and NinjaScript natively, runs real MT5 backtests, visualizes your code as a flow graph, and auto-fixes compilation errors — none of which a general-purpose chatbot can do.

Yes. Paste your current script and describe the changes. HorizonAI proposes edits, auto-fixes errors, and helps you validate the result.

Email support on Starter, Priority support on Pro and Elite, plus a Discord community for all members.

Still have questions?

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

Contact Support
Community

Join the HorizonAI Discord

Hang out with traders, get support, and share strategies. Learn from real setups, swap ideas, and stay up to date with the latest tools and releases.

Active community
Direct support
Script sharing
Join Discord

Free to join • No spam • Be kind