Calculators › Trading
CSV Trade Journal Analyzer
The trade journal analyzer reads a CSV export from your broker or journal and returns your core stats — win rate, net P&L, profit factor, expectancy, streaks and max drawdown — plus an equity curve, entirely inside your browser. Nothing is uploaded.
A trade journal analyzer reads a local CSV of closed-trade P&L, keeps it inside the browser with FileReader, and computes win rate, net P&L, profit factor, expectancy, payoff ratio, loss streaks and maximum drawdown on the cumulative equity curve.
Trade log input
Journal stats
Cumulative P&L curve
Newsletter
Get the weekly position-sizing playbook
One email a week: macro & US markets, gold, futures & crypto — plus prop-firm rules, risk math and new calculators. No spam, unsubscribe anytime.
How it works
What this calculator does
It reads a CSV of closed trades, finds or lets you choose the P&L column, parses numeric trade results, and calculates the main journal statistics a trader usually checks after a sample of trades.
Privacy model
The CSV is handled by browser-side JavaScript with FileReader. There is no account connection, no upload and no server-side storage. Closing the tab clears the data from the page.
The stats
The engine counts wins and losses, then computes win rate, gross profit, gross loss, net P&L, profit factor, average win, average loss, payoff ratio, expectancy per trade, largest win, largest loss, max consecutive wins and losses, and maximum drawdown on the cumulative P&L curve.
expectancy = net P&L / trade count
profit factor = gross profit / absolute gross loss
Worked example
For P&L values [100, -50, 200, -100, -80, 300, -40], net P&L is $330 across seven trades, win rate is 3 / 7, profit factor is 600 / 270, expectancy is $47.14 per trade, and the maximum drawdown on the cumulative curve is $180.
What it deliberately does not do
It does not clean messy broker semantics beyond a numeric P&L column, merge partial fills, infer taxes, or decide whether the sample is large enough. It is a local arithmetic and parsing tool, not a performance audit service.