Documentation
Using the converter
- Choose the source language (or press Detect: a guess from the text, not a guarantee).
- Paste, drop or upload the source. Limits: 200,000 characters and 6,000 lines.
- Press Convert Code (Ctrl or ⌘ + Enter). The conversion runs on the server with the real converter.
- Read the Conversion Report before using the output. Diagnostics with a line number are also marked in the source editor.
The I wrote this code, or I have the right to convert it box tells the converter who the author is. Unticked, the result is flagged as private-use-only and its licence notices are kept word for word.
Result status
- converted: the converter read all of it. It can still carry notes and acknowledgements.
- converted-with-notes: converted, with notes that matter (read them).
- refused / unsupported: part of the program is outside the tested subset. Nothing is approximated; the report names the construct and a stable id such as
R-MQ-05. - failed: the converter crashed or timed out. Nothing was stored.
The conversion report
Every conversion returns the same sections:
- Summary: source and target language and version, converter and version, status, hashes of the source and the output.
- Supported / unsupported constructs: what the converter refused, by name.
- Semantic differences and acknowledgements: where the converted program may behave differently (forming-bar repaint, warm-up of averages, history length, look-ahead on other timeframes, other symbols).
- Validation: three separate checks, each saying whether it was performed. Syntax: the converter read the whole source. Compiler: the Cuprel compiler accepted the converted text. Behaviour: the original and the converted text were run on the same synthetic bars on our engine and compared. Only the source-platform route can do the behaviour check; for the other routes it says not performed.
- Manual review: what a person must still check.
Limits
- Every route ends in Cuprel. There is no route into MQL, Python or any other language yet.
- Expert Advisors and anything that places orders are refused by every converter today.
- Coverage is thin by design; see Languages for the measured numbers.
Privacy
API
The site talks to a small public HTTP API. It is versioned (v1), rate limited, and keeps no copy of your code.
GET /v1/capabilities what exists, with status per language
GET /v1/health engine installed?
POST /v1/convert { "source": "...", "from": "mql5", "to": "cuprel", "origin": "own", "attested": true }
Errors are { "ok": false, "error": { "code", "message" } } with an honest HTTP status: 400 bad request, 413 too large, 422 no converter for that language, 429 rate limited (see Retry-After), 503 busy or engine unavailable, 504 timed out.
Not built yet
AI assistant, accounts and cloud history, GitHub repository connection, paid plans, and converters out of Cuprel. They are listed on the pages that mention them as not available.