Spaces:
Running
Running
File size: 33,675 Bytes
2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 17fd0cc 2d08b43 a3d28ca | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 | <!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TradeFlow Pro Nexus - Dashboard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#10b981'
}
}
}
}
</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; }
.glass-effect { backdrop-filter: blur(16px) saturate(180%); background: rgba(17, 25, 40, 0.75); }
.gradient-bg { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); }
.chart-container { height: 400px; }
.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; }
@media (min-width: 1024px) {
.mobile-bottom-nav { display: none; }
}
</style>
</head>
<body class="gradient-bg min-h-screen text-white">
<!-- Desktop Navigation -->
<nav class="hidden lg:flex glass-effect border-b border-gray-700 p-4">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="trending-up" class="text-primary"></i>
<span class="text-xl font-bold">TradeFlow Pro</span>
</div>
<div class="flex space-x-6">
<a href="index.html" class="flex items-center space-x-1 text-primary border-b-2 border-primary pb-1">
<i data-feather="bar-chart-2"></i>
<span>Dashboard</span>
</a>
<a href="ea-control.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="cpu"></i>
<span>EA Control</span>
</a>
<a href="trading.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="activity"></i>
<span>Trading</span>
</a>
<a href="protection.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="shield"></i>
<span>Protection</span>
</a>
<a href="analytics.html" class="flex items-center space-x-1 hover:text-gray-300">
<i data-feather="pie-chart"></i>
<span>Analytics</span>
</a>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<i data-feather="bell" class="cursor-pointer"></i>
<span class="absolute -top-1 -right-1 bg-red-500 text-xs rounded-full w-4 h-4 flex items-center justify-center">3</span>
</div>
<div class="flex items-center space-x-2">
<div class="w-8 h-8 bg-primary rounded-full flex items-center justify-center">
<i data-feather="user" class="w-4 h-4"></i>
</div>
<span>Trader</span>
</div>
</div>
</div>
</nav>
<!-- Mobile Bottom Navigation -->
<nav class="mobile-bottom-nav glass-effect border-t border-gray-700 lg:hidden">
<div class="flex justify-around items-center py-3">
<a href="index.html" class="flex flex-col items-center text-primary">
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
<span class="text-xs mt-1">Dashboard</span>
</a>
<a href="ea-control.html" class="flex flex-col items-center text-gray-400">
<i data-feather="cpu" class="w-5 h-5"></i>
<span class="text-xs mt-1">EAs</span>
</a>
<a href="trading.html" class="flex flex-col items-center text-gray-400">
<i data-feather="activity" class="w-5 h-5"></i>
<span class="text-xs mt-1">Trade</span>
</a>
<a href="protection.html" class="flex flex-col items-center text-gray-400">
<i data-feather="shield" class="w-5 h-5"></i>
<span class="text-xs mt-1">Shield</span>
</a>
<a href="analytics.html" class="flex flex-col items-center text-gray-400">
<i data-feather="pie-chart" class="w-5 h-5"></i>
<span class="text-xs mt-1">Stats</span>
</a>
</div>
</nav>
<!-- Main Content -->
<main class="container mx-auto px-4 py-6 lg:py-8 pb-20 lg:pb-8">
<!-- Connection Status -->
<div class="glass-effect rounded-xl p-4 mb-6 flex items-center justify-between">
<div class="flex items-center space-x-3">
<div class="w-3 h-3 bg-green-500 rounded-full animate-pulse"></div>
<span class="font-medium">Connected to MT5</span>
<span class="text-sm text-gray-400">Account: 12345678 | Broker: Demo Server</span>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-2xl font-bold">$25,847.32</div>
<div class="text-sm text-green-500">+$324.50 (+1.27%) Today</div>
</div>
<button class="bg-primary hover:bg-primary/80 px-4 py-2 rounded-lg flex items-center space-x-2">
<i data-feather="refresh-cw" class="w-4 h-4"></i>
<span>Sync</span>
</button>
</div>
</div>
<!-- Dashboard Grid -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
<!-- Account Summary -->
<div class="glass-effect rounded-xl p-6 lg:col-span-1">
<h2 class="text-lg font-semibold mb-4 flex items-center space-x-2">
<i data-feather="dollar-sign" class="text-primary"></i>
<span>Account Summary</span>
</h2>
<div class="space-y-3">
<div class="flex justify-between">
<span>Balance:</span>
<span class="font-mono">$25,522.82</span>
</div>
<div class="flex justify-between">
<span>Equity:</span>
<span class="font-mono">$25,847.32</span>
</div>
<div class="flex justify-between">
<span>Free Margin:</span>
<span class="font-mono">$18,234.15</span>
</div>
<div class="flex justify-between">
<span>Margin Level:</span>
<span class="font-mono text-green-500">142%</span>
</div>
</div>
</div>
<!-- Active EAs -->
<div class="glass-effect rounded-xl p-6 lg:col-span-2">
<h2 class="text-lg font-semibold mb-4 flex items-center space-x-2">
<i data-feather="cpu" class="text-secondary"></i>
<span>Active Expert Advisors</span>
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="border border-gray-600 rounded-lg p-4">
<div class="flex justify-between items-start mb-2">
<span class="font-medium">TrendMaster Pro</span>
<span class="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">Active</span>
</div>
<div class="text-sm text-gray-400 mb-2">EUR/USD - M15</div>
<div class="flex justify-between text-sm">
<span>P&L:</span>
<span class="text-green-500">+$142.50</span>
</div>
<div class="flex justify-between text-sm">
<span>Trades:</span>
<span>3</span>
</div>
</div>
<div class="border border-gray-600 rounded-lg p-4">
<div class="flex justify-between items-start mb-2">
<span class="font-medium">ScalperX</span>
<span class="text-xs bg-yellow-500/20 text-yellow-400 px-2 py-1 rounded">Paused</span>
</div>
<div class="text-sm text-gray-400 mb-2">GBP/USD - M5</div>
<div class="flex justify-between text-sm">
<span>P&L:</span>
<span class="text-red-500">-$23.80</span>
</div>
<div class="flex justify-between text-sm">
<span>Trades:</span>
<span>1</span>
</div>
</div>
</div>
</div>
</div>
<!-- Charts and Open Positions -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Advanced Price Chart -->
<div class="glass-effect rounded-xl p-6">
<div class="flex flex-col lg:flex-row lg:items-center lg:justify-between mb-4">
<div class="flex items-center space-x-4 mb-2 lg:mb-0">
<h2 class="text-lg font-semibold">EUR/USD - Advanced Chart</h2>
<div class="flex items-center space-x-2">
<div class="text-green-500 font-mono text-sm">1.08745</div>
<div class="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">+0.21%</div>
</div>
</div>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-gray-700 hover:bg-gray-600 rounded text-sm transition-colors">1M</button>
<button class="px-3 py-1 bg-gray-700 hover:bg-gray-600 rounded text-sm transition-colors">1W</button>
<button class="px-3 py-1 bg-primary rounded text-sm">1D</button>
<button class="px-3 py-1 bg-gray-700 hover:bg-gray-600 rounded text-sm transition-colors">4H</button>
<button class="px-3 py-1 bg-gray-700 hover:bg-gray-600 rounded text-sm transition-colors">1H</button>
</div>
</div>
<div class="chart-container bg-gray-900 rounded-lg relative">
<!-- Chart will be initialized by JavaScript -->
<div class="absolute inset-0 flex items-center justify-center">
<div class="text-center">
<i data-feather="trending-up" class="w-12 h-12 text-primary mx-auto mb-2"></i>
<p class="text-gray-400">Advanced Chart Loading</p>
<p class="text-sm text-gray-500">Real-time technical analysis</p>
</div>
</div>
</div>
<!-- Technical Indicators -->
<div class="grid grid-cols-3 gap-2 mt-4">
<div class="text-center">
<div class="text-sm text-gray-400">RSI</div>
<div class="font-mono text-sm">58.2</div>
</div>
<div class="text-center">
<div class="text-sm text-gray-400">MACD</div>
<div class="font-mono text-sm">+0.002</div>
</div>
<div class="text-center">
<div class="text-sm text-gray-400">Vol</div>
<div class="font-mono text-sm">87.4M</div>
</div>
</div>
</div>
<!-- Open Positions -->
<div class="glass-effect rounded-xl p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center space-x-2">
<i data-feather="layers" class="text-primary"></i>
<span>Open Positions</span>
<span class="bg-primary/20 text-primary text-xs px-2 py-1 rounded">5</span>
</h2>
<div class="space-y-3 max-h-80 overflow-y-auto">
<div class="flex justify-between items-center p-3 bg-gray-800/50 rounded-lg">
<div>
<div class="font-medium">EUR/USD</div>
<div class="text-sm text-gray-400">Buy 0.1 Lot</div>
</div>
<div class="text-right">
<div class="text-green-500 font-mono">+$32.50</div>
<div class="text-sm text-gray-400">1.08745</div>
</div>
</div>
<div class="flex justify-between items-center p-3 bg-gray-800/50 rounded-lg">
<div>
<div class="font-medium">GBP/USD</div>
<div class="text-sm text-gray-400">Sell 0.05 Lot</div>
</div>
<div class="text-right">
<div class="text-red-500 font-mono">-$12.80</div>
<div class="text-sm text-gray-400">1.26530</div>
</div>
</div>
<div class="flex justify-between items-center p-3 bg-gray-800/50 rounded-lg">
<div>
<div class="font-medium">XAU/USD</div>
<div class="text-sm text-gray-400">Buy 0.01 Lot</div>
</div>
<div class="text-right">
<div class="text-green-500 font-mono">+$87.20</div>
<div class="text-sm text-gray-400">1987.45</div>
</div>
</div>
</div>
</div>
</div>
<!-- Advanced Quick Actions Panel -->
<div class="glass-effect rounded-xl p-6 mt-6">
<div class="flex justify-between items-center mb-4">
<h2 class="text-lg font-semibold">Quick Actions & Risk Management</h2>
<div class="flex items-center space-x-2 text-sm text-gray-400">
<i data-feather="shield" class="w-4 h-4 text-green-500"></i>
<span>Risk Level: Medium</span>
</div>
</div>
<div class="grid grid-cols-2 lg:grid-cols-5 gap-4">
<button class="bg-primary/20 hover:bg-primary/30 border border-primary/30 rounded-lg p-4 flex flex-col items-center justify-center space-y-2 transition-all duration-200 hover:scale-105 group" data-tooltip="Open new trade with risk management">
<i data-feather="plus-circle" class="w-8 h-8 text-primary group-hover:scale-110 transition-transform"></i>
<span class="text-sm font-medium">New Trade</span>
<span class="text-xs text-gray-400">Smart Risk Calc</span>
</button>
<button class="bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 rounded-lg p-4 flex flex-col items-center justify-center space-y-2 transition-all duration-200 hover:scale-105 group" data-tooltip="Close all positions with confirmation">
<i data-feather="x-circle" class="w-8 h-8 text-red-500 group-hover:scale-110 transition-transform"></i>
<span class="text-sm font-medium">Close All</span>
<span class="text-xs text-gray-400">Emergency Exit</span>
</button>
<button class="bg-green-500/20 hover:bg-green-500/30 border border-green-500/30 rounded-lg p-4 flex flex-col items-center justify-center space-y-2 transition-all duration-200 hover:scale-105 group" onclick="location.href='analytics.html'">
<i data-feather="trending-up" class="w-8 h-8 text-green-500 group-hover:scale-110 transition-transform"></i>
<span class="text-sm font-medium">Analytics</span>
<span class="text-xs text-gray-400">Advanced Stats</span>
</button>
<button class="bg-blue-500/20 hover:bg-blue-500/30 border border-blue-500/30 rounded-lg p-4 flex flex-col items-center justify-center space-y-2 transition-all duration-200 hover:scale-105 group" data-tooltip="Configure trading parameters">
<i data-feather="settings" class="w-8 h-8 text-blue-500 group-hover:scale-110 transition-transform"></i>
<span class="text-sm font-medium">Settings</span>
<span class="text-xs text-gray-400">Preferences</span>
</button>
<button class="bg-purple-500/20 hover:bg-purple-500/30 border border-purple-500/30 rounded-lg p-4 flex flex-col items-center justify-center space-y-2 transition-all duration-200 hover:scale-105 group" data-tooltip="AI-powered market analysis">
<i data-feather="brain" class="w-8 h-8 text-purple-500 group-hover:scale-110 transition-transform"></i>
<span class="text-sm font-medium">AI Insights</span>
<span class="text-xs text-gray-400">Market Intel</span>
</button>
</div>
<!-- Risk Management Bar -->
<div class="mt-6 pt-4 border-t border-gray-600">
<div class="flex justify-between items-center mb-2">
<span class="text-sm text-gray-400">Portfolio Risk Exposure</span>
<span class="text-sm font-mono">23.4%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2">
<div class="bg-gradient-to-r from-green-500 to-yellow-500 h-2 rounded-full" style="width: 23.4%"></div>
</div>
<div class="flex justify-between text-xs text-gray-400 mt-1">
<span>Low Risk</span>
<span>Medium</span>
<span>High Risk</span>
</div>
</div>
</div>
<!-- Market Overview Widget -->
<div class="glass-effect rounded-xl p-6 mt-6">
<h2 class="text-lg font-semibold mb-4 flex items-center space-x-2">
<i data-feather="globe" class="text-primary"></i>
<span>Live Market Overview</span>
</h2>
<div class="grid grid-cols-2 lg:grid-cols-5 gap-4">
<div class="bg-gray-800/50 rounded-lg p-3">
<div class="flex justify-between items-start mb-2">
<span class="text-sm text-gray-400">EUR/USD</span>
<span class="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">+0.21%</span>
</div>
<div class="font-mono text-lg">1.08745</div>
<div class="text-xs text-gray-400">Spread: 0.6</div>
</div>
<div class="bg-gray-800/50 rounded-lg p-3">
<div class="flex justify-between items-start mb-2">
<span class="text-sm text-gray-400">GBP/USD</span>
<span class="text-xs bg-red-500/20 text-red-400 px-2 py-1 rounded">-0.15%</span>
</div>
<div class="font-mono text-lg">1.26530</div>
<div class="text-xs text-gray-400">Spread: 0.8</div>
</div>
<div class="bg-gray-800/50 rounded-lg p-3">
<div class="flex justify-between items-start mb-2">
<span class="text-sm text-gray-400">XAU/USD</span>
<span class="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">+0.36%</span>
</div>
<div class="font-mono text-lg">1987.45</div>
<div class="text-xs text-gray-400">Spread: 0.5</div>
</div>
<div class="bg-gray-800/50 rounded-lg p-3">
<div class="flex justify-between items-start mb-2">
<span class="text-sm text-gray-400">BTC/USD</span>
<span class="text-xs bg-green-500/20 text-green-400 px-2 py-1 rounded">+1.24%</span>
</div>
<div class="font-mono text-lg">42500.50</div>
<div class="text-xs text-gray-400">Spread: 25.0</div>
</div>
<div class="bg-gray-800/50 rounded-lg p-3">
<div class="flex justify-between items-start mb-2">
<span class="text-sm text-gray-400">USD/JPY</span>
<span class="text-xs bg-red-500/20 text-red-400 px-2 py-1 rounded">-0.08%</span>
</div>
<div class="font-mono text-lg">148.25</div>
<div class="text-xs text-gray-400">Spread: 0.9</div>
</div>
</div>
</div>
</main>
<!-- Vanta.js Background -->
<div id="vanta-bg" class="fixed inset-0 -z-10"></div>
<!-- TradingView Widget -->
<div id="tradingview-widget" class="fixed inset-0 -z-20 opacity-20"></div>
<script src="https://cdn.jsdelivr.net/npm/luxon@3.3.0/build/global/luxon.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.min.js"></script>
<script src="https://s3.tradingview.com/tv.js"></script>
<script>
</script>
</body>
</html>
|