| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Reports - MetaTrader Command Center</title> |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
| <script src="https://cdn.tailwindcss.com"></script> |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
| <script src="https://unpkg.com/feather-icons"></script> |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> |
| <script> |
| tailwind.config = { |
| darkMode: 'class', |
| theme: { |
| extend: { |
| colors: { |
| primary: { |
| 50: '#f0f9ff', |
| 100: '#e0f2fe', |
| 200: '#bae6fd', |
| 300: '#7dd3fc', |
| 400: '#38bdf8', |
| 500: '#0ea5e9', |
| 600: '#0284c7', |
| 700: '#0369a1', |
| 800: '#075985', |
| 900: '#0c4a6e', |
| }, |
| secondary: { |
| 50: '#fdf2f8', |
| 100: '#fce7f3', |
| 200: '#fbcfe8', |
| 300: '#f9a8d4', |
| 400: '#f472b6', |
| 500: '#ec4899', |
| 600: '#db2777', |
| 700: '#be185d', |
| 800: '#9d174d', |
| 900: '#831843', |
| } |
| } |
| } |
| } |
| } |
| </script> |
| <style> |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); |
| body { |
| font-family: 'Inter', sans-serif; |
| background-color: #0f172a; |
| color: #e2e8f0; |
| } |
| .glass-effect { |
| background: rgba(30, 41, 59, 0.7); |
| backdrop-filter: blur(10px); |
| border: 1px solid rgba(148, 163, 184, 0.2); |
| } |
| .report-card { |
| transition: all 0.3s ease; |
| } |
| .report-card:hover { |
| transform: translateY(-3px); |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); |
| } |
| .chart-container { |
| position: relative; |
| height: 300px; |
| } |
| |
| .mobile-menu { |
| display: none; |
| } |
| @media (max-width: 768px) { |
| .desktop-menu { |
| display: none; |
| } |
| .mobile-menu { |
| display: block; |
| } |
| .mobile-menu-content { |
| max-height: 0; |
| overflow: hidden; |
| transition: max-height 0.3s ease-out; |
| } |
| .mobile-menu-content.open { |
| max-height: 500px; |
| transition: max-height 0.5s ease-in; |
| } |
| } |
| </style> |
| </head> |
| <body class="bg-slate-900 text-slate-100 min-h-screen"> |
| |
| <div class="flex flex-col md:flex-row min-h-screen"> |
| |
| <div class="w-full md:w-64 glass-effect p-4 flex flex-col"> |
| <div class="mb-8"> |
| <h1 class="text-2xl font-bold text-primary-400 flex items-center"> |
| <i data-feather="activity" class="mr-2"></i> |
| MT5 Command |
| </h1> |
| <p class="text-xs text-slate-400 mt-1">Trading Control Panel</p> |
| </div> |
|
|
| |
| <div class="mobile-menu mb-4"> |
| <button id="mobile-menu-toggle" class="w-full flex justify-between items-center p-3 rounded-lg bg-slate-800 hover:bg-slate-700"> |
| <span>Menu</span> |
| <i data-feather="menu" class="w-5 h-5"></i> |
| </button> |
| <div id="mobile-menu-content" class="mobile-menu-content bg-slate-800 rounded-lg mt-2"> |
| <ul class="py-2"> |
| <li> |
| <a href="index.html" class="flex items-center p-3 rounded-lg hover:bg-slate-700"> |
| <i data-feather="home" class="mr-3 w-5 h-5"></i> |
| <span>Dashboard</span> |
| </a> |
| </li> |
| <li> |
| <a href="trading-view.html" class="flex items-center p-3 rounded-lg hover:bg-slate-700"> |
| <i data-feather="bar-chart-2" class="mr-3 w-5 h-5"></i> |
| <span>Trading View</span> |
| </a> |
| </li> |
| <li> |
| <a href="experts.html" class="flex items-center p-3 rounded-lg hover:bg-slate-700"> |
| <i data-feather="settings" class="mr-3 w-5 h-5"></i> |
| <span>Expert Advisors</span> |
| </a> |
| </li> |
| <li> |
| <a href="calculator.html" class="flex items-center p-3 rounded-lg hover:bg-slate-700"> |
| <i data-feather="calculator" class="mr-3 w-5 h-5"></i> |
| <span>Position Calculator</span> |
| </a> |
| </li> |
| <li> |
| <a href="strategies.html" class="flex items-center p-3 rounded-lg hover:bg-slate-700"> |
| <i data-feather="layers" class="mr-3 w-5 h-5"></i> |
| <span>Strategies</span> |
| </a> |
| </li> |
| <li> |
| <a href="risk-management.html" class="flex items-center p-3 rounded-lg hover:bg-slate-700"> |
| <i data-feather="shield" class="mr-3 w-5 h-5"></i> |
| <span>Risk Management</span> |
| </a> |
| </li> |
| <li> |
| <a href="reports.html" class="flex items-center p-3 rounded-lg bg-primary-600 text-white"> |
| <i data-feather="file-text" class="mr-3 w-5 h-5"></i> |
| <span>Reports</span> |
| </a> |
| </li> |
| <li> |
| <a href="account-connection.html" class="flex items-center p-3 rounded-lg hover:bg-slate-700"> |
| <i data-feather="link" class="mr-3 w-5 h-5"></i> |
| <span>Account Connection</span> |
| </a> |
| </li> |
| </ul> |
| </div> |
| </div> |
|
|
| |
| <nav class="flex-1 desktop-menu"> |
| <ul class="space-y-2"> |
| <li> |
| <a href="index.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800"> |
| <i data-feather="home" class="mr-3"></i> |
| Dashboard |
| </a> |
| </li> |
| <li> |
| <a href="trading-view.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800"> |
| <i data-feather="bar-chart-2" class="mr-3"></i> |
| Trading View |
| </a> |
| </li> |
| <li> |
| <a href="experts.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800"> |
| <i data-feather="settings" class="mr-3"></i> |
| Expert Advisors |
| </a> |
| </li> |
| <li> |
| <a href="calculator.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800"> |
| <i data-feather="calculator" class="mr-3"></i> |
| Position Calculator |
| </a> |
| </li> |
| <li> |
| <a href="strategies.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800"> |
| <i data-feather="layers" class="mr-3"></i> |
| Strategies |
| </a> |
| </li> |
| <li> |
| <a href="risk-management.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800"> |
| <i data-feather="shield" class="mr-3"></i> |
| Risk Management |
| </a> |
| </li> |
| <li> |
| <a href="reports.html" class="flex items-center p-3 rounded-lg bg-primary-600 text-white"> |
| <i data-feather="file-text" class="mr-3"></i> |
| Reports |
| </a> |
| </li> |
| <li> |
| <a href="account-connection.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800"> |
| <i data-feather="link" class="mr-3"></i> |
| Account Connection |
| </a> |
| </li> |
| </ul> |
| </nav> |
|
|
| <div class="mt-auto pt-4 border-t border-slate-700"> |
| <div class="flex items-center"> |
| <div class="bg-slate-700 rounded-full p-2 mr-3"> |
| <i data-feather="user" class="w-5 h-5"></i> |
| </div> |
| <div> |
| <p class="font-medium">Trader Pro</p> |
| <p class="text-xs text-slate-400">Active Session</p> |
| </div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="flex-1 overflow-auto"> |
| |
| <header class="glass-effect p-4 flex justify-between items-center"> |
| <div> |
| <h2 class="text-xl font-bold">Reports & Analytics</h2> |
| <p class="text-sm text-slate-400">Comprehensive trading performance reports</p> |
| </div> |
| <div class="flex items-center space-x-4"> |
| <div class="relative"> |
| <select class="bg-slate-800 rounded-lg py-2 px-4 focus:outline-none focus:ring-2 focus:ring-primary-500"> |
| <option>Last 7 Days</option> |
| <option selected>Last 30 Days</option> |
| <option>Last 90 Days</option> |
| <option>Year to Date</option> |
| <option>All Time</option> |
| </select> |
| </div> |
| <button class="bg-primary-600 hover:bg-primary-700 px-4 py-2 rounded-lg flex items-center"> |
| <i data-feather="download" class="mr-2"></i> |
| Export |
| </button> |
| </div> |
| </header> |
| |
| <div class="p-4 grid grid-cols-1 md:grid-cols-4 gap-4"> |
| <div class="glass-effect rounded-xl p-4"> |
| <div class="flex justify-between items-start"> |
| <div> |
| <p class="text-slate-400 text-sm">Total Return</p> |
| <p class="text-2xl font-bold">+$1,247.80</p> |
| </div> |
| <div class="bg-green-500/20 p-2 rounded-lg"> |
| <i data-feather="trending-up" class="text-green-500"></i> |
| </div> |
| </div> |
| <p class="text-green-500 text-sm mt-2">+4.98% ROI</p> |
| </div> |
|
|
| <div class="glass-effect rounded-xl p-4"> |
| <div class="flex justify-between items-start"> |
| <div> |
| <p class="text-slate-400 text-sm">Win Rate</p> |
| <p class="text-2xl font-bold">64.2%</p> |
| </div> |
| <div class="bg-blue-500/20 p-2 rounded-lg"> |
| <i data-feather="percent" class="text-blue-500"></i> |
| </div> |
| </div> |
| <p class="text-slate-400 text-sm mt-2">127 winning trades</p> |
| </div> |
|
|
| <div class="glass-effect rounded-xl p-4"> |
| <div class="flex justify-between items-start"> |
| <div> |
| <p class="text-slate-400 text-sm">Avg. Win/Loss</p> |
| <p class="text-2xl font-bold">1.85</p> |
| </div> |
| <div class="bg-purple-500/20 p-2 rounded-lg"> |
| <i data-feather="bar-chart-2" class="text-purple-500"></i> |
| </div> |
| </div> |
| <p class="text-slate-400 text-sm mt-2">Reward:Risk ratio</p> |
| </div> |
|
|
| <div class="glass-effect rounded-xl p-4"> |
| <div class="flex justify-between items-start"> |
| <div> |
| <p class="text-slate-400 text-sm">Largest Winner</p> |
| <p class="text-2xl font-bold">+$427.50</p> |
| </div> |
| <div class="bg-green-500/20 p-2 rounded-lg"> |
| <i data-feather="arrow-up-circle" class="text-green-500"></i> |
| </div> |
| </div> |
| <p class="text-slate-400 text-sm mt-2">EURUSD breakout trade</p> |
| </div> |
| </div> |
|
|
| |
| <div class="p-4 grid grid-cols-1 lg:grid-cols-2 gap-4"> |
| <div class="glass-effect rounded-xl p-4"> |
| <h3 class="font-bold mb-4">Equity Curve</h3> |
| <div class="chart-container"> |
| <canvas id="equityChart"></canvas> |
| </div> |
| </div> |
| <div class="glass-effect rounded-xl p-4"> |
| <h3 class="font-bold mb-4">Daily Returns Distribution</h3> |
| <div class="chart-container"> |
| <canvas id="returnsChart"></canvas> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="p-4"> |
| <div class="glass-effect rounded-xl p-4"> |
| <h3 class="font-bold mb-4">Detailed Reports</h3> |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> |
| <div class="report-card glass-effect rounded-xl p-4"> |
| <div class="flex items-center mb-3"> |
| <div class="bg-blue-500/20 p-2 rounded-lg mr-3"> |
| <i data-feather="bar-chart" class="text-blue-500 w-5 h-5"></i> |
| </div> |
| <h4 class="font-medium">Performance Summary</h4> |
| </div> |
| <p class="text-sm text-slate-400 mb-3">Overall trading performance metrics</p> |
| <button class="w-full bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm"> |
| View Report |
| </button> |
| </div> |
| |
| <div class="report-card glass-effect rounded-xl p-4"> |
| <div class="flex items-center mb-3"> |
| <div class="bg-green-500/20 p-2 rounded-lg mr-3"> |
| <i data-feather="trending-up" class="text-green-500 w-5 h-5"></i> |
| </div> |
| <h4 class="font-medium">Strategy Analysis</h4> |
| </div> |
| <p class="text-sm text-slate-400 mb-3">Individual strategy performance breakdown</p> |
| <button class="w-full bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm"> |
| View Report |
| </button> |
| </div> |
| |
| <div class="report-card glass-effect rounded-xl p-4"> |
| <div class="flex items-center mb-3"> |
| <div class="bg-yellow-500/20 p-2 rounded-lg mr-3"> |
| <i data-feather="calendar" class="text-yellow-500 w-5 h-5"></i> |
| </div> |
| <h4 class="font-medium">Monthly Review</h4> |
| </div> |
| <p class="text-sm text-slate-400 mb-3">Monthly performance and analysis</p> |
| <button class="w-full bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm"> |
| View Report |
| </button> |
| </div> |
| |
| <div class="report-card glass-effect rounded-xl p-4"> |
| <div class="flex items-center mb-3"> |
| <div class="bg-purple-500/20 p-2 rounded-lg mr-3"> |
| <i data-feather="users" class="text-purple-500 w-5 h-5"></i> |
| </div> |
| <h4 class="font-medium">Asset Allocation</h4> |
| </div> |
| <p class="text-sm text-slate-400 mb-3">Portfolio distribution and exposure</p> |
| <button class="w-full bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm"> |
| View Report |
| </button> |
| </div> |
| |
| <div class="report-card glass-effect rounded-xl p-4"> |
| <div class="flex items-center mb-3"> |
| <div class="bg-red-500/20 p-2 rounded-lg mr-3"> |
| <i data-feather="alert-triangle" class="text-red-500 w-5 h-5"></i> |
| </div> |
| <h4 class="font-medium">Risk Assessment</h4> |
| </div> |
| <p class="text-sm text-slate-400 mb-3">Risk metrics and exposure analysis</p> |
| <button class="w-full bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm"> |
| View Report |
| </button> |
| </div> |
| |
| <div class="report-card glass-effect rounded-xl p-4"> |
| <div class="flex items-center mb-3"> |
| <div class="bg-indigo-500/20 p-2 rounded-lg mr-3"> |
| <i data-feather="file-text" class="text-indigo-500 w-5 h-5"></i> |
| </div> |
| <h4 class="font-medium">Trade Log</h4> |
| </div> |
| <p class="text-sm text-slate-400 mb-3">Complete history of all trades</p> |
| <button class="w-full bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm"> |
| View Report |
| </button> |
| </div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="p-4"> |
| <div class="glass-effect rounded-xl p-4"> |
| <h3 class="font-bold mb-4">Recent Activity</h3> |
| <div class="overflow-x-auto"> |
| <table class="w-full text-sm"> |
| <thead> |
| <tr class="text-left text-slate-400"> |
| <th class="pb-2">Date</th> |
| <th class="pb-2">Instrument</th> |
| <th class="pb-2">Action</th> |
| <th class="pb-2">Result</th> |
| <th class="pb-2">Profit</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="border-b border-slate-800"> |
| <td class="py-3">2023-06-15</td> |
| <td class="py-3">EURUSD</td> |
| <td class="py-3">BUY</td> |
| <td class="py-3">Closed</td> |
| <td class="py-3 text-green-500">+$124.50</td> |
| </tr> |
| <tr class="border-b border-slate-800"> |
| <td class="py-3">2023-06-14</td> |
| <td class="py-3">GBPUSD</td> |
| <td class="py-3">SELL</td> |
| <td class="py-3">Closed</td> |
| <td class="py-3 text-red-500">-$42.30</td> |
| </tr> |
| <tr class="border-b border-slate-800"> |
| <td class="py-3">2023-06-14</td> |
| <td class="py-3">USDJPY</td> |
| <td class="py-3">BUY</td> |
| <td class="py-3">Closed</td> |
| <td class="py-3 text-green-500">+$87.20</td> |
| </tr> |
| <tr class="border-b border-slate-800"> |
| <td class="py-3">2023-06-13</td> |
| <td class="py-3">AUDUSD</td> |
| <td class="py-3">SELL</td> |
| <td class="py-3">Closed</td> |
| <td class="py-3 text-green-500">+$56.80</td> |
| </tr> |
| <tr> |
| <td class="py-3">2023-06-13</td> |
| <td class="py-3">NZDUSD</td> |
| <td class="py-3">BUY</td> |
| <td class="py-3">Closed</td> |
| <td class="py-3 text-red-500">-$28.40</td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <script> |
| |
| feather.replace(); |
| |
| |
| document.addEventListener('DOMContentLoaded', function() { |
| const menuToggle = document.getElementById('mobile-menu-toggle'); |
| const menuContent = document.getElementById('mobile-menu-content'); |
| |
| if (menuToggle && menuContent) { |
| menuToggle.addEventListener('click', function() { |
| const icon = this.querySelector('[data-feather]'); |
| if (menuContent.classList.contains('open')) { |
| menuContent.classList.remove('open'); |
| icon.setAttribute('data-feather', 'menu'); |
| } else { |
| menuContent.classList.add('open'); |
| icon.setAttribute('data-feather', 'x'); |
| } |
| feather.replace(); |
| }); |
| } |
| }); |
| |
| |
| const equityCtx = document.getElementById('equityChart').getContext('2d'); |
| const equityChart = new Chart(equityCtx, { |
| type: 'line', |
| data: { |
| labels: ['Jun 1', 'Jun 3', 'Jun 5', 'Jun 7', 'Jun 9', 'Jun 11', 'Jun 13', 'Jun 15'], |
| datasets: [{ |
| label: 'Equity', |
| data: [24500, 24650, 24800, 24750, 24900, 25100, 25250, 25347], |
| borderColor: '#0ea5e9', |
| backgroundColor: 'rgba(14, 165, 233, 0.1)', |
| borderWidth: 2, |
| pointRadius: 3, |
| fill: true, |
| tension: 0.3 |
| }] |
| }, |
| options: { |
| responsive: true, |
| maintainAspectRatio: false, |
| plugins: { |
| legend: { |
| display: false |
| } |
| }, |
| scales: { |
| x: { |
| grid: { |
| display: false, |
| drawBorder: false |
| }, |
| ticks: { |
| color: '#94a3b8' |
| } |
| }, |
| y: { |
| grid: { |
| color: 'rgba(148, 163, 184, 0.1)', |
| drawBorder: false |
| }, |
| ticks: { |
| color: '#94a3b8', |
| callback: function(value) { |
| return '$' + value.toLocaleString(); |
| } |
| } |
| } |
| } |
| } |
| }); |
| |
| |
| const returnsCtx = document.getElementById('returnsChart').getContext('2d'); |
| const returnsChart = new Chart(returnsCtx, { |
| type: 'bar', |
| data: { |
| labels: ['-2%', '-1%', '0%', '1%', '2%', '3%', '4%'], |
| datasets: [{ |
| label: 'Number of Trades', |
| data: [5, 12, 25, 38, 28, 15, 4], |
| backgroundColor: [ |
| 'rgba(239, 68, 68, 0.7)', |
| 'rgba(245, 158, 11, 0.7)', |
| 'rgba(156, 163, 175, 0.7)', |
| 'rgba(59, 130, 246, 0.7)', |
| 'rgba(16, 185, 129, 0.7)', |
| 'rgba(16, 185, 129, 0.7)', |
| 'rgba(16, 185, 129, 0.7)' |
| ], |
| borderWidth: 0 |
| }] |
| }, |
| options: { |
| responsive: true, |
| maintainAspectRatio: false, |
| plugins: { |
| legend: { |
| display: false |
| } |
| }, |
| scales: { |
| x: { |
| grid: { |
| display: false, |
| drawBorder: false |
| }, |
| ticks: { |
| color: '#94a3b8' |
| } |
| }, |
| y: { |
| grid: { |
| color: 'rgba(148, 163, 184, 0.1)', |
| drawBorder: false |
| }, |
| ticks: { |
| color: '#94a3b8' |
| }, |
| beginAtZero: true |
| } |
| } |
| } |
| }); |
| </script> |
| </body> |
| </html> |