In development · Join the waitlist for early access

Convert Pine Script and MQL to one trading language. Run it on any broker.

TradeGlot is a trading platform built around Glot. Paste Pine Script v4–v6, MQL4 or MQL5 code, convert it, write and fix it with AI, backtest it honestly, and run it on verified brokers across forex, stocks and crypto, on web, desktop and mobile.

  • Pine Script v4 · v5 · v6
  • MQL4
  • MQL5
  • Forex & CFD
  • Stocks
  • Crypto
//@version=5
strategy("Pullback H4", overlay = true)
ema20 = ta.ema(close, 20)
h4ema = request.security(syminfo.tickerid, "240",
          ta.ema(close, 50), lookahead = barmerge.lookahead_on)
if ta.crossover(close, ema20) and close > h4ema
    strategy.entry("L", strategy.long)
    strategy.exit("X", "L", loss = 300, profit = 600)
Conversion report: 8/8 lines convertedFixed: look-ahead bias removed
How it works

From any trading script to a live strategy in four steps

  1. Paste or upload

    Bring Pine Script, MQL4 or MQL5 source code, or describe the strategy in plain language.

  2. Convert and verify

    The converter writes readable Glot code and a report of every change. Results are compared bar by bar with the original platform.

  3. Backtest honestly

    Out-of-sample split, walk-forward, Monte Carlo and a repaint detector run by default.

  4. Run on a verified broker

    Paper trade first, then go live with a licensed broker you choose. You confirm every live order.

Converter

Pine Script and MQL converter you can audit

Stop maintaining one version for TradingView and another for MetaTrader. Convert once to Glot and keep one source file for every platform and broker.

Pine Script v4, v5, v6 to Glot

Indicators, strategies and libraries, including request.security and the strategy.* order model. Pine v4 syntax is upgraded automatically.

MQL4 and MQL5 to Glot

Expert advisors and indicators that use the standard library, CTrade, OrderSend and indicator handles become event-driven Glot experts.

Conversion report

Shows the share converted automatically, every compatibility shim used, and each line that needs review with a suggested fix.

Hidden bugs surfaced

Look-ahead bias, wrong-timeframe reads and fixed lot sizes are flagged and fixed in the converted code, never silently kept.

The Glot language

What is Glot?

Glot is a trading language for indicators, strategies and expert advisors. It runs bar by bar like Pine Script and event by event like MQL, and it is designed to make common trading-code mistakes impossible.

Units in the type system

The compiler knows prices, price distances, percentages and money. Adding a price to an RSI value is a compile error.

Exact money and prices

Order prices and P&L use fixed-point decimals rounded to each instrument's tick size, so results reconcile with the broker to the cent.

No look-ahead in strategies

Higher-timeframe data only returns closed bars inside strategies and expert advisors.

Same result on every device

A deterministic engine gives bit-identical results on servers, desktops, phones and browsers.

Portable orders

Size by risk percentage and set stops by distance, so one strategy runs correctly on any broker.

Built-in tests and ML

Write tests next to the strategy, and run ONNX models with deterministic inference.

Glot Studio and AI

One studio for code, AI, charts and backtests

Glot Studio brings the editor, an AI coding assistant, a chart debugger and the backtest report into one window on desktop and web. The studio shell will be open source so developers can extend it.

AI trading code assistant

Ask in plain language or paste code. The AI proposes a diff; the compiler and your tests check it before you accept. Works with your own model through MCP and ACP.

Debug on the chart

Step bar by bar and hover any variable at any bar.

Extensions

Build panels, chart tools and report sections with an open extension API.

VS Code and more

A language server for VS Code and other editors, plus a command-line tool.

Honest backtesting

Backtesting software that shows the out-of-sample truth

Most strategies look good on the data they were tuned on. TradeGlot keeps an out-of-sample period by default and shows it next to every result.

Out-of-sample by default

70% in-sample, 30% out-of-sample by calendar time. Optimization only sees the in-sample part.

Walk-forward and Monte Carlo

Check that results hold across windows and trade orderings.

Repaint detector

Compares real-time and historical signals and points to the bar and variable that differ.

Replay any trade

Replay a paper or live session exactly and see why the strategy entered each trade.

Compare

TradeGlot compared with single-language platforms

Based on publicly documented features as of 2026. TradingView and Pine Script are trademarks of TradingView, Inc.; MetaTrader and MQL are trademarks of MetaQuotes Ltd. TradeGlot is not affiliated with either.
CapabilityTradeGlotTradingViewMetaTrader 5
LanguageGlotPine ScriptMQL5
Imports Pine Script codeYes, convertedNativeNo
Imports MQL4 / MQL5 codeYes, convertedNoMQL5 native
Out-of-sample shown by defaultYesNoOptional (forward testing)
Units and money checked by the compilerYesNoNo
Open-source chart libraryGlot ChartsLightweight ChartsNo
Planned pricing

Free development tools. Pay only for what costs money to run.

Prices are planned and may change before launch.

Free

$0

  • Glot language, converters, Glot Studio
  • Local backtests and paper trading
  • Glot Charts and open standards
  • Bring your own AI key
Trader

$12 / month

  • 5 cloud strategies
  • 1 cloud MT5 terminal
  • 10 years of candles
  • 500 AI requests a month
Pro

$39 / month

  • 25 cloud strategies, 3 MT5 terminals
  • Tick data and parallel optimization
  • GPU hours for screening
  • 3,000 AI requests a month
Developers

100% revenue share

  • Founding developers keep 100% of marketplace revenue for 6 months (planned)
  • No listing or review fees
  • Export bot signals to FxBookCopy
Safety

A technology provider, not a broker

Your funds stay with your broker

TradeGlot never holds customer money. Orders go to licensed brokers shown by name and license number.

AI never trades for you

AI drafts and tests code. Every real-money order needs your confirmation.

Risk gate on every order

Daily loss, drawdown, spread and news limits are enforced before an order reaches the broker.

Clear labels

Real money and paper trading are always labeled, on every screen.

FAQ

Frequently asked questions

What is TradeGlot?

TradeGlot is a multi-asset trading platform built around Glot, one trading language. It converts Pine Script and MQL code to Glot, lets you write and fix code with AI, backtest it honestly, paper trade, and run it live through verified brokers on web, desktop and mobile.

Can TradeGlot convert Pine Script to MQL5 or MetaTrader 5?

TradeGlot converts Pine Script v4, v5 and v6 into Glot, and Glot strategies run on MetaTrader 5 brokers through the TradeGlot MT5 agent. You keep one source file instead of maintaining separate Pine and MQL5 versions.

Does TradeGlot convert MQL4 and MQL5 expert advisors?

Yes. MQL4 and MQL5 indicators and expert advisors that use the standard library are converted to Glot. Each conversion produces a report that lists what converted automatically and what needs review. DLL imports and compiled .ex4/.ex5 files without source cannot be converted.

What is the Glot trading language?

Glot is a trading language for indicators, strategies and expert advisors. It supports bar-by-bar logic like Pine Script and event-driven logic like MQL, blocks look-ahead bias, tracks price, distance and money units in the type system, and produces identical results on every device.

Is TradeGlot a broker?

No. TradeGlot is a technology provider. It does not hold customer funds. Live orders are executed by licensed brokers, and every order ticket shows the broker name and license number.

Can AI place trades for me?

No. The AI assistant can write, explain and test code, and run backtests, but it never places real-money orders. Every live order requires your confirmation in the app.

How is TradeGlot backtesting different?

Every backtest keeps an out-of-sample period by default, supports walk-forward and Monte Carlo analysis, and runs a repaint detector that compares real-time and historical signals. Marketplace listings must show out-of-sample results.

When does TradeGlot launch and how much will it cost?

TradeGlot is in development. Development tools are planned to be free, with paid plans for cloud execution, data and AI usage. Join the waitlist to get launch news and early access.

Early access

Join the TradeGlot waitlist

Get launch news, early access to Glot Studio and the founding developer program. One email per month at most.

We use your email only for TradeGlot launch updates. Unsubscribe at any time.