# HorizonAI > HorizonAI is an AI platform for building, backtesting, and iterating trading algorithms. It generates and converts indicators and strategies in Pine Script (TradingView), MQL5 (MetaTrader 5), NinjaScript (NinjaTrader) and Python from natural language — with a Monaco code editor, a visual flow builder, a live chart for Python strategies, MT5 and Python backtesting, TradingView backtesting through the HorizonAI Chrome extension, and a curated script library. Product app: https://app.horizontrading.ai — start a 7-day free trial at https://app.horizontrading.ai/auth/join ## What HorizonAI can do - Generate TradingView Pine Script (v6) indicators and strategies from a plain-English description, in chat. - Generate MetaTrader 5 MQL5 Expert Advisors and indicators from the same kind of description. - Generate NinjaTrader NinjaScript strategies and indicators. - Generate Python indicators and strategies that run inside HorizonAI against a pre-loaded price DataFrame (pandas, numpy and pandas_ta in a sandbox), and draw them on a live chart that redraws as the AI writes the code. Python mode is available on every plan. - Backtest a Python strategy in the chat in seconds — no queue and no install. The AI can run the backtest itself mid-reply and quote the resulting metrics back (running a backtest requires Pro or Elite). - Export a Python strategy out to Pine Script, MQL5 or NinjaScript from the Export menu in the chat, which opens the converted script in a new chat. Export is one-way: nothing converts into Python. - Convert code between Pine Script, MQL5 and NinjaScript in any direction, including TradingView-to-MetaTrader-5 and MetaTrader-5-to-TradingView. - Fix broken or non-compiling Pine Script and MQL5, explaining what was wrong. - Backtest MQL5 strategies on MetaTrader 5 and iterate on the result with the AI — reading the report, changing the logic, and re-running it (Pro and Elite). - Backtest Pine Script strategies on TradingView via the HorizonAI Chrome extension, which drives the TradingView Strategy Tester in the user’s own browser and returns the results to the chat (Pro and Elite; published on the Chrome Web Store). - Edit generated code directly in a Monaco editor, and view a strategy’s logic as a visual flow. - Browse a curated Script Library, with new scripts released to subscribers weekly. What it does not do: HorizonAI is a code-generation and backtesting tool. It is not a broker, a signal service, or a financial adviser. It does not place live trades, run an autonomous trading bot, hold funds, or promise profits. Quant Mode grades and backtests are hypothetical results on past data, not a recommendation to trade. ## Pricing HorizonAI has two monthly plans (USD, cancel anytime); every plan starts with a 7-day free trial, no credit card required. There is no free-forever tier. The free trial covers AI chat, script generation and backtesting. It does NOT include image or PDF uploads, YouTube video analysis or link reading, or AI script conversion — those are on Pro and Elite. - Pro ($25/mo): Pine Script, MQL5, NinjaScript and Python generation (including the live Python chart), Visual Flow, MT5 backtesting with AI iteration, TradingView backtesting via the HorizonAI Chrome extension, in-chat Python backtesting, AI conversion between Pine Script, MQL5 and NinjaScript (any direction), unlimited basic generations, chart image and PDF uploads, YouTube video uploads and link reading, full Script Library including pro scripts, priority support. - Elite ($39/mo): everything in Pro + a higher monthly pro-token ceiling for power users. ## About HorizonAI (https://www.horizontrading.ai) generates, backtests, grades and converts trading strategies across TradingView (Pine Script), MetaTrader 5 (MQL5), NinjaTrader (NinjaScript) and Python from natural language. It is a code-generation and backtesting tool, not a broker or financial adviser — it never holds funds or places trades. Backtests and Quant Mode grades are hypothetical results on past data, not live performance and not a recommendation to trade. Users own and export every script they generate. Terms: https://www.horizontrading.ai/terms — Risk disclosure: https://www.horizontrading.ai/risk ## Documentation - [Quickstart](https://www.horizontrading.ai/docs/getting-started) - [Models, Tokens and Usage](https://www.horizontrading.ai/docs/models-and-tokens) - [How to Talk to HorizonAI](https://www.horizontrading.ai/docs/how-to-prompt) - [Quant Mode](https://www.horizontrading.ai/docs/quant-mode) - [Alpha Hunts](https://www.horizontrading.ai/docs/alpha-hunts) - [Agents](https://www.horizontrading.ai/docs/agents) - [The Horizon Platform](https://www.horizontrading.ai/docs/python-mode) - [Backtesting](https://www.horizontrading.ai/docs/python-backtesting) - [Multi-Market Backtests](https://www.horizontrading.ai/docs/multi-market-backtests) - [Stress Testing](https://www.horizontrading.ai/docs/stress-testing) - [Portfolios](https://www.horizontrading.ai/docs/groups) - [Portfolio Optimizer](https://www.horizontrading.ai/docs/group-stats) - [Visual Flow](https://www.horizontrading.ai/docs/visual-flow) - [Script Library and Weekly Drops](https://www.horizontrading.ai/docs/script-library) - [Exporting from Horizon](https://www.horizontrading.ai/docs/python-export) - [Install on TradingView](https://www.horizontrading.ai/docs/run-on-tradingview) - [Install in MetaTrader 5](https://www.horizontrading.ai/docs/run-on-metatrader-5) - [Install in NinjaTrader](https://www.horizontrading.ai/docs/run-on-ninjatrader) - [Convert Pine Script to MT5](https://www.horizontrading.ai/docs/convert-pinescript-to-mt5) - [Convert MT5 to Pine Script](https://www.horizontrading.ai/docs/convert-mt5-to-pinescript) - [Convert to NinjaScript](https://www.horizontrading.ai/docs/convert-to-ninjascript) - [Overview](https://www.horizontrading.ai/docs/horizon-tradingview) - [Backtest with the Chrome Extension](https://www.horizontrading.ai/docs/horizon-tradingview-backtester) - [Pine Script Warnings](https://www.horizontrading.ai/docs/pinescript-warnings) - [Using the Strategy Tester](https://www.horizontrading.ai/docs/backtest-on-tradingview) - [Overview](https://www.horizontrading.ai/docs/horizon-metatrader-5) - [One-Click Backtesting](https://www.horizontrading.ai/docs/horizon-mt5-backtester) - [Setting up MetaTrader 5](https://www.horizontrading.ai/docs/setting-up-metatrader-5) - [Intro to MetaEditor](https://www.horizontrading.ai/docs/intro-to-metaeditor) - [Open MetaEditor in MT5](https://www.horizontrading.ai/docs/open-metaeditor-in-mt5) - [Download MetaEditor 5](https://www.horizontrading.ai/docs/download-metaeditor-5) - [MetaEditor command line compile](https://www.horizontrading.ai/docs/metaeditor-command-line-compile) - [Backtesting in the MT5 Desktop App](https://www.horizontrading.ai/docs/mt5-backtesting) - [Getting MT5 tick data](https://www.horizontrading.ai/docs/mt5-tick-data) - [Using the Journal](https://www.horizontrading.ai/docs/mt5-journal) - [Set a default chart template](https://www.horizontrading.ai/docs/mt5-default-template) - [Overview](https://www.horizontrading.ai/docs/horizon-ninjatrader) - [Setting up NinjaTrader 8](https://www.horizontrading.ai/docs/setting-up-ninjatrader) - [Using the NinjaScript Editor](https://www.horizontrading.ai/docs/ninjascript-editor) - [Backtesting in NinjaTrader](https://www.horizontrading.ai/docs/ninjatrader-backtesting) ## Guides & Tutorials - [ATR Indicator Explained — How to Use Average True Range in Trading](https://www.horizontrading.ai/learn/atr-indicator-explained): Learn how the ATR (Average True Range) indicator works and how to use it for stop losses, position sizing, and volatility analysis. Includes Pine Script code examples. - [How to Automate Your Trading Strategy on MetaTrader 5 — Complete MT5 Automation Guide](https://www.horizontrading.ai/learn/automate-trading-mt5-guide): Complete guide to automating trading strategies on MetaTrader 5. Learn how to set up Expert Advisors, configure VPS hosting, run 24/7 automated trading, and optimize MQL5 EAs for live forex and CFD markets. - [Understanding Backtesting Metrics — Win Rate, Profit Factor, Sharpe Ratio Explained](https://www.horizontrading.ai/learn/backtesting-metrics-explained): Master trading backtesting metrics to evaluate strategy performance. Learn how to interpret win rate, profit factor, Sharpe ratio, maximum drawdown, and expectancy to build profitable trading systems for stocks, forex, and crypto. - [How to Backtest Trading Strategies Like a Pro — Avoid These 7 Deadly Mistakes](https://www.horizontrading.ai/learn/backtesting-mistakes-avoid): Learn the most common backtesting mistakes that ruin trading strategies. Discover how to avoid overfitting, look-ahead bias, survivorship bias, and data-snooping in your TradingView and MT5 backtests for accurate, reliable results. - [Backtesting Smart Money Concepts — How to Validate SMC Strategies Before Risking Real Capital](https://www.horizontrading.ai/learn/backtesting-smart-money-concepts): Learn how to backtest Smart Money Concepts (SMC) like BOS/CHOCH, liquidity grabs, fair value gaps, and order blocks. See how to turn ICT-style ideas into testable Pine Script rules on EURUSD before trading them live. - [Best AI Pine Script Generator: 7 Tools Compared (2026)](https://www.horizontrading.ai/learn/best-ai-pine-script-generator): An honest comparison of the AI Pine Script generators for TradingView: Pineify, PineGen AI, LuxAlgo Quant, HorizonAI, GetPineScript, Claude and ChatGPT. - [7 Best Technical Indicators for Day Trading (Backed by Data)](https://www.horizontrading.ai/learn/best-indicators-for-day-trading): Discover the most effective technical indicators for day trading stocks, forex, and crypto. Learn how to combine RSI, VWAP, EMA, and volume indicators for better entry and exit signals in fast-moving markets. - [7 Best Pine Script Strategies for TradingView (With Code)](https://www.horizontrading.ai/learn/best-pinescript-strategies): Discover the best Pine Script strategies for TradingView. From EMA crossovers to smart money concepts, learn proven strategies with code examples you can use today. - [Bollinger Bands Strategy for Day Trading — Setup and Backtest Guide](https://www.horizontrading.ai/learn/bollinger-bands-day-trading-strategy): Learn proven Bollinger Bands strategies for day trading. Includes setups, entry rules, backtesting tips, and Pine Script code for TradingView. - [Bollinger Bands Strategy — 5 Profitable Ways to Trade BB Squeezes and Bounces](https://www.horizontrading.ai/learn/bollinger-bands-trading-strategy): Master Bollinger Bands trading strategies for mean reversion, breakouts, and squeeze plays. Learn how to trade BB bounces, band walks, and volatility expansions with complete code examples for TradingView and MT5. - [Combining Smart Money Concepts with Classic Indicators — EMA, RSI, and Volume Filters](https://www.horizontrading.ai/learn/combining-smc-with-indicators): Learn how to combine Smart Money Concepts (SMC) with classic indicators like EMA, RSI, and volume. Use indicators as objective filters around structure, liquidity, order blocks, and FVGs, and see how to start automating these hybrids in Pine Script. - [How to Create Your First Metatrader 5 Indicator — No Coding Experience Required](https://www.horizontrading.ai/learn/create-first-mt5-indicator): Learn how to build your first Metatrader 5 indicator without writing a single line of code. This beginner-friendly guide shows you how to use AI to create powerful custom indicators for MT5. - [How to Create a Trading Bot for MT5 (No Coding Required)](https://www.horizontrading.ai/learn/create-trading-bot-mt5-no-code): Learn how to create an automated trading bot for MetaTrader 5 without coding. Step-by-step guide using AI tools to generate, test, and deploy your MT5 Expert Advisor. - [Day Trading with Smart Money Concepts — Intraday Structure, Liquidity Hunts, and Kill Zones](https://www.horizontrading.ai/learn/day-trading-with-smart-money-concepts): Learn how to day trade using Smart Money Concepts (SMC). Understand intraday structure, liquidity hunts, kill zones, and how to frame EURUSD 1m–15m trades you can later automate and backtest in Pine Script. - [EMA vs SMA — Which Moving Average is Better for Trading? (Backtested Results)](https://www.horizontrading.ai/learn/ema-vs-sma-comparison): Compare EMA vs SMA for trading with backtested results. Learn the differences between Exponential and Simple Moving Averages, when to use each, and which performs better for day trading, swing trading, and trend following strategies. - [Fair Value Gaps (FVG) and Imbalances — How to Build High-Probability SMC Entry Models](https://www.horizontrading.ai/learn/fair-value-gaps-fvg-imbalances): Understand fair value gaps (FVG) and imbalances in Smart Money Concepts. Learn how displacement creates FVGs, how to use them for entries, and how to start testing FVG-based models in Pine Script with the help of HorizonAI. - [Fair Value Gaps (FVG) Trading Strategy — Complete Guide](https://www.horizontrading.ai/learn/fair-value-gaps-fvg-strategy): Master Fair Value Gaps (FVG) trading with this complete guide. Learn how to identify, trade, and combine FVGs with other concepts for high-probability setups. Includes Pine Script code. - [From Retail Concepts to Smart Money — How to Evolve Your Trading Framework in 2025](https://www.horizontrading.ai/learn/from-retail-to-smart-money): See how to transition from classic retail trading concepts to Smart Money style thinking. Learn how support/resistance, indicators, and patterns map into market structure, liquidity, order blocks, and FVGs—and how to modernize your playbook with automation. - [How to Backtest a Trading Strategy (Complete Step-by-Step Guide)](https://www.horizontrading.ai/learn/how-to-backtest-trading-strategy): Learn how to backtest a trading strategy properly. This step-by-step guide covers backtesting basics, common mistakes, key metrics to track, and how to validate your strategy before trading live. - [ICT Trading Concepts Explained — Order Flow, Liquidity & Market Structure](https://www.horizontrading.ai/learn/ict-trading-concepts-explained): Learn ICT (Inner Circle Trader) concepts including order flow, liquidity pools, market structure, order blocks, and fair value gaps. Complete guide with examples and trading applications. - [Liquidity Sweeps Explained — How Smart Money Hunts Stop Losses](https://www.horizontrading.ai/learn/liquidity-sweeps-explained): Learn how liquidity sweeps work and why smart money hunts stop losses before major moves. Includes identification techniques, trading strategies, and Pine Script code examples. - [Market Structure Mastery — Higher Highs, Lower Lows, and Break of Structure Explained with Code](https://www.horizontrading.ai/learn/market-structure-mastery): Master market structure the way SMC traders see it. Learn HH/HL vs LH/LL, BOS vs CHOCH, and how to start visualizing structure in Pine Script so you can automate and backtest your ideas. - [Mean Reversion Strategy in Pine Script: High Win Rate, Low Edge](https://www.horizontrading.ai/learn/mean-reversion-trading-strategies): A complete mean reversion strategy in Pine Script v6, and the honest math behind its high win rate: why winning 75% of trades can still lose you money. - [MQL5 vs Pine Script — Which Trading Language Should You Learn in 2025?](https://www.horizontrading.ai/learn/mql5-vs-pine-script): Compare MQL5 and Pine Script for algorithmic trading. Learn the key differences between MetaTrader 5 and TradingView, which platform suits your trading style, and how to convert between MQL5 and Pine Script code. - [Order Blocks and Liquidity Zones — How Institutional Footprints Really Work (With Pine Script Examples)](https://www.horizontrading.ai/learn/order-blocks-liquidity-zones): Learn how order blocks and liquidity zones actually work in Smart Money Concepts (SMC). Understand how institutions use liquidity, how to map OBs and premium/discount zones, and how to start testing these ideas in Pine Script. - [Pine Script Tutorial for Beginners — Build Your First TradingView Strategy in 10 Minutes](https://www.horizontrading.ai/learn/pine-script-tutorial-beginners): Complete Pine Script tutorial for beginners. Learn how to code your first TradingView trading strategy from scratch with step-by-step instructions, code examples, and best practices for Pine Script v6. - [Pine Script vs MQL5 — Which Programming Language Should You Learn?](https://www.horizontrading.ai/learn/pinescript-vs-mql5-which-to-learn): Compare Pine Script and MQL5 to decide which trading language to learn first. We cover differences, use cases, difficulty, and help you choose the right one for your goals. - [RSI vs MACD — Which Indicator Is Better for Trading? (Complete Guide)](https://www.horizontrading.ai/learn/rsi-vs-macd-comparison): Compare RSI and MACD indicators side-by-side. Learn when to use each momentum indicator, their strengths, weaknesses, and how to combine them for better trading signals. - [Smart Money Concepts (SMC) Trading — Complete Guide to Market Structure, Liquidity Grabs, and Order Blocks](https://www.horizontrading.ai/learn/smart-money-concepts-trading-guide): Learn Smart Money Concepts (SMC) the right way. Understand market structure, liquidity grabs, fair value gaps, and order blocks—and see how you’d start automating SMC ideas in Pine Script for EURUSD. - [Swing Trading Mean Reversion — High-Probability Setups Across Stocks, Forex, and Crypto](https://www.horizontrading.ai/learn/swing-trading-mean-reversion): Learn how to swing trade mean reversion across stocks, forex, and crypto. Use moving averages, Bollinger Bands, and premium/discount concepts to find high-probability swing entries you can later automate in Pine Script. - [Risk Management in Trading — Position Sizing, Stop Losses, and Risk-Reward Ratios](https://www.horizontrading.ai/learn/trading-risk-management-guide): Master trading risk management with proven strategies for position sizing, stop loss placement, and risk-reward ratios. Learn Kelly Criterion, ATR-based stops, and the 1-2% rule to protect your capital and maximize returns. - [Building a Trend-Following Strategy That Actually Works — Complete Guide with Code](https://www.horizontrading.ai/learn/trend-following-strategy-guide): Learn how to build profitable trend-following trading strategies with complete code examples. Master Donchian Channels, moving average systems, turtle trading rules, and breakout strategies for stocks, forex, and crypto markets. - [How to Build a Momentum Indicator in Pine Script v6](https://www.horizontrading.ai/learn/how-to-code-a-momentum-indicator-in-pine-script-v6): Build a clean Pine Script v6 momentum indicator with raw or ROC modes, EMA smoothing, zero-line alerts, histogram plots, and confirmed HTF context without repainting. - [Pine Script v6: Add Commission and Slippage to Strategies](https://www.horizontrading.ai/learn/how-to-add-commission-and-slippage-to-a-pine-script-strategy-in-v6): Model realistic fees and fills in TradingView with a Pine v6 EMA strategy: commission types, tick slippage, sizing, limit-order checks, and overrides. - [Build an Opening Range Breakout Indicator in NinjaScript](https://www.horizontrading.ai/learn/how-to-build-an-opening-range-breakout-indicator-in-ninjascript): Build a NinjaTrader 8 opening-range indicator that plots highs, lows, midpoint, extensions, and first-breakout alerts with NinjaScript code. - [How to Convert Pine Script to NinjaScript for NinjaTrader 8](https://www.horizontrading.ai/learn/how-to-convert-pine-script-to-ninjascript-for-ninjatrader-8): Translate a Pine Script EMA crossover into NinjaScript for NinjaTrader 8, mapping inputs, series, plots, signals, orders, and testing rules safely first. - [How to Code an ATR Trailing Stop Strategy in Pine v6](https://www.horizontrading.ai/learn/how-to-code-an-atr-trailing-stop-strategy-in-pine-script-v6): Build a Pine Script v6 ATR trailing-stop strategy with a custom one-way ratchet, built-in tick trail comparison, stop plots, and practical tests clearly. - [How to Build a Multi-Timeframe Strategy in NinjaScript](https://www.horizontrading.ai/learn/how-to-build-a-multi-timeframe-strategy-in-ninjascript): Build a NinjaTrader 8 multi-timeframe strategy with a 5-minute EMA entry, 60-minute trend filter, guarded data access, and tested tick-based exits safely. - [MT5 EA Not Opening Trades: MQL5 Debugging Checklist](https://www.horizontrading.ai/learn/mt5-ea-not-opening-trades-a-debugging-checklist-for-mql5): Fix an MT5 EA that compiles but won't trade. Use a code-first MQL5 checklist to diagnose signals, permissions, volume, margin, and server retcodes at each step. - [Why Pine Script Alerts Fail, and the Fixes That Work](https://www.horizontrading.ai/learn/why-your-pine-script-alerts-are-not-working-and-how-to-fix-them): Fix Pine Script alerts that never fire, fire late, or use old settings. Diagnose conditions, timing, snapshots, and delivery with an RSI/EMA template. - [Code a Heikin Ashi Strategy in Pine v6 Without Fake Fills](https://www.horizontrading.ai/learn/how-to-code-a-heikin-ashi-strategy-in-pine-script-v6-and-avoid-the-backtest-trap): Build a Pine Script v6 Heikin Ashi trend strategy with real-price fills, stops, and alerts, then avoid the synthetic-candle backtest trap in TradingView. - [How to Code a Supertrend Indicator and an EA in MQL5](https://www.horizontrading.ai/learn/how-to-code-a-supertrend-indicator-and-ea-in-mql5): Build a Supertrend custom indicator and closed-bar flip EA in MQL5, with locked ATR bands, iCustom buffers, CTrade orders, and MT5 test steps for practical testing. - [Build an Ichimoku Cloud Indicator in Pine Script v6](https://www.horizontrading.ai/learn/how-to-build-an-ichimoku-cloud-indicator-in-pine-script-v6): Build a complete Ichimoku Cloud indicator in Pine Script v6: five lines, a forward Kumo fill, editable settings, and price-cross alerts that avoid lookahead. - [Code an RSI Divergence Indicator in Pine Script v6](https://www.horizontrading.ai/learn/how-to-code-an-rsi-divergence-indicator-in-pine-script-v6): Code a confirmed RSI divergence indicator in Pine Script v6 with pivot filters, labels, alerts, and cleanup to spot momentum shifts without noise. - [How to Code a Combined RSI + MACD Indicator in Pine Script v6](https://www.horizontrading.ai/learn/how-to-code-a-combined-rsi-macd-indicator-in-pine-script-v6): Build a combined RSI and MACD Pine Script v6 indicator with normalized plots, confluence scoring, close-confirmed alerts, and an ATR-tested strategy setup. - [Pine Script Repainting: Why It Happens and How to Fix It](https://www.horizontrading.ai/learn/why-your-pine-script-repaints-and-how-to-fix-it): Signals that vanish when the bar closes and backtests that never repeat live. Here's what makes Pine Script v6 repaint, and the exact code that stops it. - [NinjaScript Tutorial: Code Your First NinjaTrader 8 Strategy](https://www.horizontrading.ai/learn/ninjascript-tutorial-code-your-first-ninjatrader-strategy): Learn NinjaScript from scratch: build a working SMA crossover strategy in NinjaTrader 8, covering the editor, the state lifecycle, order methods and stops. - [Build a VWAP Mean Reversion Strategy in Pine Script v6](https://www.horizontrading.ai/learn/build-a-vwap-mean-reversion-strategy-in-pine-script-v6): Fade intraday extensions from VWAP with a complete Pine Script v6 strategy: session-anchored SD bands, reversal entries, ATR stops, and an ADX trend filter. - [How to Convert Pine Script to MQL5: A Manual Translation Guide](https://www.horizontrading.ai/learn/how-to-convert-pine-script-to-mql5-a-manual-translation-guide): Convert Pine Script v6 to MQL5 with a concept-by-concept map: structure, series, indicators, orders, alerts, a full SMA-crossover EA, and the pitfalls to avoid. - [Build a Squeeze Momentum Indicator in Pine Script v6](https://www.horizontrading.ai/learn/squeeze-momentum-indicator-pine-script): Code a full LazyBear-style Squeeze Momentum indicator in Pine Script v6 — Bollinger Bands inside Keltner Channels, 4-color histogram, and squeeze-release alerts. - [Build a WaveTrend Oscillator in Pine Script v6](https://www.horizontrading.ai/learn/wavetrend-oscillator-pine-script): Step-by-step guide to coding the WaveTrend oscillator from scratch — smoothing math, OB/OS bands, cross signals, histogram, and divergence alerts. - [ICT Premium & Discount Zones (OTE): Auto-Plot in Pine Script v6](https://www.horizontrading.ai/learn/premium-discount-ote-zones-pine-script): Master ICT premium/discount zones and Optimal Trade Entry (0.62–0.79 Fib), then build a Pine Script v6 indicator that auto-plots every level with alerts. - [Automate a Supertrend Strategy with Alerts in Pine Script v6](https://www.horizontrading.ai/learn/automate-supertrend-strategy-pine-script): Build a fully automated Supertrend strategy in Pine Script v6 — entries, exits, ATR trailing stops, EMA filters, and webhook alerts for broker automation. - [Simple Moving Average Crossover Strategy: Complete Guide](https://www.horizontrading.ai/learn/simple-moving-average-crossover-strategy): Master the simple moving average crossover strategy with exact parameters, Pine Script v6 code, RSI/MACD filters, and backtested rules that actually work. - [Break and Retest Strategy — The Complete Trading Guide](https://www.horizontrading.ai/learn/break-and-retest-strategy): Master the break and retest strategy with exact entry rules, Pine Script code, and pro tips for swing trading stocks, forex, and crypto. ## Script Library - [Market Structure](https://www.horizontrading.ai/scripts/market-structure): Automatically maps swing highs and lows with break of structure detection. - [SMC Market Structure Pro](https://www.horizontrading.ai/scripts/smc-market-structure): Advanced Smart Money Concepts with internal and swing structure mapping. - [Advanced Order Blocks with Volume](https://www.horizontrading.ai/scripts/order-blocks): A professional-grade indicator that combines order block detection with sophisticated volume analysis. - [Liquidity Levels](https://www.horizontrading.ai/scripts/liquidity-tools): A comprehensive suite designed to identify and track institutional liquidity zones, stop hunts, and more. - [SMT Divergence](https://www.horizontrading.ai/scripts/smt-divergence): Smart Money Technique divergence between correlated pairs for reversal signals. - [Swing Breakout](https://www.horizontrading.ai/scripts/swing-breakout): Breakout strategy with swing structure confirmation and risk management. - [Reversion Bands](https://www.horizontrading.ai/scripts/reversion-bands): Dynamic mean reversion bands with oversold/overbought extremes. - [Trend Multi-Tool](https://www.horizontrading.ai/scripts/trend-multi-tool): All-in-one trend analysis with direction, strength, and momentum. - [EMA Clouds](https://www.horizontrading.ai/scripts/ema-clouds): Beautiful EMA ribbon clouds with trend direction and crossover signals. - [Higher Timeframe Candles Overlay](https://www.horizontrading.ai/scripts/htf-candles): A powerful visualization tool that overlays higher timeframe candlesticks onto your current chart. - [HTF Candle Projection](https://www.horizontrading.ai/scripts/htf-candle-projection): Project where the current HTF candle might close based on price action. - [Market Structure + Fibonacci](https://www.horizontrading.ai/scripts/market-structure-fib): Automatic Fibonacci retracements drawn from market structure swings. - [Market Structure RSI](https://www.horizontrading.ai/scripts/market-structure-rsi): An innovative indicator that combines traditional RSI analysis with market structure principles. - [Order Flow](https://www.horizontrading.ai/scripts/order-flow): Visualize buying and selling pressure with order flow analysis. - [Reversal Points](https://www.horizontrading.ai/scripts/reversal-points): High-probability reversal detection using multiple confluence factors. - [Rally, Base & Drop Support and Resistance](https://www.horizontrading.ai/scripts/rally-base-drop): Identifies key supply and demand zones using Rally-Base-Drop and Drop-Base-Rally formations. - [Support & Resistance Strength](https://www.horizontrading.ai/scripts/snr-strength): Dynamic S/R levels with strength scoring based on touches and reactions. - [Structure Trailing Stop Loss](https://www.horizontrading.ai/scripts/structure-tsl): Intelligent trailing stop that follows market structure, not arbitrary percentages. - [Trendline Liquidity](https://www.horizontrading.ai/scripts/trendline-liquidity): Automatic trendlines with liquidity accumulation visualization. - [SMC + Volume Profile](https://www.horizontrading.ai/scripts/smc-vp): Smart Money Concepts enhanced with volume profile for confluence. - [SMC Structure + Order Blocks](https://www.horizontrading.ai/scripts/smc-market-structure-ob): Complete SMC package with structure and order block integration. - [Candle Range Theory](https://www.horizontrading.ai/scripts/candle-range-theory): ICT Candle Range Theory with AMD cycle detection. - [Head & Shoulders Pattern](https://www.horizontrading.ai/scripts/head-and-shoulders): Automatic detection of head and shoulders reversal patterns. ## Comparisons - [HorizonAI vs Pineify](https://www.horizontrading.ai/vs/pineify): Compare Pineify vs HorizonAI. Get AI-powered Pine Script and MQL5 code generation with built-in knowledge base. Simple, beginner-friendly, and supports both TradingView and MetaTrader 5. - [HorizonAI vs TradeSage](https://www.horizontrading.ai/vs/tradesage): Compare TradeSage vs HorizonAI. Get better Pine Script and MQL5 code generation with a built-in knowledge base. Simple, transparent, and supports both TradingView and MT5. - [HorizonAI vs PineTrader](https://www.horizontrading.ai/vs/pinetrader): Compare PineTrader vs HorizonAI. Get AI-powered Pine Script and MQL5 code generation with built-in knowledge base. Simple, beginner-friendly, and supports both TradingView and MetaTrader 5. - [HorizonAI vs Build Alpha](https://www.horizontrading.ai/vs/buildalpha): Compare Build Alpha vs HorizonAI. Get simpler AI-powered Pine Script and MQL5 code generation with a built-in knowledge base. Perfect for beginners who want to learn and create. - [HorizonAI vs PointZero Trading](https://www.horizontrading.ai/vs/pointzero): Compare PointZero Trading vs HorizonAI. Get AI-powered Pine Script and MQL5 code generation with a built-in knowledge base. Simple, beginner-friendly, and supports both TradingView and MetaTrader 5. - [HorizonAI vs EA Builder](https://www.horizontrading.ai/vs/ea-builder): Compare EA Builder vs HorizonAI. Get AI-powered MQL5 and Pine Script code generation instead of visual block building. Simpler, faster, and supports both MetaTrader and TradingView. - [HorizonAI vs StrategyQuant](https://www.horizontrading.ai/vs/strategyquant): Compare StrategyQuant vs HorizonAI. Get simpler AI-powered MQL5 and Pine Script code generation without the complexity and high price tag of StrategyQuant X. - [HorizonAI vs Forex Robot Factory](https://www.horizontrading.ai/vs/forex-robot-factory): Compare Forex Robot Factory vs HorizonAI. Get AI-powered MQL5 and Pine Script code generation instead of point-and-click EA building. Simpler, more flexible, and supports both MetaTrader and TradingView. - [HorizonAI vs TradingView Pine Editor](https://www.horizontrading.ai/vs/tradingview): TradingView's Pine Editor lets you write Pine Script by hand. HorizonAI generates, backtests and converts it from plain English — then you run it in the same TradingView charts. Here's how they compare. - [HorizonAI vs Coding Pine Script & MQL5 by hand](https://www.horizontrading.ai/vs/coding-by-hand): Writing Pine Script or MQL5 yourself — or wrangling ChatGPT — is free but slow, and the AI hallucinates APIs. HorizonAI generates, backtests and iterates trading code that actually compiles. Here is how they compare.