01 — Utilities

Trade Journal Analyzer

Turns your trade CSV into a visual report with charts and statistics.

Python
·v1.0
  • CSV import (MT5, cTrader)
  • Win rate, profit factor, drawdown
  • Equity curve & P/L charts
  • Performance by weekday & symbol
Equity Curve$10,000$14,250P/L per WeekdayMoTuWeThFrworstbestWin Rate62.4%Profit Factor1.92Max Drawdown-8.2%Trades187$ python trade_journal_analyzer.py trades.csvGenerated HTML Report
02 — Why it works

From problem to solution.

01

The Problem

Your trade history is an unreadable CSV file — you can't see patterns or know where your weaknesses are.

02

The Solution

Import your CSV export from MT5 or cTrader → the tool calculates all key statistics and creates a visual HTML report.

03

The Result

A report with equity curve, P/L distribution, performance by weekday and symbol — everything at a glance.

03 — Use cases

When do I use this?

  • 01

    You export your MT5 history as CSV → one command → HTML report opens in browser with equity curve and win rate.

  • 02

    The report shows: Tuesday is your best day (68% win rate), Friday the worst (41%).

  • 03

    Profit factor 1.9 overall, but on GBPJPY only 0.7 → now you know which pair to avoid.

04 — Setup

Getting started

  1. 01

    Export trade history as CSV from MT5/cTrader

  2. 02

    python trade_journal_analyzer.py trades.csv

  3. 03

    HTML report opens in browser

  4. 04

    Optional: --balance 50000 for different initial capital

05 — Technical

Technical Details

Parameters & Settings(3)
  • file

    Path to CSV file

    trades.csv
  • --output

    Output HTML file

    trade_report.html
  • --balance

    Initial balance

    10000
Full Description
The Trade Journal Analyzer imports your trade history from MT5 or cTrader (CSV export) and generates a comprehensive HTML report. **Statistics:** - Win rate, profit factor, net profit - Max drawdown (absolute and %) - Average win/loss - Longest win/loss streaks **Charts (matplotlib):** - Equity curve - P/L distribution per trade - Performance by weekday **Performance analysis:** - Best/worst weekdays - Results per symbol - Trade duration statistics
Changelog(v1.0)
v1.02026-02
  • +Initial Release
06 — Support

Need help?

Feel free to reach out with questions or issues.

timon-krueger@web.de