jsonet commited on
Commit
466292b
·
verified ·
1 Parent(s): c518c8b

Implementa el desarrollo de la siguiente interfaz grafica, debe ser hiper responsiva e implementar todo el contenido y herramientas detalladas a continuacion organizadas en diferentes paginas interconectadas dentro de la misma interfaz, debe ser hiper optimizada y responsiva para pantallas pequeñas: Implementa el desarrollo completo de una interfaz GUI para Metatrader 5, que sirva como herramienta completa para la gestión y monitoreo de trading en tiempo real, impleméntala a modo de EA y panel operativo en el grafico, la herramienta debe incorporar detalladamente todas las funciones siguientes de forma precisa y correcta, además quiero que también integre la función de monitorear y controlar todos los EAs del sistema disponibles en la carpeta y subcarpetas y que la interfaz GUI refleje todos los datos detallados de cada EA en tiempo real y resultados de cada EA y estrategia, además de todas las funciones siguientes:

Browse files

Calculadora de tamaño de posición: Calcula instantáneamente el tamaño de la operación basado en el riesgo definido.
Planificación sencilla de operaciones: Planifica operaciones directamente en el gráfico con líneas para entrada, stop loss y take profit.
Visualización en tiempo real de SL y TP: Muestra SL y TP en moneda de la cuenta, pips o puntos.
Herramientas avanzadas de protección
Opciones de breakeven:
Breakeven básico: Protege tus ganancias cuando la operación alcanza cierto nivel.
Breakeven multi-nivel: Configura hasta 4 niveles para asegurar la ganancia progresivamente.
Opciones de trailing stop:
Trailing stop básico: Ajusta con cada movimiento de precio.
Trailing stop multi-nivel: Personaliza hasta 4 niveles.
Trailing stop siguiendo picos y valles: Se adapta al impulso del mercado.
Trailing stop basado en media móvil: Ideal para seguir tendencias.
Trailing stop basado en ATR: Adapta el trailing stop según la volatilidad.
Trailing stop de cierre parcial: Asegura las ganancias en partes.
Cierre parcial de TP y SL: Realiza cierres parciales a medida que avanza la operación.
Herramientas de discreción y eficiencia
Modo oculto: Oculta SL, TP y órdenes pendientes.
Automatización de SL y TP para órdenes externas: Protege órdenes abiertas desde aplicaciones móviles u otras plataformas.
Trailing de órdenes pendientes: Las órdenes pendientes siguen dinámicamente el precio actual.
Ejecución precisa de órdenes
Órdenes limitadas de retroceso (LPO): Consigue precios de entrada mejorados en retrocesos estratégicos.
Cierre rápido de operaciones: Cierra todas las operaciones, solo las ganadoras, perdedoras, de compra o de venta.
Borrado rápido de órdenes pendientes.
División de operaciones grandes: Divide operaciones grandes en partes para cuentas de gran volumen.
Eficiencia y personalización
Guardado y carga de plantillas: Facilita las tareas repetitivas con plantillas personalizables.
OCO (One Cancels the Other): Cancela automáticamente órdenes opuestas cuando se activa una de ellas.
Gestión de ratio riesgo-beneficio: Mantén un balance entre riesgo y beneficio en cada operación.

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +979 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Metatrader Master Hub
3
- emoji: 😻
4
- colorFrom: indigo
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: MetaTrader Master Hub 🚀
3
+ colorFrom: pink
4
+ colorTo: gray
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,980 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MetaTrader Master Hub</title>
7
+ <link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>📈</text></svg>">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
12
+ <script>
13
+ tailwind.config = {
14
+ darkMode: 'class',
15
+ theme: {
16
+ extend: {
17
+ colors: {
18
+ primary: {
19
+ 50: '#eff6ff',
20
+ 100: '#dbeafe',
21
+ 200: '#bfdbfe',
22
+ 300: '#93c5fd',
23
+ 400: '#60a5fa',
24
+ 500: '#3b82f6',
25
+ 600: '#2563eb',
26
+ 700: '#1d4ed8',
27
+ 800: '#1e40af',
28
+ 900: '#1e3a8a',
29
+ 950: '#172554'
30
+ },
31
+ secondary: {
32
+ 50: '#fafafa',
33
+ 100: '#f4f4f5',
34
+ 200: '#e4e4e7',
35
+ 300: '#d4d4d8',
36
+ 400: '#a1a1aa',
37
+ 500: '#71717a',
38
+ 600: '#52525b',
39
+ 700: '#3f3f46',
40
+ 800: '#27272a',
41
+ 900: '#18181b',
42
+ 950: '#09090b'
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ </script>
49
+ <style>
50
+ .glass {
51
+ backdrop-filter: blur(16px);
52
+ -webkit-backdrop-filter: blur(16px);
53
+ }
54
+ .gradient-border {
55
+ position: relative;
56
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(113, 113, 122, 0.1));
57
+ border: 1px solid transparent;
58
+ background-clip: padding-box;
59
+ }
60
+ .gradient-border::before {
61
+ content: '';
62
+ position: absolute;
63
+ top: 0;
64
+ right: 0;
65
+ bottom: 0;
66
+ left: 0;
67
+ z-index: -1;
68
+ margin: -1px;
69
+ border-radius: inherit;
70
+ background: linear-gradient(135deg, #3b82f6, #71717a);
71
+ }
72
+ .pulse-glow {
73
+ animation: pulse-glow 2s ease-in-out infinite alternate;
74
+ }
75
+ @keyframes pulse-glow {
76
+ from { box-shadow: 0 0 10px rgba(59, 130, 246, 0.3); }
77
+ to { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
78
+ }
79
+ .slide-in {
80
+ animation: slideIn 0.3s ease-out;
81
+ }
82
+ @keyframes slideIn {
83
+ from { transform: translateX(-100%); opacity: 0; }
84
+ to { transform: translateX(0); opacity: 1; }
85
+ }
86
+ .fade-in {
87
+ animation: fadeIn 0.5s ease-out;
88
+ }
89
+ @keyframes fadeIn {
90
+ from { opacity: 0; transform: translateY(10px); }
91
+ to { opacity: 1; transform: translateY(0); }
92
+ }
93
+ </style>
94
+ </head>
95
+ <body class="bg-secondary-950 text-secondary-100 min-h-screen overflow-x-hidden">
96
+ <!-- Navigation -->
97
+ <nav class="fixed top-0 w-full bg-secondary-900/90 glass border-b border-secondary-800 z-50">
98
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
99
+ <div class="flex items-center justify-between h-16">
100
+ <div class="flex items-center space-x-4">
101
+ <div class="flex-shrink-0">
102
+ <h1 class="text-xl font-bold text-primary-400">MT5 Master Hub</h1>
103
+ </div>
104
+ <div class="hidden md:block">
105
+ <div class="ml-10 flex items-baseline space-x-4">
106
+ <a href="#" onclick="showPage('dashboard')" class="nav-link px-3 py-2 rounded-md text-sm font-medium bg-primary-600 text-white" data-page="dashboard">
107
+ <i data-feather="home" class="inline w-4 h-4 mr-2"></i>Dashboard
108
+ </a>
109
+ <a href="#" onclick="showPage('position-calculator')" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-secondary-300 hover:bg-secondary-800" data-page="position-calculator">
110
+ <i data-feather="calculator" class="inline w-4 h-4 mr-2"></i>Position Calculator
111
+ </a>
112
+ <a href="#" onclick="showPage('trade-planner')" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-secondary-300 hover:bg-secondary-800" data-page="trade-planner">
113
+ <i data-feather="map" class="inline w-4 h-4 mr-2"></i>Trade Planner
114
+ </a>
115
+ <a href="#" onclick="showPage('protection-tools')" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-secondary-300 hover:bg-secondary-800" data-page="protection-tools">
116
+ <i data-feather="shield" class="inline w-4 h-4 mr-2"></i>Protection Tools
117
+ </a>
118
+ <a href="#" onclick="showPage('ea-monitor')" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-secondary-300 hover:bg-secondary-800" data-page="ea-monitor">
119
+ <i data-feather="cpu" class="inline w-4 h-4 mr-2"></i>EA Monitor
120
+ </a>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ <div class="flex items-center space-x-4">
125
+ <button class="p-2 rounded-md text-secondary-400 hover:text-white hover:bg-secondary-800">
126
+ <i data-feather="bell" class="w-5 h-5"></i>
127
+ </button>
128
+ <button class="p-2 rounded-md text-secondary-400 hover:text-white hover:bg-secondary-800">
129
+ <i data-feather="settings" class="w-5 h-5"></i>
130
+ </button>
131
+ </div>
132
+ </div>
133
+ </div>
134
+ <!-- Mobile menu -->
135
+ <div class="md:hidden">
136
+ <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
137
+ <a href="#" onclick="showPage('dashboard')" class="nav-link block px-3 py-2 rounded-md text-base font-medium text-secondary-300 hover:bg-secondary-800" data-page="dashboard">
138
+ <i data-feather="home" class="inline w-4 h-4 mr-2"></i>Dashboard
139
+ </a>
140
+ <a href="#" onclick="showPage('position-calculator')" class="nav-link block px-3 py-2 rounded-md text-base font-medium text-secondary-300 hover:bg-secondary-800" data-page="position-calculator">
141
+ <i data-feather="calculator" class="inline w-4 h-4 mr-2"></i>Position Calculator
142
+ </a>
143
+ <a href="#" onclick="showPage('trade-planner')" class="nav-link block px-3 py-2 rounded-md text-base font-medium text-secondary-300 hover:bg-secondary-800" data-page="trade-planner">
144
+ <i data-feather="map" class="inline w-4 h-4 mr-2"></i>Trade Planner
145
+ </a>
146
+ <a href="#" onclick="showPage('protection-tools')" class="nav-link block px-3 py-2 rounded-md text-base font-medium text-secondary-300 hover:bg-secondary-800" data-page="protection-tools">
147
+ <i data-feather="shield" class="inline w-4 h-4 mr-2"></i>Protection Tools
148
+ </a>
149
+ <a href="#" onclick="showPage('ea-monitor')" class="nav-link block px-3 py-2 rounded-md text-base font-medium text-secondary-300 hover:bg-secondary-800" data-page="ea-monitor">
150
+ <i data-feather="cpu" class="inline w-4 h-4 mr-2"></i>EA Monitor
151
+ </a>
152
+ </div>
153
+ </div>
154
+ </nav>
155
+
156
+ <!-- Main Content -->
157
+ <main class="pt-16 pb-8">
158
+ <!-- Dashboard Page -->
159
+ <div id="dashboard-page" class="page-container fade-in">
160
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
161
+ <div class="mb-8">
162
+ <h2 class="text-3xl font-bold text-white mb-2">Trading Dashboard</h2>
163
+ <p class="text-secondary-400">Monitor your trades and account performance in real-time</p>
164
+ </div>
165
+
166
+ <!-- Account Overview Cards -->
167
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
168
+ <div class="gradient-border rounded-lg p-6 glass pulse-glow">
169
+ <div class="flex items-center justify-between">
170
+ <div>
171
+ <p class="text-secondary-400 text-sm">Balance</p>
172
+ <p class="text-2xl font-bold text-white">$25,432.50</p>
173
+ </div>
174
+ <div class="bg-primary-600/20 p-3 rounded-lg">
175
+ <i data-feather="dollar-sign" class="w-6 h-6 text-primary-400"></i>
176
+ </div>
177
+ </div>
178
+ <div class="mt-4 flex items-center text-green-400">
179
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
180
+ <span class="text-sm">+12.5%</span>
181
+ </div>
182
+ </div>
183
+
184
+ <div class="gradient-border rounded-lg p-6 glass">
185
+ <div class="flex items-center justify-between">
186
+ <div>
187
+ <p class="text-secondary-400 text-sm">Equity</p>
188
+ <p class="text-2xl font-bold text-white">$26,891.20</p>
189
+ </div>
190
+ <div class="bg-green-600/20 p-3 rounded-lg">
191
+ <i data-feather="activity" class="w-6 h-6 text-green-400"></i>
192
+ </div>
193
+ </div>
194
+ <div class="mt-4 flex items-center text-green-400">
195
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
196
+ <span class="text-sm">+5.7%</span>
197
+ </div>
198
+ </div>
199
+
200
+ <div class="gradient-border rounded-lg p-6 glass">
201
+ <div class="flex items-center justify-between">
202
+ <div>
203
+ <p class="text-secondary-400 text-sm">Open Trades</p>
204
+ <p class="text-2xl font-bold text-white">7</p>
205
+ </div>
206
+ <div class="bg-blue-600/20 p-3 rounded-lg">
207
+ <i data-feather="bar-chart-2" class="w-6 h-6 text-blue-400"></i>
208
+ </div>
209
+ </div>
210
+ <div class="mt-4 flex items-center text-blue-400">
211
+ <i data-feather="info" class="w-4 h-4 mr-1"></i>
212
+ <span class="text-sm">3 Buy, 4 Sell</span>
213
+ </div>
214
+ </div>
215
+
216
+ <div class="gradient-border rounded-lg p-6 glass">
217
+ <div class="flex items-center justify-between">
218
+ <div>
219
+ <p class="text-secondary-400 text-sm">Today's P&L</p>
220
+ <p class="text-2xl font-bold text-green-400">+$1,458.70</p>
221
+ </div>
222
+ <div class="bg-green-600/20 p-3 rounded-lg">
223
+ <i data-feather="award" class="w-6 h-6 text-green-400"></i>
224
+ </div>
225
+ </div>
226
+ <div class="mt-4 flex items-center text-green-400">
227
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
228
+ <span class="text-sm">Win Rate: 68%</span>
229
+ </div>
230
+ </div>
231
+ </div>
232
+
233
+ <!-- Active Trades Table -->
234
+ <div class="gradient-border rounded-lg p-6 glass mb-8">
235
+ <div class="flex items-center justify-between mb-4">
236
+ <h3 class="text-xl font-semibold text-white">Active Trades</h3>
237
+ <button class="px-4 py-2 bg-primary-600 text-white rounded-lg hover:bg-primary-700 transition-colors">
238
+ <i data-feather="plus" class="inline w-4 h-4 mr-2"></i>New Trade
239
+ </button>
240
+ </div>
241
+ <div class="overflow-x-auto">
242
+ <table class="min-w-full divide-y divide-secondary-800">
243
+ <thead>
244
+ <tr>
245
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Symbol</th>
246
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Type</th>
247
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Volume</th>
248
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Open Price</th>
249
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Current Price</th>
250
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">SL</th>
251
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">TP</th>
252
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">P&L</th>
253
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Actions</th>
254
+ </tr>
255
+ </thead>
256
+ <tbody class="divide-y divide-secondary-800">
257
+ <tr class="hover:bg-secondary-800/50">
258
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-white">EURUSD</td>
259
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
260
+ <span class="px-2 py-1 text-xs bg-green-600/20 text-green-400 rounded">BUY</span>
261
+ </td>
262
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">1.50</td>
263
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">1.0856</td>
264
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-white">1.0872</td>
265
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">1.0830</td>
266
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">1.0900</td>
267
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-green-400">+$240.00</td>
268
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
269
+ <button class="text-primary-400 hover:text-primary-300 mr-2">
270
+ <i data-feather="edit-2" class="w-4 h-4"></i>
271
+ </button>
272
+ <button class="text-red-400 hover:text-red-300">
273
+ <i data-feather="x" class="w-4 h-4"></i>
274
+ </button>
275
+ </td>
276
+ </tr>
277
+ <tr class="hover:bg-secondary-800/50">
278
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-white">GBPUSD</td>
279
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
280
+ <span class="px-2 py-1 text-xs bg-red-600/20 text-red-400 rounded">SELL</span>
281
+ </td>
282
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">0.75</td>
283
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">1.2745</td>
284
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-white">1.2738</td>
285
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">1.2760</td>
286
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">1.2700</td>
287
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-green-400">+$52.50</td>
288
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
289
+ <button class="text-primary-400 hover:text-primary-300 mr-2">
290
+ <i data-feather="edit-2" class="w-4 h-4"></i>
291
+ </button>
292
+ <button class="text-red-400 hover:text-red-300">
293
+ <i data-feather="x" class="w-4 h-4"></i>
294
+ </button>
295
+ </td>
296
+ </tr>
297
+ </tbody>
298
+ </table>
299
+ </div>
300
+ </div>
301
+
302
+ <!-- Performance Chart -->
303
+ <div class="gradient-border rounded-lg p-6 glass">
304
+ <h3 class="text-xl font-semibold text-white mb-4">Performance Chart</h3>
305
+ <div class="h-64">
306
+ <canvas id="performanceChart"></canvas>
307
+ </div>
308
+ </div>
309
+ </div>
310
+ </div>
311
+
312
+ <!-- Position Calculator Page -->
313
+ <div id="position-calculator-page" class="page-container hidden">
314
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
315
+ <div class="mb-8">
316
+ <h2 class="text-3xl font-bold text-white mb-2">Position Size Calculator</h2>
317
+ <p class="text-secondary-400">Calculate optimal position size based on your risk parameters</p>
318
+ </div>
319
+
320
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
321
+ <!-- Calculator Input -->
322
+ <div class="gradient-border rounded-lg p-6 glass">
323
+ <h3 class="text-lg font-semibold text-white mb-4">Risk Parameters</h3>
324
+ <form class="space-y-4">
325
+ <div>
326
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Account Balance</label>
327
+ <input type="number" class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white focus:ring-2 focus:ring-primary-500 focus:border-transparent" value="25432.50">
328
+ </div>
329
+ <div>
330
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Risk Percentage (%)</label>
331
+ <input type="number" class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white focus:ring-2 focus:ring-primary-500 focus:border-transparent" value="2" step="0.1">
332
+ </div>
333
+ <div>
334
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Stop Loss (pips)</label>
335
+ <input type="number" class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white focus:ring-2 focus:ring-primary-500 focus:border-transparent" value="50">
336
+ </div>
337
+ <div>
338
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Currency Pair</label>
339
+ <select class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white focus:ring-2 focus:ring-primary-500 focus:border-transparent">
340
+ <option>EURUSD</option>
341
+ <option>GBPUSD</option>
342
+ <option>USDJPY</option>
343
+ <option>AUDUSD</option>
344
+ <option>USDCHF</option>
345
+ </select>
346
+ </div>
347
+ <button type="button" class="w-full px-4 py-2 bg-primary-600 text-white rounded-lg hover:bg-primary-700 transition-colors">
348
+ <i data-feather="calculator" class="inline w-4 h-4 mr-2"></i>Calculate Position Size
349
+ </button>
350
+ </form>
351
+ </div>
352
+
353
+ <!-- Calculator Results -->
354
+ <div class="gradient-border rounded-lg p-6 glass">
355
+ <h3 class="text-lg font-semibold text-white mb-4">Calculation Results</h3>
356
+ <div class="space-y-4">
357
+ <div class="bg-secondary-800/50 rounded-lg p-4">
358
+ <div class="flex justify-between items-center">
359
+ <span class="text-secondary-400">Position Size</span>
360
+ <span class="text-xl font-bold text-white">1.25 lots</span>
361
+ </div>
362
+ </div>
363
+ <div class="bg-secondary-800/50 rounded-lg p-4">
364
+ <div class="flex justify-between items-center">
365
+ <span class="text-secondary-400">Risk Amount</span>
366
+ <span class="text-xl font-bold text-white">$508.65</span>
367
+ </div>
368
+ </div>
369
+ <div class="bg-secondary-800/50 rounded-lg p-4">
370
+ <div class="flex justify-between items-center">
371
+ <span class="text-secondary-400">Pip Value</span>
372
+ <span class="text-xl font-bold text-white">$10.00</span>
373
+ </div>
374
+ </div>
375
+ <div class="bg-secondary-800/50 rounded-lg p-4">
376
+ <div class="flex justify-between items-center">
377
+ <span class="text-secondary-400">Potential Loss</span>
378
+ <span class="text-xl font-bold text-red-400">-$508.65</span>
379
+ </div>
380
+ </div>
381
+ <div class="bg-secondary-800/50 rounded-lg p-4">
382
+ <div class="flex justify-between items-center">
383
+ <span class="text-secondary-400">Risk/Reward Ratio</span>
384
+ <span class="text-xl font-bold text-white">1:2</span>
385
+ </div>
386
+ </div>
387
+ </div>
388
+ </div>
389
+ </div>
390
+ </div>
391
+ </div>
392
+
393
+ <!-- Trade Planner Page -->
394
+ <div id="trade-planner-page" class="page-container hidden">
395
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
396
+ <div class="mb-8">
397
+ <h2 class="text-3xl font-bold text-white mb-2">Trade Planner</h2>
398
+ <p class="text-secondary-400">Plan your trades directly on the chart with visual tools</p>
399
+ </div>
400
+
401
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
402
+ <!-- Chart Area -->
403
+ <div class="lg:col-span-2">
404
+ <div class="gradient-border rounded-lg p-6 glass h-96">
405
+ <div class="flex items-center justify-between mb-4">
406
+ <h3 class="text-lg font-semibold text-white">EURUSD - H1</h3>
407
+ <div class="flex space-x-2">
408
+ <button class="px-3 py-1 bg-primary-600 text-white rounded text-sm hover:bg-primary-700">
409
+ <i data-feather="trending-up" class="inline w-4 h-4 mr-1"></i>Buy
410
+ </button>
411
+ <button class="px-3 py-1 bg-red-600 text-white rounded text-sm hover:bg-red-700">
412
+ <i data-feather="trending-down" class="inline w-4 h-4 mr-1"></i>Sell
413
+ </button>
414
+ </div>
415
+ </div>
416
+ <div class="bg-secondary-900/50 rounded-lg h-64 flex items-center justify-center">
417
+ <p class="text-secondary-400">Chart visualization area</p>
418
+ </div>
419
+ <div class="mt-4 grid grid-cols-3 gap-4">
420
+ <div class="bg-secondary-800/50 rounded-lg p-3">
421
+ <p class="text-xs text-secondary-400">Entry</p>
422
+ <p class="text-sm font-semibold text-white">1.0875</p>
423
+ </div>
424
+ <div class="bg-secondary-800/50 rounded-lg p-3">
425
+ <p class="text-xs text-secondary-400">Stop Loss</p>
426
+ <p class="text-sm font-semibold text-red-400">1.0850</p>
427
+ </div>
428
+ <div class="bg-secondary-800/50 rounded-lg p-3">
429
+ <p class="text-xs text-secondary-400">Take Profit</p>
430
+ <p class="text-sm font-semibold text-green-400">1.0925</p>
431
+ </div>
432
+ </div>
433
+ </div>
434
+ </div>
435
+
436
+ <!-- Planning Tools -->
437
+ <div class="space-y-6">
438
+ <div class="gradient-border rounded-lg p-6 glass">
439
+ <h3 class="text-lg font-semibold text-white mb-4">Trade Setup</h3>
440
+ <div class="space-y-3">
441
+ <div>
442
+ <label class="block text-sm font-medium text-secondary-300 mb-1">Entry Price</label>
443
+ <input type="number" class="w-full px-3 py-2 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="1.0875" step="0.0001">
444
+ </div>
445
+ <div>
446
+ <label class="block text-sm font-medium text-secondary-300 mb-1">Stop Loss</label>
447
+ <input type="number" class="w-full px-3 py-2 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="1.0850" step="0.0001">
448
+ </div>
449
+ <div>
450
+ <label class="block text-sm font-medium text-secondary-300 mb-1">Take Profit</label>
451
+ <input type="number" class="w-full px-3 py-2 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="1.0925" step="0.0001">
452
+ </div>
453
+ <div>
454
+ <label class="block text-sm font-medium text-secondary-300 mb-1">Risk/Reward</label>
455
+ <div class="text-lg font-semibold text-white">1:2</div>
456
+ </div>
457
+ </div>
458
+ </div>
459
+
460
+ <div class="gradient-border rounded-lg p-6 glass">
461
+ <h3 class="text-lg font-semibold text-white mb-4">Quick Actions</h3>
462
+ <div class="space-y-2">
463
+ <button class="w-full px-3 py-2 bg-secondary-800 text-secondary-300 rounded text-sm hover:bg-secondary-700">
464
+ <i data-feather="plus" class="inline w-4 h-4 mr-2"></i>Add Trend Line
465
+ </button>
466
+ <button class="w-full px-3 py-2 bg-secondary-800 text-secondary-300 rounded text-sm hover:bg-secondary-700">
467
+ <i data-feather="minus" class="inline w-4 h-4 mr-2"></i>Add Support/Resistance
468
+ </button>
469
+ <button class="w-full px-3 py-2 bg-secondary-800 text-secondary-300 rounded text-sm hover:bg-secondary-700">
470
+ <i data-feather="triangle" class="inline w-4 h-4 mr-2"></i>Add Pattern
471
+ </button>
472
+ <button class="w-full px-3 py-2 bg-primary-600 text-white rounded text-sm hover:bg-primary-700">
473
+ <i data-feather="save" class="inline w-4 h-4 mr-2"></i>Save Plan
474
+ </button>
475
+ </div>
476
+ </div>
477
+ </div>
478
+ </div>
479
+ </div>
480
+ </div>
481
+
482
+ <!-- Protection Tools Page -->
483
+ <div id="protection-tools-page" class="page-container hidden">
484
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
485
+ <div class="mb-8">
486
+ <h2 class="text-3xl font-bold text-white mb-2">Protection Tools</h2>
487
+ <p class="text-secondary-400">Advanced protection and trailing stop mechanisms</p>
488
+ </div>
489
+
490
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
491
+ <!-- Breakeven Settings -->
492
+ <div class="gradient-border rounded-lg p-6 glass">
493
+ <h3 class="text-lg font-semibold text-white mb-4">Breakeven Settings</h3>
494
+ <div class="space-y-4">
495
+ <div class="flex items-center justify-between">
496
+ <span class="text-secondary-300">Enable Breakeven</span>
497
+ <label class="relative inline-flex items-center cursor-pointer">
498
+ <input type="checkbox" class="sr-only peer" checked>
499
+ <div class="w-11 h-6 bg-secondary-700 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-800 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-secondary-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary-600"></div>
500
+ </label>
501
+ </div>
502
+ <div>
503
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Breakeven Trigger (pips)</label>
504
+ <input type="number" class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white" value="20">
505
+ </div>
506
+ <div>
507
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Lock Profit (pips)</label>
508
+ <input type="number" class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white" value="2">
509
+ </div>
510
+ <div class="border-t border-secondary-800 pt-4">
511
+ <h4 class="text-sm font-medium text-secondary-300 mb-2">Multi-Level Breakeven</h4>
512
+ <div class="space-y-2">
513
+ <div class="flex items-center space-x-2">
514
+ <input type="checkbox" class="rounded text-primary-600">
515
+ <span class="text-sm text-secondary-300">Level 1: +30 pips, lock +5 pips</span>
516
+ </div>
517
+ <div class="flex items-center space-x-2">
518
+ <input type="checkbox" class="rounded text-primary-600">
519
+ <span class="text-sm text-secondary-300">Level 2: +50 pips, lock +15 pips</span>
520
+ </div>
521
+ <div class="flex items-center space-x-2">
522
+ <input type="checkbox" class="rounded text-primary-600">
523
+ <span class="text-sm text-secondary-300">Level 3: +80 pips, lock +30 pips</span>
524
+ </div>
525
+ </div>
526
+ </div>
527
+ </div>
528
+ </div>
529
+
530
+ <!-- Trailing Stop Settings -->
531
+ <div class="gradient-border rounded-lg p-6 glass">
532
+ <h3 class="text-lg font-semibold text-white mb-4">Trailing Stop Settings</h3>
533
+ <div class="space-y-4">
534
+ <div>
535
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Trailing Stop Type</label>
536
+ <select class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white">
537
+ <option>Basic Trailing Stop</option>
538
+ <option>Multi-Level Trailing Stop</option>
539
+ <option>Peak & Valley Trailing</option>
540
+ <option>Moving Average Trailing</option>
541
+ <option>ATR Based Trailing</option>
542
+ <option>Partial Close Trailing</option>
543
+ </select>
544
+ </div>
545
+ <div>
546
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Trailing Distance (pips)</label>
547
+ <input type="number" class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white" value="30">
548
+ </div>
549
+ <div>
550
+ <label class="block text-sm font-medium text-secondary-300 mb-2">Step Size (pips)</label>
551
+ <input type="number" class="w-full px-4 py-2 bg-secondary-800 border border-secondary-700 rounded-lg text-white" value="5">
552
+ </div>
553
+ <div class="border-t border-secondary-800 pt-4">
554
+ <h4 class="text-sm font-medium text-secondary-300 mb-2">ATR Settings</h4>
555
+ <div class="grid grid-cols-2 gap-4">
556
+ <div>
557
+ <label class="block text-xs text-secondary-400 mb-1">Period</label>
558
+ <input type="number" class="w-full px-3 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="14">
559
+ </div>
560
+ <div>
561
+ <label class="block text-xs text-secondary-400 mb-1">Multiplier</label>
562
+ <input type="number" class="w-full px-3 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="2.5" step="0.1">
563
+ </div>
564
+ </div>
565
+ </div>
566
+ </div>
567
+ </div>
568
+
569
+ <!-- Partial Close Settings -->
570
+ <div class="gradient-border rounded-lg p-6 glass">
571
+ <h3 class="text-lg font-semibold text-white mb-4">Partial Close Settings</h3>
572
+ <div class="space-y-4">
573
+ <div class="flex items-center justify-between">
574
+ <span class="text-secondary-300">Enable Partial Close</span>
575
+ <label class="relative inline-flex items-center cursor-pointer">
576
+ <input type="checkbox" class="sr-only peer" checked>
577
+ <div class="w-11 h-6 bg-secondary-700 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-800 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-secondary-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary-600"></div>
578
+ </label>
579
+ </div>
580
+ <div class="space-y-3">
581
+ <div class="bg-secondary-800/50 rounded-lg p-3">
582
+ <div class="flex justify-between items-center mb-2">
583
+ <span class="text-sm text-secondary-300">Level 1</span>
584
+ <span class="text-sm text-white">Close 25% at +30 pips</span>
585
+ </div>
586
+ <div class="flex space-x-2">
587
+ <input type="number" class="flex-1 px-2 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="30">
588
+ <input type="number" class="flex-1 px-2 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="25">
589
+ </div>
590
+ </div>
591
+ <div class="bg-secondary-800/50 rounded-lg p-3">
592
+ <div class="flex justify-between items-center mb-2">
593
+ <span class="text-sm text-secondary-300">Level 2</span>
594
+ <span class="text-sm text-white">Close 50% at +60 pips</span>
595
+ </div>
596
+ <div class="flex space-x-2">
597
+ <input type="number" class="flex-1 px-2 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="60">
598
+ <input type="number" class="flex-1 px-2 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="50">
599
+ </div>
600
+ </div>
601
+ <div class="bg-secondary-800/50 rounded-lg p-3">
602
+ <div class="flex justify-between items-center mb-2">
603
+ <span class="text-sm text-secondary-300">Level 3</span>
604
+ <span class="text-sm text-white">Close 25% at +100 pips</span>
605
+ </div>
606
+ <div class="flex space-x-2">
607
+ <input type="number" class="flex-1 px-2 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="100">
608
+ <input type="number" class="flex-1 px-2 py-1 bg-secondary-800 border border-secondary-700 rounded text-white text-sm" value="25">
609
+ </div>
610
+ </div>
611
+ </div>
612
+ </div>
613
+ </div>
614
+
615
+ <!-- Advanced Protection -->
616
+ <div class="gradient-border rounded-lg p-6 glass">
617
+ <h3 class="text-lg font-semibold text-white mb-4">Advanced Protection</h3>
618
+ <div class="space-y-4">
619
+ <div class="flex items-center justify-between">
620
+ <span class="text-secondary-300">Hidden SL/TP Mode</span>
621
+ <label class="relative inline-flex items-center cursor-pointer">
622
+ <input type="checkbox" class="sr-only peer">
623
+ <div class="w-11 h-6 bg-secondary-700 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-800 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-secondary-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary-600"></div>
624
+ </label>
625
+ </div>
626
+ <div class="flex items-center justify-between">
627
+ <span class="text-secondary-300">Auto Protection for External Orders</span>
628
+ <label class="relative inline-flex items-center cursor-pointer">
629
+ <input type="checkbox" class="sr-only peer" checked>
630
+ <div class="w-11 h-6 bg-secondary-700 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-800 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-secondary-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary-600"></div>
631
+ </label>
632
+ </div>
633
+ <div class="flex items-center justify-between">
634
+ <span class="text-secondary-300">Trailing Pending Orders</span>
635
+ <label class="relative inline-flex items-center cursor-pointer">
636
+ <input type="sr-only peer">
637
+ <div class="w-11 h-6 bg-secondary-700 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-800 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-secondary-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary-600"></div>
638
+ </label>
639
+ </div>
640
+ <div class="pt-4 border-t border-secondary-800">
641
+ <button class="w-full px-4 py-2 bg-primary-600 text-white rounded-lg hover:bg-primary-700 transition-colors">
642
+ <i data-feather="save" class="inline w-4 h-4 mr-2"></i>Save Protection Settings
643
+ </button>
644
+ </div>
645
+ </div>
646
+ </div>
647
+ </div>
648
+ </div>
649
+ </div>
650
+
651
+ <!-- EA Monitor Page -->
652
+ <div id="ea-monitor-page" class="page-container hidden">
653
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
654
+ <div class="mb-8">
655
+ <h2 class="text-3xl font-bold text-white mb-2">EA Monitor</h2>
656
+ <p class="text-secondary-400">Monitor and control all Expert Advisors in real-time</p>
657
+ </div>
658
+
659
+ <!-- EA Statistics -->
660
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
661
+ <div class="gradient-border rounded-lg p-6 glass">
662
+ <div class="flex items-center justify-between">
663
+ <div>
664
+ <p class="text-secondary-400 text-sm">Total EAs</p>
665
+ <p class="text-2xl font-bold text-white">12</p>
666
+ </div>
667
+ <div class="bg-blue-600/20 p-3 rounded-lg">
668
+ <i data-feather="cpu" class="w-6 h-6 text-blue-400"></i>
669
+ </div>
670
+ </div>
671
+ </div>
672
+ <div class="gradient-border rounded-lg p-6 glass">
673
+ <div class="flex items-center justify-between">
674
+ <div>
675
+ <p class="text-secondary-400 text-sm">Active EAs</p>
676
+ <p class="text-2xl font-bold text-green-400">8</p>
677
+ </div>
678
+ <div class="bg-green-600/20 p-3 rounded-lg">
679
+ <i data-feather="play" class="w-6 h-6 text-green-400"></i>
680
+ </div>
681
+ </div>
682
+ </div>
683
+ <div class="gradient-border rounded-lg p-6 glass">
684
+ <div class="flex items-center justify-between">
685
+ <div>
686
+ <p class="text-secondary-400 text-sm">Total Profit</p>
687
+ <p class="text-2xl font-bold text-green-400">+$5,234</p>
688
+ </div>
689
+ <div class="bg-green-600/20 p-3 rounded-lg">
690
+ <i data-feather="trending-up" class="w-6 h-6 text-green-400"></i>
691
+ </div>
692
+ </div>
693
+ </div>
694
+ <div class="gradient-border rounded-lg p-6 glass">
695
+ <div class="flex items-center justify-between">
696
+ <div>
697
+ <p class="text-secondary-400 text-sm">Win Rate</p>
698
+ <p class="text-2xl font-bold text-white">68.5%</p>
699
+ </div>
700
+ <div class="bg-primary-600/20 p-3 rounded-lg">
701
+ <i data-feather="target" class="w-6 h-6 text-primary-400"></i>
702
+ </div>
703
+ </div>
704
+ </div>
705
+ </div>
706
+
707
+ <!-- EA List -->
708
+ <div class="gradient-border rounded-lg p-6 glass">
709
+ <div class="flex items-center justify-between mb-4">
710
+ <h3 class="text-lg font-semibold text-white">Expert Advisors</h3>
711
+ <div class="flex space-x-2">
712
+ <button class="px-3 py-1 bg-green-600 text-white rounded text-sm hover:bg-green-700">
713
+ <i data-feather="play" class="inline w-4 h-4 mr-1"></i>Start All
714
+ </button>
715
+ <button class="px-3 py-1 bg-red-600 text-white rounded text-sm hover:bg-red-700">
716
+ <i data-feather="pause" class="inline w-4 h-4 mr-1"></i>Stop All
717
+ </button>
718
+ <button class="px-3 py-1 bg-primary-600 text-white rounded text-sm hover:bg-primary-700">
719
+ <i data-feather="refresh-cw" class="inline w-4 h-4 mr-1"></i>Refresh
720
+ </button>
721
+ </div>
722
+ </div>
723
+ <div class="overflow-x-auto">
724
+ <table class="min-w-full divide-y divide-secondary-800">
725
+ <thead>
726
+ <tr>
727
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">EA Name</th>
728
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Status</th>
729
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Symbol</th>
730
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Trades</th>
731
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">P&L</th>
732
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Win Rate</th>
733
+ <th class="px-6 py-3 text-left text-xs font-medium text-secondary-400 uppercase tracking-wider">Actions</th>
734
+ </tr>
735
+ </thead>
736
+ <tbody class="divide-y divide-secondary-800">
737
+ <tr class="hover:bg-secondary-800/50">
738
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-white">TrendMaster Pro</td>
739
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
740
+ <span class="px-2 py-1 text-xs bg-green-600/20 text-green-400 rounded">Active</span>
741
+ </td>
742
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">EURUSD</td>
743
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">45</td>
744
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-green-400">+$1,234</td>
745
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-white">72%</td>
746
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
747
+ <button class="text-primary-400 hover:text-primary-300 mr-2">
748
+ <i data-feather="settings" class="w-4 h-4"></i>
749
+ </button>
750
+ <button class="text-yellow-400 hover:text-yellow-300 mr-2">
751
+ <i data-feather="pause" class="w-4 h-4"></i>
752
+ </button>
753
+ <button class="text-red-400 hover:text-red-300">
754
+ <i data-feather="x" class="w-4 h-4"></i>
755
+ </button>
756
+ </td>
757
+ </tr>
758
+ <tr class="hover:bg-secondary-800/50">
759
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-white">ScalperX 2024</td>
760
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
761
+ <span class="px-2 py-1 text-xs bg-green-600/20 text-green-400 rounded">Active</span>
762
+ </td>
763
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">GBPUSD</td>
764
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">128</td>
765
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-green-400">+$892</td>
766
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-white">65%</td>
767
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
768
+ <button class="text-primary-400 hover:text-primary-300 mr-2">
769
+ <i data-feather="settings" class="w-4 h-4"></i>
770
+ </button>
771
+ <button class="text-yellow-400 hover:text-yellow-300 mr-2">
772
+ <i data-feather="pause" class="w-4 h-4"></i>
773
+ </button>
774
+ <button class="text-red-400 hover:text-red-300">
775
+ <i data-feather="x" class="w-4 h-4"></i>
776
+ </button>
777
+ </td>
778
+ </tr>
779
+ <tr class="hover:bg-secondary-800/50">
780
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-white">GridMaster FX</td>
781
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
782
+ <span class="px-2 py-1 text-xs bg-red-600/20 text-red-400 rounded">Stopped</span>
783
+ </td>
784
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">USDJPY</td>
785
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-secondary-300">23</td>
786
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-red-400">-$456</td>
787
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-white">48%</td>
788
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
789
+ <button class="text-primary-400 hover:text-primary-300 mr-2">
790
+ <i data-feather="settings" class="w-4 h-4"></i>
791
+ </button>
792
+ <button class="text-green-400 hover:text-green-300 mr-2">
793
+ <i data-feather="play" class="w-4 h-4"></i>
794
+ </button>
795
+ <button class="text-red-400 hover:text-red-300">
796
+ <i data-feather="x" class="w-4 h-4"></i>
797
+ </button>
798
+ </td>
799
+ </tr>
800
+ </tbody>
801
+ </table>
802
+ </div>
803
+ </div>
804
+
805
+ <!-- EA Performance Chart -->
806
+ <div class="gradient-border rounded-lg p-6 glass mt-8">
807
+ <h3 class="text-lg font-semibold text-white mb-4">EA Performance Comparison</h3>
808
+ <div class="h-64">
809
+ <canvas id="eaPerformanceChart"></canvas>
810
+ </div>
811
+ </div>
812
+ </div>
813
+ </div>
814
+ </main>
815
+
816
+ <!-- Scripts -->
817
+ <script>
818
+ // Page navigation
819
+ function showPage(pageId) {
820
+ // Hide all pages
821
+ document.querySelectorAll('.page-container').forEach(page => {
822
+ page.classList.add('hidden');
823
+ });
824
+
825
+ // Show selected page
826
+ const selectedPage = document.getElementById(pageId + '-page');
827
+ if (selectedPage) {
828
+ selectedPage.classList.remove('hidden');
829
+ selectedPage.classList.add('fade-in');
830
+ }
831
+
832
+ // Update navigation
833
+ document.querySelectorAll('.nav-link').forEach(link => {
834
+ link.classList.remove('bg-primary-600', 'text-white');
835
+ link.classList.add('text-secondary-300', 'hover:bg-secondary-800');
836
+ });
837
+
838
+ const activeLink = document.querySelector(`[data-page="${pageId}"]`);
839
+ if (activeLink) {
840
+ activeLink.classList.add('bg-primary-600', 'text-white');
841
+ activeLink.classList.remove('text-secondary-300', 'hover:bg-secondary-800');
842
+ }
843
+ }
844
+
845
+ // Initialize charts
846
+ document.addEventListener('DOMContentLoaded', function() {
847
+ // Performance Chart
848
+ const perfCtx = document.getElementById('performanceChart');
849
+ if (perfCtx) {
850
+ new Chart(perfCtx, {
851
+ type: 'line',
852
+ data: {
853
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
854
+ datasets: [{
855
+ label: 'Equity',
856
+ data: [23000, 24500, 23800, 25200, 24800, 26891],
857
+ borderColor: '#3b82f6',
858
+ backgroundColor: 'rgba(59, 130, 246, 0.1)',
859
+ tension: 0.4
860
+ }]
861
+ },
862
+ options: {
863
+ responsive: true,
864
+ maintainAspectRatio: false,
865
+ plugins: {
866
+ legend: {
867
+ labels: {
868
+ color: '#a1a1aa'
869
+ }
870
+ }
871
+ },
872
+ scales: {
873
+ x: {
874
+ ticks: {
875
+ color: '#a1a1aa'
876
+ },
877
+ grid: {
878
+ color: '#27272a'
879
+ }
880
+ },
881
+ y: {
882
+ ticks: {
883
+ color: '#a1a1aa'
884
+ },
885
+ grid: {
886
+ color: '#27272a'
887
+ }
888
+ }
889
+ }
890
+ }
891
+ });
892
+ }
893
+
894
+ // EA Performance Chart
895
+ const eaPerfCtx = document.getElementById('eaPerformanceChart');
896
+ if (eaPerfCtx) {
897
+ new Chart(eaPerfCtx, {
898
+ type: 'bar',
899
+ data: {
900
+ labels: ['TrendMaster Pro', 'ScalperX 2024', 'GridMaster FX', 'Breakout Bot', 'Range Trader'],
901
+ datasets: [{
902
+ label: 'P&L ($)',
903
+ data: [1234, 892, -456, 678, 234],
904
+ backgroundColor: [
905
+ 'rgba(34, 197, 94, 0.8)',
906
+ 'rgba(34, 197, 94, 0.8)',
907
+ 'rgba(239, 68, 68, 0.8)',
908
+ 'rgba(34, 197, 94, 0.8)',
909
+ 'rgba(34, 197, 94, 0.8)'
910
+ ]
911
+ }]
912
+ },
913
+ options: {
914
+ responsive: true,
915
+ maintainAspectRatio: false,
916
+ plugins: {
917
+ legend: {
918
+ labels: {
919
+ color: '#a1a1aa'
920
+ }
921
+ }
922
+ },
923
+ scales: {
924
+ x: {
925
+ ticks: {
926
+ color: '#a1a1aa'
927
+ },
928
+ grid: {
929
+ color: '#27272a'
930
+ }
931
+ },
932
+ y: {
933
+ ticks: {
934
+ color: '#a1a1aa'
935
+ },
936
+ grid: {
937
+ color: '#27272a'
938
+ }
939
+ }
940
+ }
941
+ }
942
+ });
943
+ }
944
+
945
+ // Initialize feather icons
946
+ feather.replace();
947
+
948
+ // Add slide animation to navigation
949
+ anime({
950
+ targets: 'nav',
951
+ translateY: [-20, 0],
952
+ opacity: [0, 1],
953
+ duration: 800,
954
+ easing: 'easeOutExpo'
955
+ });
956
+
957
+ // Add stagger animation to cards
958
+ anime({
959
+ targets: '.gradient-border',
960
+ translateY: [20, 0],
961
+ opacity: [0, 1],
962
+ delay: anime.stagger(100),
963
+ duration: 800,
964
+ easing: 'easeOutExpo'
965
+ });
966
+ });
967
+
968
+ // Real-time updates simulation
969
+ setInterval(() => {
970
+ // Update balance
971
+ const balanceElement = document.querySelector('.pulse-glow p.text-2xl');
972
+ if (balanceElement) {
973
+ const currentBalance = parseFloat(balanceElement.textContent.replace('$', '').replace(',', ''));
974
+ const newBalance = currentBalance + (Math.random() - 0.5) * 10;
975
+ balanceElement.textContent = `$${newBalance.toFixed(2)}`;
976
+ }
977
+ }, 5000);
978
+ </script>
979
+ </body>
980
  </html>