Translate any indicator. Across six dialects.
Paste a script in Pine, MQL4, MQL5, EasyLanguage, MetaStock Formula, or AFL. Pick a target. ASC returns a structurally faithful translation in seconds with approximations called out up front. Free: 5 conversions per month.
- Source languages6Pine, MQL4, MQL5, EL, MetaStock, AFL
- Built-in mappings1,404Function-to-function
- Translation directions30Any-to-any
- Free tier5/moUnlimited on Pro and Premium
Structure first, semantics second
Preserves intent
Control flow, indicator wiring, signal logic and variable names are mapped one-to-one. The shape of your script is recognisable on the other side.
1,404 built-in mappings
SMA, EMA, RSI, MACD, ATR and the full standard library translate to native equivalents. Pine covers 437, MQL4 270, EasyLanguage 295, AFL 230, MetaStock 172.
Any direction
Six languages, thirty pair combinations. Pine to MQL5, AFL to EasyLanguage, MetaStock to Pine. Same engine, same review workflow.
From paste to compiled in four steps
- 01
Paste the source
Drop the original script into the converter panel inside the terminal. ASC auto-detects the language; you can override.
- 02
Pick the target
Choose where the script needs to live. ASC normalises the AST and re-emits in the target dialect.
- 03
Read the diff and the warnings
Every approximation, missing built-in, and manual-review hotspot is annotated inline. Nothing is hidden in the translation.
- 04
Review, backtest, deploy
Run the output on sample data in the target platform before any live use. Adjust the flagged spots; this is the part the converter cannot do for you.
What translates cleanly vs. what needs you
| Translates exactly | Approximated | Manual review required | |
|---|---|---|---|
| Core control flow (if / for / while) | Yes | — | — |
| Standard indicators (SMA, EMA, RSI, MACD) | Yes | — | — |
| Variable naming and comments | Yes | — | — |
| Less-common built-in functions | — | Flagged in diff | — |
| iCustom() with missing source | — | Falls back to close | — |
| Multi-timeframe strategies | — | — | Yes |
| Alerts, plots, chart formatting | — | — | Yes |
| Platform-specific order management | — | — | Yes |
mapped across six trading dialects. Same parser, same review workflow.
What you sign up for when you press Convert
Review the diff
Read every flagged line. ASC tells you which substitutions are approximate. Whether they are acceptable for your strategy is your call.
Verify on sample data
Compile the output, run it on the same dataset as the original, compare signals tick-by-tick. Divergence after translation is normal; ignoring it is not.
Know the target platform
MQL5 is not Pine with different keywords. Order types, account-info APIs, event handlers — understand the target semantics before relying on the translated code.
Confirm your license to convert
ASC translates structure and logic. If the source script has a license, your right to convert and use the output is your responsibility.
Does ASC guarantee converted scripts run identically?
How many free conversions do I get?
Can I sell or redistribute the converted script?
Does TradersWeek claim ownership of the output?
What about alerts and chart drawing?
Can I use the converted script for live trading right away?
Who do I contact if something looks wrong?
Paste a script. See the diff.
Free: 5 conversions per month, no account required. Unlimited on Pro and Premium. The converter lives inside the charting terminal.