Skip to main content
BTC / USDT107,400+2.19%ETH / USDT3,840+2.13%SOL / USDT182.40−1.99%BNB / USDT652.30+0.66%XRP / USDT2.2150+1.61%DOGE / USDT0.3850−1.79%TON / USDT5.240+2.34%AVAX / USDT42.60−2.07%LINK / USDT22.40+2.28%ADA / USDT1.0520−1.68%TRX / USDT0.3300+0.92%DOT / USDT8.420+2.93%BTC / USDT107,400+2.19%ETH / USDT3,840+2.13%SOL / USDT182.40−1.99%BNB / USDT652.30+0.66%XRP / USDT2.2150+1.61%DOGE / USDT0.3850−1.79%TON / USDT5.240+2.34%AVAX / USDT42.60−2.07%LINK / USDT22.40+2.28%ADA / USDT1.0520−1.68%TRX / USDT0.3300+0.92%DOT / USDT8.420+2.93%
Pricing
08 / Script converter

Paste a Pine script, watch it plot on your chart.

Pine Script, MQL4, MQL5, EasyLanguage, AFL and MetaStock convert into each other, and the result runs on your candles right away. Anything the converter cannot translate is flagged in plain warnings, so nothing fails silently.

  • Free plan, 5 conversions a month
  • 6 languages
  • Runs on the chart
Side-by-side script conversion diff in the TradersWeek terminal
What's inside

One input, six outputs

Paste your indicator in any supported language. Get working code in any other. Or all five at once.

Language selection panel
Languages

6 trading languages

Free, 5 a month

Pine Script v5 and v6, MQL4, MQL5, EasyLanguage (TradeStation and MultiCharts), AFL (AmiBroker) and MetaStock formulas. A full lexer, parser and code generator for each, written from scratch.

  • Pine v5 and v6
  • MQL4 and MQL5
  • EasyLanguage, AFL, MetaStock
Function mapping table
Mapping

1,500+ built-in functions

Free, 5 a month

Every standard library call mapped across languages. SMA in Pine becomes iMA in MQL4, Average in EasyLanguage, MA in AFL. The converter knows the equivalents, and tells you when there is none.

  • 1,500+ mapped builtins
  • Type conversion handling
  • Honest warnings on gaps
Side-by-side diff view of converted script
Review

Runs on your chart

Free, 5 a month

The converted indicator executes in a sandboxed Web Worker on the live candles of your active chart. One click adds it to a pane, and My Indicators keeps your library synced to your account.

  • Sandboxed, with an infinite-loop watchdog
  • Add to chart in one click
  • My Indicators cloud library
1,500+functions

the Rosetta Stone for indicator code

Mapped across six trading languages and verified by more than 500 converter tests.

Also included

Built for real scripts

  • Syntax validation

    Output is checked before display. Errors come with line numbers and suggestions.

  • Honest warnings

    Unsupported builtins are flagged, never silently replaced.

  • Export your way

    Copy one language or download all six at once.

  • My Indicators

    Converted scripts live in your account and load on any device.

  • Free tier

    5 conversions a month free. Pro and Premium remove the limit.

  • Clean-room engine

    Hand-written parsers, zero third-party dependencies, no GPL code. Conversion runs in your browser.

Get started

Convert a script in three steps

  1. 01

    Paste your code

    Open the Script Converter from the Modules panel. Paste any indicator in Pine, MQL4/5, EasyLanguage, AFL, or MetaStock.

  2. 02

    Select target language

    Choose one target language or select 'All' to generate five outputs simultaneously.

  3. 03

    Add to chart or copy

    Run the result on live candles, review the warnings, copy when happy.

How accurate is the conversion?
Standard indicators (MA, RSI, MACD, Bollinger) come out copy-paste ready. Platform-specific features are flagged with warnings for manual review.
Is my code sent to a server?
Conversion runs entirely in your browser. Only saving to My Indicators stores the script in your account.
Can I convert strategies, not just indicators?
The converter focuses on indicator logic. Order execution code is platform-specific and gets flagged for manual porting.
Which plan do I need?
5 conversions a month are free. Pro and Premium are unlimited.

Stop rewriting indicators by hand

Paste. Convert. See it on the chart. Six languages, 1,500+ functions mapped.