Cuprel In development
Cuprel is the programming language of Million Global, built for market logic. It is in development. This site does not describe its syntax: the examples below are whatever the real converter wrote.
What StrategyCoder does with it today
- Converts source text from 7 other languages into Cuprel (experimental).
- Compiles the result with the Cuprel compiler and, for the source-platform route, runs both versions on our engine to compare them.
What it does not do yet
- No Cuprel → other language converters. The swap button is disabled for this reason.
- Python, JavaScript, NinjaScript and cTrader are not converted into Cuprel: no converter exists.
A real output
// converted by cuprel-convert 0.1.0 from a source written for another charting platform (format v5); original notices above unchanged
indicator "Average Directional Index"
edition = 1
input len: int = 14, "Length", min = 1
let (plusDI, minusDI, adxv) = tech.dmi(len, len)
plot(adxv, "ADX")
plot(plusDI, "+DI")
plot(minusDI, "-DI")
Produced by the converter from a average directional index (adx) with di lines program. See the source and report.