PineScript v6
Generated C++ · emitted by codegen
# multi-arch: linux/amd64 + linux/arm64 docker pull ghcr.io/fullpass-4pass/pineforge-engine:latest
timestamp,open,high,low,close,volumetimestamp = UNIX milliseconds (UTC).
Bars must be sorted ascending. No gaps required, but session boundaries
affect session.* built-ins. Save as ohlcv.csv
next to the downloaded strategy.cpp.
docker run --rm \ -v "$(pwd)/strategy.cpp:/in/strategy.cpp:ro" \ -v "$(pwd)/ohlcv.csv:/in/ohlcv.csv:ro" \ ghcr.io/fullpass-4pass/pineforge-engine:latest \ > report.json # build noise on stderr; JSON report on stdout jq .summary report.json
{
"engine": "pineforge",
"input": { "bars": 672, "first_ts": 1745182800000, ... },
"elapsed_seconds": 0.0042,
"summary": {
"total_trades": 49,
"wins": 16,
"losses": 33,
"win_rate_pct": 32.65,
"net_pnl": -190.85,
"max_drawdown": -4045.15,
"bars_processed": 672
},
"trades": [ { "side": "long", "pnl": 111.50, ... } ]
}
pf_… key in the
API key field at the top first — install actions embed the
key into the client config.
Endpoint: /mcp
· Protocol: 2025-03-26 · Streamable HTTP · CORS open.
0 success ·
2 missing mount ·
3 compile failure ·
4 runtime abort.
Image source:
pineforge-engine/docker.