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.
HorizonAI is your AI trading platform that builds, backtests and iterates for you.
Trusted by over 10,000 traders · Created over 50,000 scripts
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.
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.
Backtesting Pine Script on TradingView? Add the free Horizon TV Backtester extension.
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.
Illustrative backtest of a sample strategy. Hypothetical results are not a track record; past performance does not guarantee future results.
When the fast average crosses above the slow one, the trend is turning up — buy. When it crosses back below, sell.
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.
You bring the trading idea. Horizon does the technical part — every time.
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.
Move a strategy between TradingView, MetaTrader 5 and NinjaTrader — the logic comes with it, in any direction.
Build for all three platforms you already trade from the same conversation — with more on the way.
Show it a chart screenshot or paste a YouTube tutorial — Horizon reads the strategy and writes it for you.
Every script is a complete, working strategy — not a blank page. Drop one on your chart, then just tell Horizon what to change. You start from something that already works.
5 free scripts available • Educational tools only
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.
Build for TradingView, MetaTrader 5, and NinjaTrader.
No credit card required
Backtest, iterate, and convert across languages.
No credit card required
For power users who need more premium AI capacity.
No credit card required
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.
Can't find the answer you're looking for? Reach out to our team.