🔍 Visualize Your Trading Performance with an Interactive PnL Dashboard
Are you an Amibroker user looking to analyze your backtesting results in a more engaging and insightful way? Look no further! In this post, I’m sharing a powerful HTML/JavaScript-based Trading PnL Dashboard that transforms your Amibroker backtesting results (exported as a CSV file) into a dynamic, interactive visualization. With this dashboard, you can track key performance metrics, visualize cumulative profits, drawdowns, and monthly/yearly performance—all in one place!
This dashboard is perfect for traders who want to dive deep into their trading strategy performance without getting lost in raw data. Let’s walk through what this dashboard offers and how you can use it to analyze your Amibroker backtest results
What is the Trading PnL Dashboard?
The Trading PnL Dashboard is a web-based tool that processes a CSV file exported from Amibroker’s backtesting results and presents key performance metrics in an intuitive format. It includes:
Key Metrics: Realised PnL, Net PnL, Win Rate, Max Drawdown, PnL to Drawdown Ratio, Total Trading Days, Win/Loss Days, Winning/Losing Streaks, Average Profit/Loss, and more.
Interactive Charts:
Cumulative PnL over time (line chart)
Drawdown over time (line chart)
Monthly PnL (bar chart with green for profits, red for losses)
Yearly PnL (bar chart with green for profits, red for losses)
User-Friendly Design: A clean, responsive interface with hover effects and color-coded metrics for easy interpretation.
The dashboard is built using HTML, CSS, JavaScript, Chart.js for visualizations, and PapaParse for CSV parsing, making it lightweight and easy to use.
How to Use the Trading PnL Dashboard
Follow these simple steps to visualize your Amibroker backtesting results:
Step 1: Export Your Backtest Results from Amibroker
Run your backtest in Amibroker.
Export the trade list as a CSV file. Ensure the CSV includes columns like Symbol, Trade, Date, Price, Ex. date, Ex. Price, % chg, Profit, % Profit, Shares, Position value, Cum. Profit, # bars, Profit/bar, MAE, MFE, and Scale In/Out.
Save the CSV file to your compute
- Upload the file to a web server or hosting service to share it with others.
Step 2: Upload Your CSV File
Open the dashboard.html file in your browser.
Click the "Choose File" button and select your Amibroker-exported CSV file.
The dashboard will automatically parse the CSV and display:
A grid of key performance metrics (e.g., Net PnL, Win Rate, Max Drawdown, etc.).
Four interactive charts visualizing your trading performance over time.
Step 3: Analyze Your Results
Metrics Grid: Each metric is displayed in a card with color-coded values for quick insights (e.g., green for Net PnL, red for Max Drawdown).
Charts: Hover over the charts to see specific data points, such as daily PnL, drawdowns, or monthly performance.
Responsive Design: The dashboard works seamlessly on desktops, tablets, and mobile devices.
https://financepulse360.blogspot.com/p/dashboardreportgenerator.html
What Our Customers Say