Skip to content
Close immediate vs next bar ETHUSDT 15m

All 732 trades identical in both books

Same side, entry and exit times, prices and quantity on every trade.

−400−2000200
Apr 2025Jul 2025Oct 2025Jan 2026
USDT

Tap or drag the chart to read any point.

Source: tv_trades.csv and engine_trades.csv in pineforge-corpus at d75b4fa.

The chart as a table
Time (UTC)TradingView, USDTPineForge, USDT
2025-03-31 03:301.191.19
2025-05-15 11:15−140.34−140.34
2025-06-30 11:1533.4533.45
2025-08-15 03:30147.41147.41
2025-09-30 03:30−54.88−54.88
2025-11-14 03:30245.97245.97
2025-12-29 11:1535.6935.69
2026-02-13 11:15−309.32−309.32
2026-03-31 11:15−219.63−219.63
  • TradingView, final P&L −219.63 USDT
  • PineForge, final P&L −219.63 USDT
How this is measured

All 732 trades are identical in both books.

Source: TradingView’s export, tv_trades.csv, and PineForge’s trade list, engine_trades.csv, as committed in pineforge-corpus at d75b4fa; PineForge’s was written by engine v1.0.1.

Graded excellent by the engine’s open-corpus check, which allows entry and exit prices within 0.01 % of TradingView’s and P&L within 1 % at the 90th percentile, over the window both lists cover. For excellent, where TradingView shows two or more distinct entry Signals at one exact time, price and direction, the engine shows as many distinct entries there (distinct-entry identity). Identical means both files print the same side, entry and exit time and entry and exit price, and the same quantity to the decimals TradingView exports. How the grades work

This page shows the files committed in pineforge-corpus at commit d75b4fa: the Pine source, the C++ that codegen 1.0.1 generated from it and both trade lists, PineForge’s written by engine v1.0.1 from that C++. The grade comes from the engine’s corpus check at 35db01c8, which re-runs every strategy and which engine v1.4.0 includes. The pineforge-release 1.4.0 image carries engine v1.4.0 and codegen 1.4.0 and runs them on the OHLCV data you give it.

Save the strategy’s strategy.pine from that corpus commit next to your OHLCV file, then run:

docker run --rm --network=none \
  -v "$PWD/strategy.pine:/in/strategy.pine:ro" \
  -v "$PWD/ohlcv.csv:/in/ohlcv.csv:ro" \
  ghcr.io/pineforge-4pass/pineforge-release:1.4.0 > report.json

PineForge’s book

Trades
732
Net P&L
−219.63 USDT
Largest drawdown, closed trades
−735.66 USDT
Win rate
49.7 %
Profit factor
0.96
How to backtest offline

Sources and raw trades