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 filesCalculadora 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.
- README.md +8 -5
- calculator.html +435 -0
- experts.html +478 -0
- index.html +515 -18
- trading-view.html +384 -0
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: MetaTrader Command Center
|
| 3 |
+
colorFrom: gray
|
| 4 |
+
colorTo: green
|
| 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).
|
|
@@ -0,0 +1,435 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Position Calculator - MetaTrader Command Center</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 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://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
darkMode: 'class',
|
| 14 |
+
theme: {
|
| 15 |
+
extend: {
|
| 16 |
+
colors: {
|
| 17 |
+
primary: {
|
| 18 |
+
50: '#f0f9ff',
|
| 19 |
+
100: '#e0f2fe',
|
| 20 |
+
200: '#bae6fd',
|
| 21 |
+
300: '#7dd3fc',
|
| 22 |
+
400: '#38bdf8',
|
| 23 |
+
500: '#0ea5e9',
|
| 24 |
+
600: '#0284c7',
|
| 25 |
+
700: '#0369a1',
|
| 26 |
+
800: '#075985',
|
| 27 |
+
900: '#0c4a6e',
|
| 28 |
+
},
|
| 29 |
+
secondary: {
|
| 30 |
+
50: '#fdf2f8',
|
| 31 |
+
100: '#fce7f3',
|
| 32 |
+
200: '#fbcfe8',
|
| 33 |
+
300: '#f9a8d4',
|
| 34 |
+
400: '#f472b6',
|
| 35 |
+
500: '#ec4899',
|
| 36 |
+
600: '#db2777',
|
| 37 |
+
700: '#be185d',
|
| 38 |
+
800: '#9d174d',
|
| 39 |
+
900: '#831843',
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
</script>
|
| 46 |
+
<style>
|
| 47 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 48 |
+
body {
|
| 49 |
+
font-family: 'Inter', sans-serif;
|
| 50 |
+
background-color: #0f172a;
|
| 51 |
+
color: #e2e8f0;
|
| 52 |
+
}
|
| 53 |
+
.glass-effect {
|
| 54 |
+
background: rgba(30, 41, 59, 0.7);
|
| 55 |
+
backdrop-filter: blur(10px);
|
| 56 |
+
border: 1px solid rgba(148, 163, 184, 0.2);
|
| 57 |
+
}
|
| 58 |
+
.calculator-input:focus {
|
| 59 |
+
border-color: #0ea5e9;
|
| 60 |
+
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
|
| 61 |
+
}
|
| 62 |
+
.result-card {
|
| 63 |
+
transition: all 0.3s ease;
|
| 64 |
+
}
|
| 65 |
+
.result-card:hover {
|
| 66 |
+
transform: translateY(-3px);
|
| 67 |
+
}
|
| 68 |
+
</style>
|
| 69 |
+
</head>
|
| 70 |
+
<body class="bg-slate-900 text-slate-100 min-h-screen">
|
| 71 |
+
<!-- Main Container -->
|
| 72 |
+
<div class="flex flex-col md:flex-row min-h-screen">
|
| 73 |
+
<!-- Sidebar -->
|
| 74 |
+
<div class="w-full md:w-64 glass-effect p-4 flex flex-col">
|
| 75 |
+
<div class="mb-8">
|
| 76 |
+
<h1 class="text-2xl font-bold text-primary-400 flex items-center">
|
| 77 |
+
<i data-feather="activity" class="mr-2"></i>
|
| 78 |
+
MT5 Command
|
| 79 |
+
</h1>
|
| 80 |
+
<p class="text-xs text-slate-400 mt-1">Trading Control Panel</p>
|
| 81 |
+
</div>
|
| 82 |
+
|
| 83 |
+
<nav class="flex-1">
|
| 84 |
+
<ul class="space-y-2">
|
| 85 |
+
<li>
|
| 86 |
+
<a href="index.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 87 |
+
<i data-feather="home" class="mr-3"></i>
|
| 88 |
+
Dashboard
|
| 89 |
+
</a>
|
| 90 |
+
</li>
|
| 91 |
+
<li>
|
| 92 |
+
<a href="trading-view.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 93 |
+
<i data-feather="bar-chart-2" class="mr-3"></i>
|
| 94 |
+
Trading View
|
| 95 |
+
</a>
|
| 96 |
+
</li>
|
| 97 |
+
<li>
|
| 98 |
+
<a href="experts.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 99 |
+
<i data-feather="settings" class="mr-3"></i>
|
| 100 |
+
Expert Advisors
|
| 101 |
+
</a>
|
| 102 |
+
</li>
|
| 103 |
+
<li>
|
| 104 |
+
<a href="#" class="flex items-center p-3 rounded-lg bg-primary-600 text-white">
|
| 105 |
+
<i data-feather="calculator" class="mr-3"></i>
|
| 106 |
+
Position Calculator
|
| 107 |
+
</a>
|
| 108 |
+
</li>
|
| 109 |
+
<li>
|
| 110 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 111 |
+
<i data-feather="layers" class="mr-3"></i>
|
| 112 |
+
Strategies
|
| 113 |
+
</a>
|
| 114 |
+
</li>
|
| 115 |
+
<li>
|
| 116 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 117 |
+
<i data-feather="shield" class="mr-3"></i>
|
| 118 |
+
Risk Management
|
| 119 |
+
</a>
|
| 120 |
+
</li>
|
| 121 |
+
<li>
|
| 122 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 123 |
+
<i data-feather="file-text" class="mr-3"></i>
|
| 124 |
+
Reports
|
| 125 |
+
</a>
|
| 126 |
+
</li>
|
| 127 |
+
</ul>
|
| 128 |
+
</nav>
|
| 129 |
+
|
| 130 |
+
<div class="mt-auto pt-4 border-t border-slate-700">
|
| 131 |
+
<div class="flex items-center">
|
| 132 |
+
<div class="bg-slate-700 rounded-full p-2 mr-3">
|
| 133 |
+
<i data-feather="user" class="w-5 h-5"></i>
|
| 134 |
+
</div>
|
| 135 |
+
<div>
|
| 136 |
+
<p class="font-medium">Trader Pro</p>
|
| 137 |
+
<p class="text-xs text-slate-400">Active Session</p>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
|
| 143 |
+
<!-- Main Content -->
|
| 144 |
+
<div class="flex-1 overflow-auto">
|
| 145 |
+
<!-- Header -->
|
| 146 |
+
<header class="glass-effect p-4 flex justify-between items-center">
|
| 147 |
+
<div>
|
| 148 |
+
<h2 class="text-xl font-bold">Position Calculator</h2>
|
| 149 |
+
<p class="text-sm text-slate-400">Calculate optimal position sizes and risk parameters</p>
|
| 150 |
+
</div>
|
| 151 |
+
<div class="flex items-center space-x-4">
|
| 152 |
+
<button class="bg-slate-800 hover:bg-slate-700 px-4 py-2 rounded-lg flex items-center">
|
| 153 |
+
<i data-feather="save" class="mr-2"></i>
|
| 154 |
+
Save Template
|
| 155 |
+
</button>
|
| 156 |
+
</div>
|
| 157 |
+
</header>
|
| 158 |
+
|
| 159 |
+
<!-- Calculator -->
|
| 160 |
+
<div class="p-4">
|
| 161 |
+
<div class="glass-effect rounded-xl p-6 max-w-4xl mx-auto">
|
| 162 |
+
<h3 class="font-bold text-lg mb-6">Position Size Calculator</h3>
|
| 163 |
+
|
| 164 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 165 |
+
<!-- Input Section -->
|
| 166 |
+
<div>
|
| 167 |
+
<div class="space-y-5">
|
| 168 |
+
<div>
|
| 169 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Account Balance ($)</label>
|
| 170 |
+
<input
|
| 171 |
+
type="number"
|
| 172 |
+
id="accountBalance"
|
| 173 |
+
value="25000"
|
| 174 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 175 |
+
oninput="calculatePositionSize()"
|
| 176 |
+
>
|
| 177 |
+
</div>
|
| 178 |
+
|
| 179 |
+
<div>
|
| 180 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Risk Percentage (%)</label>
|
| 181 |
+
<input
|
| 182 |
+
type="number"
|
| 183 |
+
id="riskPercentage"
|
| 184 |
+
value="2"
|
| 185 |
+
step="0.1"
|
| 186 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 187 |
+
oninput="calculatePositionSize()"
|
| 188 |
+
>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<div>
|
| 192 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Stop Loss (pips)</label>
|
| 193 |
+
<input
|
| 194 |
+
type="number"
|
| 195 |
+
id="stopLossPips"
|
| 196 |
+
value="50"
|
| 197 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 198 |
+
oninput="calculatePositionSize()"
|
| 199 |
+
>
|
| 200 |
+
</div>
|
| 201 |
+
|
| 202 |
+
<div>
|
| 203 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Currency Pair</label>
|
| 204 |
+
<select
|
| 205 |
+
id="currencyPair"
|
| 206 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 207 |
+
onchange="calculatePositionSize()"
|
| 208 |
+
>
|
| 209 |
+
<option value="EURUSD">EURUSD</option>
|
| 210 |
+
<option value="GBPUSD">GBPUSD</option>
|
| 211 |
+
<option value="USDJPY">USDJPY</option>
|
| 212 |
+
<option value="AUDUSD">AUDUSD</option>
|
| 213 |
+
<option value="USDCAD">USDCAD</option>
|
| 214 |
+
</select>
|
| 215 |
+
</div>
|
| 216 |
+
|
| 217 |
+
<div>
|
| 218 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Account Currency</label>
|
| 219 |
+
<select
|
| 220 |
+
id="accountCurrency"
|
| 221 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 222 |
+
onchange="calculatePositionSize()"
|
| 223 |
+
>
|
| 224 |
+
<option value="USD">USD</option>
|
| 225 |
+
<option value="EUR">EUR</option>
|
| 226 |
+
<option value="GBP">GBP</option>
|
| 227 |
+
</select>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
</div>
|
| 231 |
+
|
| 232 |
+
<!-- Results Section -->
|
| 233 |
+
<div>
|
| 234 |
+
<div class="space-y-5">
|
| 235 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 236 |
+
<div class="flex justify-between items-center">
|
| 237 |
+
<span class="text-slate-400">Position Size</span>
|
| 238 |
+
<span id="positionSize" class="text-2xl font-bold">0.25</span>
|
| 239 |
+
</div>
|
| 240 |
+
<p class="text-sm text-slate-500 mt-1">Standard lots</p>
|
| 241 |
+
</div>
|
| 242 |
+
|
| 243 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 244 |
+
<div class="flex justify-between items-center">
|
| 245 |
+
<span class="text-slate-400">Risk Amount</span>
|
| 246 |
+
<span id="riskAmount" class="text-2xl font-bold">$500.00</span>
|
| 247 |
+
</div>
|
| 248 |
+
<p class="text-sm text-slate-500 mt-1">In account currency</p>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 252 |
+
<div class="flex justify-between items-center">
|
| 253 |
+
<span class="text-slate-400">Pip Value</span>
|
| 254 |
+
<span id="pipValue" class="text-2xl font-bold">$10.00</span>
|
| 255 |
+
</div>
|
| 256 |
+
<p class="text-sm text-slate-500 mt-1">Per standard lot</p>
|
| 257 |
+
</div>
|
| 258 |
+
|
| 259 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 260 |
+
<div class="flex justify-between items-center">
|
| 261 |
+
<span class="text-slate-400">Take Profit (1:2 RR)</span>
|
| 262 |
+
<span id="takeProfit" class="text-2xl font-bold">100</span>
|
| 263 |
+
</div>
|
| 264 |
+
<p class="text-sm text-slate-500 mt-1">Pips for 2:1 reward:risk</p>
|
| 265 |
+
</div>
|
| 266 |
+
|
| 267 |
+
<button
|
| 268 |
+
onclick="applyToChart()"
|
| 269 |
+
class="w-full bg-primary-600 hover:bg-primary-700 py-3 rounded-lg font-medium mt-4"
|
| 270 |
+
>
|
| 271 |
+
Apply to Chart
|
| 272 |
+
</button>
|
| 273 |
+
</div>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
</div>
|
| 278 |
+
|
| 279 |
+
<!-- Advanced Calculator -->
|
| 280 |
+
<div class="p-4">
|
| 281 |
+
<div class="glass-effect rounded-xl p-6 max-w-4xl mx-auto">
|
| 282 |
+
<h3 class="font-bold text-lg mb-6">Advanced Risk Calculator</h3>
|
| 283 |
+
|
| 284 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 285 |
+
<div>
|
| 286 |
+
<div class="space-y-5">
|
| 287 |
+
<div>
|
| 288 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Entry Price</label>
|
| 289 |
+
<input
|
| 290 |
+
type="number"
|
| 291 |
+
id="entryPrice"
|
| 292 |
+
value="1.0850"
|
| 293 |
+
step="0.0001"
|
| 294 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 295 |
+
>
|
| 296 |
+
</div>
|
| 297 |
+
|
| 298 |
+
<div>
|
| 299 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Stop Loss Price</label>
|
| 300 |
+
<input
|
| 301 |
+
type="number"
|
| 302 |
+
id="stopLossPrice"
|
| 303 |
+
value="1.0800"
|
| 304 |
+
step="0.0001"
|
| 305 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 306 |
+
>
|
| 307 |
+
</div>
|
| 308 |
+
|
| 309 |
+
<div>
|
| 310 |
+
<label class="block text-sm font-medium text-slate-300 mb-2">Take Profit Price</label>
|
| 311 |
+
<input
|
| 312 |
+
type="number"
|
| 313 |
+
id="takeProfitPrice"
|
| 314 |
+
value="1.0950"
|
| 315 |
+
step="0.0001"
|
| 316 |
+
class="calculator-input w-full bg-slate-800 border border-slate-700 rounded-lg py-3 px-4 focus:outline-none"
|
| 317 |
+
>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
</div>
|
| 321 |
+
|
| 322 |
+
<div>
|
| 323 |
+
<div class="space-y-5">
|
| 324 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 325 |
+
<div class="flex justify-between items-center">
|
| 326 |
+
<span class="text-slate-400">Risk (pips)</span>
|
| 327 |
+
<span id="riskPips" class="text-xl font-bold">50</span>
|
| 328 |
+
</div>
|
| 329 |
+
</div>
|
| 330 |
+
|
| 331 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 332 |
+
<div class="flex justify-between items-center">
|
| 333 |
+
<span class="text-slate-400">Reward (pips)</span>
|
| 334 |
+
<span id="rewardPips" class="text-xl font-bold">100</span>
|
| 335 |
+
</div>
|
| 336 |
+
</div>
|
| 337 |
+
|
| 338 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 339 |
+
<div class="flex justify-between items-center">
|
| 340 |
+
<span class="text-slate-400">Reward:Risk Ratio</span>
|
| 341 |
+
<span id="rrRatio" class="text-xl font-bold">2.0</span>
|
| 342 |
+
</div>
|
| 343 |
+
</div>
|
| 344 |
+
|
| 345 |
+
<div class="result-card bg-slate-800 rounded-xl p-5">
|
| 346 |
+
<div class="flex justify-between items-center">
|
| 347 |
+
<span class="text-slate-400">Win Rate Required</span>
|
| 348 |
+
<span id="winRateRequired" class="text-xl font-bold">33.3%</span>
|
| 349 |
+
</div>
|
| 350 |
+
<p class="text-sm text-slate-500 mt-1">To break even</p>
|
| 351 |
+
</div>
|
| 352 |
+
</div>
|
| 353 |
+
</div>
|
| 354 |
+
</div>
|
| 355 |
+
</div>
|
| 356 |
+
</div>
|
| 357 |
+
|
| 358 |
+
<!-- Saved Templates -->
|
| 359 |
+
<div class="p-4">
|
| 360 |
+
<div class="glass-effect rounded-xl p-6 max-w-4xl mx-auto">
|
| 361 |
+
<div class="flex justify-between items-center mb-6">
|
| 362 |
+
<h3 class="font-bold text-lg">Saved Templates</h3>
|
| 363 |
+
<button class="text-primary-400 flex items-center">
|
| 364 |
+
<i data-feather="plus" class="mr-1"></i> New Template
|
| 365 |
+
</button>
|
| 366 |
+
</div>
|
| 367 |
+
|
| 368 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
| 369 |
+
<div class="bg-slate-800 rounded-lg p-4 hover:bg-slate-700 transition cursor-pointer">
|
| 370 |
+
<h4 class="font-medium">Conservative</h4>
|
| 371 |
+
<p class="text-sm text-slate-400 mt-1">1% risk, 50 pip SL</p>
|
| 372 |
+
</div>
|
| 373 |
+
<div class="bg-slate-800 rounded-lg p-4 hover:bg-slate-700 transition cursor-pointer">
|
| 374 |
+
<h4 class="font-medium">Moderate</h4>
|
| 375 |
+
<p class="text-sm text-slate-400 mt-1">2% risk, 75 pip SL</p>
|
| 376 |
+
</div>
|
| 377 |
+
<div class="bg-slate-800 rounded-lg p-4 hover:bg-slate-700 transition cursor-pointer">
|
| 378 |
+
<h4 class="font-medium">Aggressive</h4>
|
| 379 |
+
<p class="text-sm text-slate-400 mt-1">3% risk, 100 pip SL</p>
|
| 380 |
+
</div>
|
| 381 |
+
</div>
|
| 382 |
+
</div>
|
| 383 |
+
</div>
|
| 384 |
+
</div>
|
| 385 |
+
</div>
|
| 386 |
+
|
| 387 |
+
<script>
|
| 388 |
+
// Initialize Feather Icons
|
| 389 |
+
feather.replace();
|
| 390 |
+
|
| 391 |
+
// Position size calculation
|
| 392 |
+
function calculatePositionSize() {
|
| 393 |
+
// Get input values
|
| 394 |
+
const accountBalance = parseFloat(document.getElementById('accountBalance').value) || 0;
|
| 395 |
+
const riskPercentage = parseFloat(document.getElementById('riskPercentage').value) || 0;
|
| 396 |
+
const stopLossPips = parseFloat(document.getElementById('stopLossPips').value) || 0;
|
| 397 |
+
|
| 398 |
+
// Calculate risk amount
|
| 399 |
+
const riskAmount = accountBalance * (riskPercentage / 100);
|
| 400 |
+
|
| 401 |
+
// Calculate pip value (simplified - assumes standard lot and USD account)
|
| 402 |
+
let pipValue = 10; // Default for USD pairs
|
| 403 |
+
const currencyPair = document.getElementById('currencyPair').value;
|
| 404 |
+
const accountCurrency = document.getElementById('accountCurrency').value;
|
| 405 |
+
|
| 406 |
+
// Adjust pip value based on currency pair and account currency
|
| 407 |
+
if (currencyPair === 'USDJPY') {
|
| 408 |
+
pipValue = 9.2; // Approximate value
|
| 409 |
+
} else if (currencyPair === 'EURUSD' && accountCurrency !== 'USD') {
|
| 410 |
+
pipValue = 10 * 0.85; // Approximate EUR conversion
|
| 411 |
+
}
|
| 412 |
+
|
| 413 |
+
// Calculate position size
|
| 414 |
+
const positionSize = riskAmount / (stopLossPips * pipValue);
|
| 415 |
+
|
| 416 |
+
// Calculate take profit for 1:2 reward:risk
|
| 417 |
+
const takeProfitPips = stopLossPips * 2;
|
| 418 |
+
|
| 419 |
+
// Update UI
|
| 420 |
+
document.getElementById('positionSize').textContent = positionSize.toFixed(2);
|
| 421 |
+
document.getElementById('riskAmount').textContent = '$' + riskAmount.toFixed(2);
|
| 422 |
+
document.getElementById('pipValue').textContent = '$' + pipValue.toFixed(2);
|
| 423 |
+
document.getElementById('takeProfit').textContent = takeProfitPips.toFixed(0);
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
// Apply to chart function
|
| 427 |
+
function applyToChart() {
|
| 428 |
+
alert('Position parameters applied to chart!');
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
// Initial calculation
|
| 432 |
+
calculatePositionSize();
|
| 433 |
+
</script>
|
| 434 |
+
</body>
|
| 435 |
+
</html>
|
|
@@ -0,0 +1,478 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Expert Advisors - MetaTrader Command Center</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 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://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
darkMode: 'class',
|
| 14 |
+
theme: {
|
| 15 |
+
extend: {
|
| 16 |
+
colors: {
|
| 17 |
+
primary: {
|
| 18 |
+
50: '#f0f9ff',
|
| 19 |
+
100: '#e0f2fe',
|
| 20 |
+
200: '#bae6fd',
|
| 21 |
+
300: '#7dd3fc',
|
| 22 |
+
400: '#38bdf8',
|
| 23 |
+
500: '#0ea5e9',
|
| 24 |
+
600: '#0284c7',
|
| 25 |
+
700: '#0369a1',
|
| 26 |
+
800: '#075985',
|
| 27 |
+
900: '#0c4a6e',
|
| 28 |
+
},
|
| 29 |
+
secondary: {
|
| 30 |
+
50: '#fdf2f8',
|
| 31 |
+
100: '#fce7f3',
|
| 32 |
+
200: '#fbcfe8',
|
| 33 |
+
300: '#f9a8d4',
|
| 34 |
+
400: '#f472b6',
|
| 35 |
+
500: '#ec4899',
|
| 36 |
+
600: '#db2777',
|
| 37 |
+
700: '#be185d',
|
| 38 |
+
800: '#9d174d',
|
| 39 |
+
900: '#831843',
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
</script>
|
| 46 |
+
<style>
|
| 47 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 48 |
+
body {
|
| 49 |
+
font-family: 'Inter', sans-serif;
|
| 50 |
+
background-color: #0f172a;
|
| 51 |
+
color: #e2e8f0;
|
| 52 |
+
}
|
| 53 |
+
.glass-effect {
|
| 54 |
+
background: rgba(30, 41, 59, 0.7);
|
| 55 |
+
backdrop-filter: blur(10px);
|
| 56 |
+
border: 1px solid rgba(148, 163, 184, 0.2);
|
| 57 |
+
}
|
| 58 |
+
.ea-card {
|
| 59 |
+
transition: all 0.3s ease;
|
| 60 |
+
}
|
| 61 |
+
.ea-card:hover {
|
| 62 |
+
transform: translateY(-3px);
|
| 63 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
|
| 64 |
+
}
|
| 65 |
+
.status-indicator {
|
| 66 |
+
display: inline-block;
|
| 67 |
+
width: 10px;
|
| 68 |
+
height: 10px;
|
| 69 |
+
border-radius: 50%;
|
| 70 |
+
margin-right: 8px;
|
| 71 |
+
}
|
| 72 |
+
.running {
|
| 73 |
+
background-color: #4ade80;
|
| 74 |
+
}
|
| 75 |
+
.stopped {
|
| 76 |
+
background-color: #ef4444;
|
| 77 |
+
}
|
| 78 |
+
.paused {
|
| 79 |
+
background-color: #f59e0b;
|
| 80 |
+
}
|
| 81 |
+
</style>
|
| 82 |
+
</head>
|
| 83 |
+
<body class="bg-slate-900 text-slate-100 min-h-screen">
|
| 84 |
+
<!-- Main Container -->
|
| 85 |
+
<div class="flex flex-col md:flex-row min-h-screen">
|
| 86 |
+
<!-- Sidebar -->
|
| 87 |
+
<div class="w-full md:w-64 glass-effect p-4 flex flex-col">
|
| 88 |
+
<div class="mb-8">
|
| 89 |
+
<h1 class="text-2xl font-bold text-primary-400 flex items-center">
|
| 90 |
+
<i data-feather="activity" class="mr-2"></i>
|
| 91 |
+
MT5 Command
|
| 92 |
+
</h1>
|
| 93 |
+
<p class="text-xs text-slate-400 mt-1">Trading Control Panel</p>
|
| 94 |
+
</div>
|
| 95 |
+
|
| 96 |
+
<nav class="flex-1">
|
| 97 |
+
<ul class="space-y-2">
|
| 98 |
+
<li>
|
| 99 |
+
<a href="index.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 100 |
+
<i data-feather="home" class="mr-3"></i>
|
| 101 |
+
Dashboard
|
| 102 |
+
</a>
|
| 103 |
+
</li>
|
| 104 |
+
<li>
|
| 105 |
+
<a href="trading-view.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 106 |
+
<i data-feather="bar-chart-2" class="mr-3"></i>
|
| 107 |
+
Trading View
|
| 108 |
+
</a>
|
| 109 |
+
</li>
|
| 110 |
+
<li>
|
| 111 |
+
<a href="#" class="flex items-center p-3 rounded-lg bg-primary-600 text-white">
|
| 112 |
+
<i data-feather="settings" class="mr-3"></i>
|
| 113 |
+
Expert Advisors
|
| 114 |
+
</a>
|
| 115 |
+
</li>
|
| 116 |
+
<li>
|
| 117 |
+
<a href="calculator.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 118 |
+
<i data-feather="calculator" class="mr-3"></i>
|
| 119 |
+
Position Calculator
|
| 120 |
+
</a>
|
| 121 |
+
</li>
|
| 122 |
+
<li>
|
| 123 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 124 |
+
<i data-feather="layers" class="mr-3"></i>
|
| 125 |
+
Strategies
|
| 126 |
+
</a>
|
| 127 |
+
</li>
|
| 128 |
+
<li>
|
| 129 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 130 |
+
<i data-feather="shield" class="mr-3"></i>
|
| 131 |
+
Risk Management
|
| 132 |
+
</a>
|
| 133 |
+
</li>
|
| 134 |
+
<li>
|
| 135 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 136 |
+
<i data-feather="file-text" class="mr-3"></i>
|
| 137 |
+
Reports
|
| 138 |
+
</a>
|
| 139 |
+
</li>
|
| 140 |
+
</ul>
|
| 141 |
+
</nav>
|
| 142 |
+
|
| 143 |
+
<div class="mt-auto pt-4 border-t border-slate-700">
|
| 144 |
+
<div class="flex items-center">
|
| 145 |
+
<div class="bg-slate-700 rounded-full p-2 mr-3">
|
| 146 |
+
<i data-feather="user" class="w-5 h-5"></i>
|
| 147 |
+
</div>
|
| 148 |
+
<div>
|
| 149 |
+
<p class="font-medium">Trader Pro</p>
|
| 150 |
+
<p class="text-xs text-slate-400">Active Session</p>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
|
| 156 |
+
<!-- Main Content -->
|
| 157 |
+
<div class="flex-1 overflow-auto">
|
| 158 |
+
<!-- Header -->
|
| 159 |
+
<header class="glass-effect p-4 flex justify-between items-center">
|
| 160 |
+
<div>
|
| 161 |
+
<h2 class="text-xl font-bold">Expert Advisors</h2>
|
| 162 |
+
<p class="text-sm text-slate-400">Manage and monitor automated trading systems</p>
|
| 163 |
+
</div>
|
| 164 |
+
<div class="flex items-center space-x-4">
|
| 165 |
+
<button class="bg-primary-600 hover:bg-primary-700 px-4 py-2 rounded-lg flex items-center">
|
| 166 |
+
<i data-feather="plus" class="mr-2"></i>
|
| 167 |
+
New EA
|
| 168 |
+
</button>
|
| 169 |
+
<button class="bg-slate-800 hover:bg-slate-700 px-4 py-2 rounded-lg flex items-center">
|
| 170 |
+
<i data-feather="refresh-cw" class="mr-2"></i>
|
| 171 |
+
Refresh
|
| 172 |
+
</button>
|
| 173 |
+
</div>
|
| 174 |
+
</header>
|
| 175 |
+
|
| 176 |
+
<!-- EA Status Summary -->
|
| 177 |
+
<div class="p-4 grid grid-cols-1 md:grid-cols-4 gap-4">
|
| 178 |
+
<div class="glass-effect rounded-xl p-4">
|
| 179 |
+
<div class="flex justify-between items-start">
|
| 180 |
+
<div>
|
| 181 |
+
<p class="text-slate-400 text-sm">Total EAs</p>
|
| 182 |
+
<p class="text-2xl font-bold">12</p>
|
| 183 |
+
</div>
|
| 184 |
+
<div class="bg-blue-500/20 p-2 rounded-lg">
|
| 185 |
+
<i data-feather="cpu" class="text-blue-500"></i>
|
| 186 |
+
</div>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
|
| 190 |
+
<div class="glass-effect rounded-xl p-4">
|
| 191 |
+
<div class="flex justify-between items-start">
|
| 192 |
+
<div>
|
| 193 |
+
<p class="text-slate-400 text-sm">Running</p>
|
| 194 |
+
<p class="text-2xl font-bold">7</p>
|
| 195 |
+
</div>
|
| 196 |
+
<div class="bg-green-500/20 p-2 rounded-lg">
|
| 197 |
+
<i data-feather="play" class="text-green-500"></i>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
|
| 202 |
+
<div class="glass-effect rounded-xl p-4">
|
| 203 |
+
<div class="flex justify-between items-start">
|
| 204 |
+
<div>
|
| 205 |
+
<p class="text-slate-400 text-sm">Stopped</p>
|
| 206 |
+
<p class="text-2xl font-bold">3</p>
|
| 207 |
+
</div>
|
| 208 |
+
<div class="bg-red-500/20 p-2 rounded-lg">
|
| 209 |
+
<i data-feather="stop-circle" class="text-red-500"></i>
|
| 210 |
+
</div>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<div class="glass-effect rounded-xl p-4">
|
| 215 |
+
<div class="flex justify-between items-start">
|
| 216 |
+
<div>
|
| 217 |
+
<p class="text-slate-400 text-sm">Paused</p>
|
| 218 |
+
<p class="text-2xl font-bold">2</p>
|
| 219 |
+
</div>
|
| 220 |
+
<div class="bg-yellow-500/20 p-2 rounded-lg">
|
| 221 |
+
<i data-feather="pause" class="text-yellow-500"></i>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<!-- EA List -->
|
| 228 |
+
<div class="p-4">
|
| 229 |
+
<div class="glass-effect rounded-xl p-4">
|
| 230 |
+
<div class="flex justify-between items-center mb-4">
|
| 231 |
+
<h3 class="font-bold">Expert Advisors</h3>
|
| 232 |
+
<div class="relative">
|
| 233 |
+
<input type="text" placeholder="Search EAs..." class="bg-slate-800 rounded-lg py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary-500">
|
| 234 |
+
<i data-feather="search" class="absolute left-3 top-2.5 w-4 h-4 text-slate-500"></i>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
|
| 238 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
|
| 239 |
+
<!-- EA Card 1 -->
|
| 240 |
+
<div class="ea-card glass-effect rounded-xl p-4">
|
| 241 |
+
<div class="flex justify-between items-start">
|
| 242 |
+
<div>
|
| 243 |
+
<h4 class="font-bold">Scalper Pro</h4>
|
| 244 |
+
<p class="text-sm text-slate-400">High-frequency scalping strategy</p>
|
| 245 |
+
</div>
|
| 246 |
+
<div class="flex items-center">
|
| 247 |
+
<span class="status-indicator running"></span>
|
| 248 |
+
<span class="text-xs">Running</span>
|
| 249 |
+
</div>
|
| 250 |
+
</div>
|
| 251 |
+
<div class="mt-4">
|
| 252 |
+
<div class="flex justify-between text-sm mb-1">
|
| 253 |
+
<span>Profit Today</span>
|
| 254 |
+
<span class="text-green-500">+$245.70</span>
|
| 255 |
+
</div>
|
| 256 |
+
<div class="flex justify-between text-sm mb-1">
|
| 257 |
+
<span>Win Rate</span>
|
| 258 |
+
<span>72%</span>
|
| 259 |
+
</div>
|
| 260 |
+
<div class="flex justify-between text-sm">
|
| 261 |
+
<span>Trades</span>
|
| 262 |
+
<span>42</span>
|
| 263 |
+
</div>
|
| 264 |
+
</div>
|
| 265 |
+
<div class="flex space-x-2 mt-4">
|
| 266 |
+
<button class="flex-1 bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 267 |
+
Settings
|
| 268 |
+
</button>
|
| 269 |
+
<button class="flex-1 bg-red-600 hover:bg-red-700 py-2 rounded-lg text-sm">
|
| 270 |
+
Stop
|
| 271 |
+
</button>
|
| 272 |
+
</div>
|
| 273 |
+
</div>
|
| 274 |
+
|
| 275 |
+
<!-- EA Card 2 -->
|
| 276 |
+
<div class="ea-card glass-effect rounded-xl p-4">
|
| 277 |
+
<div class="flex justify-between items-start">
|
| 278 |
+
<div>
|
| 279 |
+
<h4 class="font-bold">Trend Follower</h4>
|
| 280 |
+
<p class="text-sm text-slate-400">Medium-term trend strategy</p>
|
| 281 |
+
</div>
|
| 282 |
+
<div class="flex items-center">
|
| 283 |
+
<span class="status-indicator running"></span>
|
| 284 |
+
<span class="text-xs">Running</span>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
<div class="mt-4">
|
| 288 |
+
<div class="flex justify-between text-sm mb-1">
|
| 289 |
+
<span>Profit Today</span>
|
| 290 |
+
<span class="text-green-500">+$187.30</span>
|
| 291 |
+
</div>
|
| 292 |
+
<div class="flex justify-between text-sm mb-1">
|
| 293 |
+
<span>Win Rate</span>
|
| 294 |
+
<span>68%</span>
|
| 295 |
+
</div>
|
| 296 |
+
<div class="flex justify-between text-sm">
|
| 297 |
+
<span>Trades</span>
|
| 298 |
+
<span>18</span>
|
| 299 |
+
</div>
|
| 300 |
+
</div>
|
| 301 |
+
<div class="flex space-x-2 mt-4">
|
| 302 |
+
<button class="flex-1 bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 303 |
+
Settings
|
| 304 |
+
</button>
|
| 305 |
+
<button class="flex-1 bg-red-600 hover:bg-red-700 py-2 rounded-lg text-sm">
|
| 306 |
+
Stop
|
| 307 |
+
</button>
|
| 308 |
+
</div>
|
| 309 |
+
</div>
|
| 310 |
+
|
| 311 |
+
<!-- EA Card 3 -->
|
| 312 |
+
<div class="ea-card glass-effect rounded-xl p-4">
|
| 313 |
+
<div class="flex justify-between items-start">
|
| 314 |
+
<div>
|
| 315 |
+
<h4 class="font-bold">Range Breaker</h4>
|
| 316 |
+
<p class="text-sm text-slate-400">Breakout range strategy</p>
|
| 317 |
+
</div>
|
| 318 |
+
<div class="flex items-center">
|
| 319 |
+
<span class="status-indicator stopped"></span>
|
| 320 |
+
<span class="text-xs">Stopped</span>
|
| 321 |
+
</div>
|
| 322 |
+
</div>
|
| 323 |
+
<div class="mt-4">
|
| 324 |
+
<div class="flex justify-between text-sm mb-1">
|
| 325 |
+
<span>Profit Today</span>
|
| 326 |
+
<span class="text-red-500">-$32.10</span>
|
| 327 |
+
</div>
|
| 328 |
+
<div class="flex justify-between text-sm mb-1">
|
| 329 |
+
<span>Win Rate</span>
|
| 330 |
+
<span>45%</span>
|
| 331 |
+
</div>
|
| 332 |
+
<div class="flex justify-between text-sm">
|
| 333 |
+
<span>Trades</span>
|
| 334 |
+
<span>7</span>
|
| 335 |
+
</div>
|
| 336 |
+
</div>
|
| 337 |
+
<div class="flex space-x-2 mt-4">
|
| 338 |
+
<button class="flex-1 bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 339 |
+
Settings
|
| 340 |
+
</button>
|
| 341 |
+
<button class="flex-1 bg-green-600 hover:bg-green-700 py-2 rounded-lg text-sm">
|
| 342 |
+
Start
|
| 343 |
+
</button>
|
| 344 |
+
</div>
|
| 345 |
+
</div>
|
| 346 |
+
|
| 347 |
+
<!-- EA Card 4 -->
|
| 348 |
+
<div class="ea-card glass-effect rounded-xl p-4">
|
| 349 |
+
<div class="flex justify-between items-start">
|
| 350 |
+
<div>
|
| 351 |
+
<h4 class="font-bold">News Trader</h4>
|
| 352 |
+
<p class="text-sm text-slate-400">Economic news strategy</p>
|
| 353 |
+
</div>
|
| 354 |
+
<div class="flex items-center">
|
| 355 |
+
<span class="status-indicator paused"></span>
|
| 356 |
+
<span class="text-xs">Paused</span>
|
| 357 |
+
</div>
|
| 358 |
+
</div>
|
| 359 |
+
<div class="mt-4">
|
| 360 |
+
<div class="flex justify-between text-sm mb-1">
|
| 361 |
+
<span>Profit Today</span>
|
| 362 |
+
<span class="text-green-500">+$87.50</span>
|
| 363 |
+
</div>
|
| 364 |
+
<div class="flex justify-between text-sm mb-1">
|
| 365 |
+
<span>Win Rate</span>
|
| 366 |
+
<span>62%</span>
|
| 367 |
+
</div>
|
| 368 |
+
<div class="flex justify-between text-sm">
|
| 369 |
+
<span>Trades</span>
|
| 370 |
+
<span>5</span>
|
| 371 |
+
</div>
|
| 372 |
+
</div>
|
| 373 |
+
<div class="flex space-x-2 mt-4">
|
| 374 |
+
<button class="flex-1 bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 375 |
+
Settings
|
| 376 |
+
</button>
|
| 377 |
+
<button class="flex-1 bg-green-600 hover:bg-green-700 py-2 rounded-lg text-sm">
|
| 378 |
+
Resume
|
| 379 |
+
</button>
|
| 380 |
+
</div>
|
| 381 |
+
</div>
|
| 382 |
+
|
| 383 |
+
<!-- EA Card 5 -->
|
| 384 |
+
<div class="ea-card glass-effect rounded-xl p-4">
|
| 385 |
+
<div class="flex justify-between items-start">
|
| 386 |
+
<div>
|
| 387 |
+
<h4 class="font-bold">Mean Reversion</h4>
|
| 388 |
+
<p class="text-sm text-slate-400">Statistical arbitrage strategy</p>
|
| 389 |
+
</div>
|
| 390 |
+
<div class="flex items-center">
|
| 391 |
+
<span class="status-indicator running"></span>
|
| 392 |
+
<span class="text-xs">Running</span>
|
| 393 |
+
</div>
|
| 394 |
+
</div>
|
| 395 |
+
<div class="mt-4">
|
| 396 |
+
<div class="flex justify-between text-sm mb-1">
|
| 397 |
+
<span>Profit Today</span>
|
| 398 |
+
<span class="text-green-500">+$156.20</span>
|
| 399 |
+
</div>
|
| 400 |
+
<div class="flex justify-between text-sm mb-1">
|
| 401 |
+
<span>Win Rate</span>
|
| 402 |
+
<span>75%</span>
|
| 403 |
+
</div>
|
| 404 |
+
<div class="flex justify-between text-sm">
|
| 405 |
+
<span>Trades</span>
|
| 406 |
+
<span>28</span>
|
| 407 |
+
</div>
|
| 408 |
+
</div>
|
| 409 |
+
<div class="flex space-x-2 mt-4">
|
| 410 |
+
<button class="flex-1 bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 411 |
+
Settings
|
| 412 |
+
</button>
|
| 413 |
+
<button class="flex-1 bg-red-600 hover:bg-red-700 py-2 rounded-lg text-sm">
|
| 414 |
+
Stop
|
| 415 |
+
</button>
|
| 416 |
+
</div>
|
| 417 |
+
</div>
|
| 418 |
+
|
| 419 |
+
<!-- EA Card 6 -->
|
| 420 |
+
<div class="ea-card glass-effect rounded-xl p-4">
|
| 421 |
+
<div class="flex justify-between items-start">
|
| 422 |
+
<div>
|
| 423 |
+
<h4 class="font-bold">Volatility Breaker</h4>
|
| 424 |
+
<p class="text-sm text-slate-400">High volatility breakout strategy</p>
|
| 425 |
+
</div>
|
| 426 |
+
<div class="flex items-center">
|
| 427 |
+
<span class="status-indicator running"></span>
|
| 428 |
+
<span class="text-xs">Running</span>
|
| 429 |
+
</div>
|
| 430 |
+
</div>
|
| 431 |
+
<div class="mt-4">
|
| 432 |
+
<div class="flex justify-between text-sm mb-1">
|
| 433 |
+
<span>Profit Today</span>
|
| 434 |
+
<span class="text-green-500">+$98.40</span>
|
| 435 |
+
</div>
|
| 436 |
+
<div class="flex justify-between text-sm mb-1">
|
| 437 |
+
<span>Win Rate</span>
|
| 438 |
+
<span>65%</span>
|
| 439 |
+
</div>
|
| 440 |
+
<div class="flex justify-between text-sm">
|
| 441 |
+
<span>Trades</span>
|
| 442 |
+
<span>15</span>
|
| 443 |
+
</div>
|
| 444 |
+
</div>
|
| 445 |
+
<div class="flex space-x-2 mt-4">
|
| 446 |
+
<button class="flex-1 bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 447 |
+
Settings
|
| 448 |
+
</button>
|
| 449 |
+
<button class="flex-1 bg-red-600 hover:bg-red-700 py-2 rounded-lg text-sm">
|
| 450 |
+
Stop
|
| 451 |
+
</button>
|
| 452 |
+
</div>
|
| 453 |
+
</div>
|
| 454 |
+
</div>
|
| 455 |
+
</div>
|
| 456 |
+
</div>
|
| 457 |
+
|
| 458 |
+
<!-- EA Performance Chart -->
|
| 459 |
+
<div class="p-4">
|
| 460 |
+
<div class="glass-effect rounded-xl p-4">
|
| 461 |
+
<h3 class="font-bold mb-4">EA Performance Overview</h3>
|
| 462 |
+
<div class="h-64 flex items-center justify-center bg-slate-800 rounded-lg">
|
| 463 |
+
<div class="text-center">
|
| 464 |
+
<i data-feather="bar-chart-2" class="w-12 h-12 mx-auto mb-2 text-slate-500"></i>
|
| 465 |
+
<p class="text-slate-500">Performance charts and analytics</p>
|
| 466 |
+
</div>
|
| 467 |
+
</div>
|
| 468 |
+
</div>
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>MetaTrader Command Center</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 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://unpkg.com/feather-icons"></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: '#f0f9ff',
|
| 20 |
+
100: '#e0f2fe',
|
| 21 |
+
200: '#bae6fd',
|
| 22 |
+
300: '#7dd3fc',
|
| 23 |
+
400: '#38bdf8',
|
| 24 |
+
500: '#0ea5e9',
|
| 25 |
+
600: '#0284c7',
|
| 26 |
+
700: '#0369a1',
|
| 27 |
+
800: '#075985',
|
| 28 |
+
900: '#0c4a6e',
|
| 29 |
+
},
|
| 30 |
+
secondary: {
|
| 31 |
+
50: '#fdf2f8',
|
| 32 |
+
100: '#fce7f3',
|
| 33 |
+
200: '#fbcfe8',
|
| 34 |
+
300: '#f9a8d4',
|
| 35 |
+
400: '#f472b6',
|
| 36 |
+
500: '#ec4899',
|
| 37 |
+
600: '#db2777',
|
| 38 |
+
700: '#be185d',
|
| 39 |
+
800: '#9d174d',
|
| 40 |
+
900: '#831843',
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
</script>
|
| 47 |
+
<style>
|
| 48 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 49 |
+
body {
|
| 50 |
+
font-family: 'Inter', sans-serif;
|
| 51 |
+
background-color: #0f172a;
|
| 52 |
+
color: #e2e8f0;
|
| 53 |
+
}
|
| 54 |
+
.glass-effect {
|
| 55 |
+
background: rgba(30, 41, 59, 0.7);
|
| 56 |
+
backdrop-filter: blur(10px);
|
| 57 |
+
border: 1px solid rgba(148, 163, 184, 0.2);
|
| 58 |
+
}
|
| 59 |
+
.chart-container {
|
| 60 |
+
position: relative;
|
| 61 |
+
height: 300px;
|
| 62 |
+
}
|
| 63 |
+
.trade-card {
|
| 64 |
+
transition: all 0.3s ease;
|
| 65 |
+
}
|
| 66 |
+
.trade-card:hover {
|
| 67 |
+
transform: translateY(-5px);
|
| 68 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
|
| 69 |
+
}
|
| 70 |
+
.indicator-dot {
|
| 71 |
+
display: inline-block;
|
| 72 |
+
width: 10px;
|
| 73 |
+
height: 10px;
|
| 74 |
+
border-radius: 50%;
|
| 75 |
+
margin-right: 8px;
|
| 76 |
+
}
|
| 77 |
+
.profit-positive {
|
| 78 |
+
color: #4ade80;
|
| 79 |
+
}
|
| 80 |
+
.profit-negative {
|
| 81 |
+
color: #f87171;
|
| 82 |
+
}
|
| 83 |
+
.scrollbar-hidden::-webkit-scrollbar {
|
| 84 |
+
display: none;
|
| 85 |
+
}
|
| 86 |
+
.scrollbar-hidden {
|
| 87 |
+
-ms-overflow-style: none;
|
| 88 |
+
scrollbar-width: none;
|
| 89 |
+
}
|
| 90 |
+
</style>
|
| 91 |
+
</head>
|
| 92 |
+
<body class="bg-slate-900 text-slate-100 min-h-screen">
|
| 93 |
+
<!-- Main Container -->
|
| 94 |
+
<div class="flex flex-col md:flex-row min-h-screen">
|
| 95 |
+
<!-- Sidebar -->
|
| 96 |
+
<div class="w-full md:w-64 glass-effect p-4 flex flex-col">
|
| 97 |
+
<div class="mb-8">
|
| 98 |
+
<h1 class="text-2xl font-bold text-primary-400 flex items-center">
|
| 99 |
+
<i data-feather="activity" class="mr-2"></i>
|
| 100 |
+
MT5 Command
|
| 101 |
+
</h1>
|
| 102 |
+
<p class="text-xs text-slate-400 mt-1">Trading Control Panel</p>
|
| 103 |
+
</div>
|
| 104 |
+
|
| 105 |
+
<nav class="flex-1">
|
| 106 |
+
<ul class="space-y-2">
|
| 107 |
+
<li>
|
| 108 |
+
<a href="#" class="flex items-center p-3 rounded-lg bg-primary-600 text-white">
|
| 109 |
+
<i data-feather="home" class="mr-3"></i>
|
| 110 |
+
Dashboard
|
| 111 |
+
</a>
|
| 112 |
+
</li>
|
| 113 |
+
<li>
|
| 114 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 115 |
+
<i data-feather="bar-chart-2" class="mr-3"></i>
|
| 116 |
+
Trading View
|
| 117 |
+
</a>
|
| 118 |
+
</li>
|
| 119 |
+
<li>
|
| 120 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 121 |
+
<i data-feather="settings" class="mr-3"></i>
|
| 122 |
+
Expert Advisors
|
| 123 |
+
</a>
|
| 124 |
+
</li>
|
| 125 |
+
<li>
|
| 126 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 127 |
+
<i data-feather="calculator" class="mr-3"></i>
|
| 128 |
+
Position Calculator
|
| 129 |
+
</a>
|
| 130 |
+
</li>
|
| 131 |
+
<li>
|
| 132 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 133 |
+
<i data-feather="layers" class="mr-3"></i>
|
| 134 |
+
Strategies
|
| 135 |
+
</a>
|
| 136 |
+
</li>
|
| 137 |
+
<li>
|
| 138 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 139 |
+
<i data-feather="shield" class="mr-3"></i>
|
| 140 |
+
Risk Management
|
| 141 |
+
</a>
|
| 142 |
+
</li>
|
| 143 |
+
<li>
|
| 144 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 145 |
+
<i data-feather="file-text" class="mr-3"></i>
|
| 146 |
+
Reports
|
| 147 |
+
</a>
|
| 148 |
+
</li>
|
| 149 |
+
</ul>
|
| 150 |
+
</nav>
|
| 151 |
+
|
| 152 |
+
<div class="mt-auto pt-4 border-t border-slate-700">
|
| 153 |
+
<div class="flex items-center">
|
| 154 |
+
<div class="bg-slate-700 rounded-full p-2 mr-3">
|
| 155 |
+
<i data-feather="user" class="w-5 h-5"></i>
|
| 156 |
+
</div>
|
| 157 |
+
<div>
|
| 158 |
+
<p class="font-medium">Trader Pro</p>
|
| 159 |
+
<p class="text-xs text-slate-400">Active Session</p>
|
| 160 |
+
</div>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
|
| 165 |
+
<!-- Main Content -->
|
| 166 |
+
<div class="flex-1 overflow-auto">
|
| 167 |
+
<!-- Header -->
|
| 168 |
+
<header class="glass-effect p-4 flex justify-between items-center">
|
| 169 |
+
<div>
|
| 170 |
+
<h2 class="text-xl font-bold">Trading Dashboard</h2>
|
| 171 |
+
<p class="text-sm text-slate-400">Real-time market monitoring and control</p>
|
| 172 |
+
</div>
|
| 173 |
+
<div class="flex items-center space-x-4">
|
| 174 |
+
<div class="relative">
|
| 175 |
+
<input type="text" placeholder="Search symbols..." class="bg-slate-800 rounded-lg py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary-500">
|
| 176 |
+
<i data-feather="search" class="absolute left-3 top-2.5 w-4 h-4 text-slate-500"></i>
|
| 177 |
+
</div>
|
| 178 |
+
<button class="bg-primary-600 hover:bg-primary-700 px-4 py-2 rounded-lg flex items-center">
|
| 179 |
+
<i data-feather="plus" class="mr-2"></i>
|
| 180 |
+
New Trade
|
| 181 |
+
</button>
|
| 182 |
+
</div>
|
| 183 |
+
</header>
|
| 184 |
+
|
| 185 |
+
<!-- Stats Overview -->
|
| 186 |
+
<div class="p-4 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
|
| 187 |
+
<div class="glass-effect rounded-xl p-4">
|
| 188 |
+
<div class="flex justify-between items-start">
|
| 189 |
+
<div>
|
| 190 |
+
<p class="text-slate-400 text-sm">Equity</p>
|
| 191 |
+
<p class="text-2xl font-bold">$24,580.75</p>
|
| 192 |
+
</div>
|
| 193 |
+
<div class="bg-green-500/20 p-2 rounded-lg">
|
| 194 |
+
<i data-feather="trending-up" class="text-green-500"></i>
|
| 195 |
+
</div>
|
| 196 |
+
</div>
|
| 197 |
+
<p class="text-green-500 text-sm mt-2">+2.3% today</p>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
+
<div class="glass-effect rounded-xl p-4">
|
| 201 |
+
<div class="flex justify-between items-start">
|
| 202 |
+
<div>
|
| 203 |
+
<p class="text-slate-400 text-sm">Open Positions</p>
|
| 204 |
+
<p class="text-2xl font-bold">12</p>
|
| 205 |
+
</div>
|
| 206 |
+
<div class="bg-blue-500/20 p-2 rounded-lg">
|
| 207 |
+
<i data-feather="bar-chart-2" class="text-blue-500"></i>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
<p class="text-slate-400 text-sm mt-2">8 Buy / 4 Sell</p>
|
| 211 |
+
</div>
|
| 212 |
+
|
| 213 |
+
<div class="glass-effect rounded-xl p-4">
|
| 214 |
+
<div class="flex justify-between items-start">
|
| 215 |
+
<div>
|
| 216 |
+
<p class="text-slate-400 text-sm">Active EAs</p>
|
| 217 |
+
<p class="text-2xl font-bold">7</p>
|
| 218 |
+
</div>
|
| 219 |
+
<div class="bg-purple-500/20 p-2 rounded-lg">
|
| 220 |
+
<i data-feather="cpu" class="text-purple-500"></i>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
<p class="text-slate-400 text-sm mt-2">3 running strategies</p>
|
| 224 |
+
</div>
|
| 225 |
+
|
| 226 |
+
<div class="glass-effect rounded-xl p-4">
|
| 227 |
+
<div class="flex justify-between items-start">
|
| 228 |
+
<div>
|
| 229 |
+
<p class="text-slate-400 text-sm">Risk Exposure</p>
|
| 230 |
+
<p class="text-2xl font-bold">3.2%</p>
|
| 231 |
+
</div>
|
| 232 |
+
<div class="bg-yellow-500/20 p-2 rounded-lg">
|
| 233 |
+
<i data-feather="shield" class="text-yellow-500"></i>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
<p class="text-green-500 text-sm mt-2">Within limits</p>
|
| 237 |
+
</div>
|
| 238 |
+
</div>
|
| 239 |
+
|
| 240 |
+
<!-- Charts and Trading Tools -->
|
| 241 |
+
<div class="p-4 grid grid-cols-1 lg:grid-cols-3 gap-4">
|
| 242 |
+
<!-- Chart Section -->
|
| 243 |
+
<div class="lg:col-span-2 glass-effect rounded-xl p-4">
|
| 244 |
+
<div class="flex justify-between items-center mb-4">
|
| 245 |
+
<h3 class="font-bold">EURUSD H1 Chart</h3>
|
| 246 |
+
<div class="flex space-x-2">
|
| 247 |
+
<button class="text-xs bg-slate-800 hover:bg-slate-700 px-3 py-1 rounded">1H</button>
|
| 248 |
+
<button class="text-xs bg-slate-800 hover:bg-slate-700 px-3 py-1 rounded">4H</button>
|
| 249 |
+
<button class="text-xs bg-primary-600 px-3 py-1 rounded">D1</button>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
<div class="chart-container">
|
| 253 |
+
<canvas id="priceChart"></canvas>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
|
| 257 |
+
<!-- Position Calculator -->
|
| 258 |
+
<div class="glass-effect rounded-xl p-4">
|
| 259 |
+
<h3 class="font-bold mb-4">Position Calculator</h3>
|
| 260 |
+
<div class="space-y-4">
|
| 261 |
+
<div>
|
| 262 |
+
<label class="text-sm text-slate-400">Account Balance</label>
|
| 263 |
+
<input type="number" value="25000" class="w-full bg-slate-800 rounded-lg p-2 mt-1">
|
| 264 |
+
</div>
|
| 265 |
+
<div>
|
| 266 |
+
<label class="text-sm text-slate-400">Risk Percentage</label>
|
| 267 |
+
<input type="number" value="2" class="w-full bg-slate-800 rounded-lg p-2 mt-1">
|
| 268 |
+
</div>
|
| 269 |
+
<div>
|
| 270 |
+
<label class="text-sm text-slate-400">Stop Loss (pips)</label>
|
| 271 |
+
<input type="number" value="50" class="w-full bg-slate-800 rounded-lg p-2 mt-1">
|
| 272 |
+
</div>
|
| 273 |
+
<div class="pt-2">
|
| 274 |
+
<p class="text-sm text-slate-400">Position Size</p>
|
| 275 |
+
<p class="text-xl font-bold">0.25 lots</p>
|
| 276 |
+
</div>
|
| 277 |
+
<button class="w-full bg-primary-600 hover:bg-primary-700 py-2 rounded-lg mt-2">
|
| 278 |
+
Apply to Chart
|
| 279 |
+
</button>
|
| 280 |
+
</div>
|
| 281 |
+
</div>
|
| 282 |
+
</div>
|
| 283 |
+
|
| 284 |
+
<!-- Active Trades and EAs -->
|
| 285 |
+
<div class="p-4 grid grid-cols-1 lg:grid-cols-2 gap-4">
|
| 286 |
+
<!-- Active Trades -->
|
| 287 |
+
<div class="glass-effect rounded-xl p-4">
|
| 288 |
+
<div class="flex justify-between items-center mb-4">
|
| 289 |
+
<h3 class="font-bold">Active Positions</h3>
|
| 290 |
+
<button class="text-sm text-primary-400">View All</button>
|
| 291 |
+
</div>
|
| 292 |
+
<div class="overflow-x-auto scrollbar-hidden">
|
| 293 |
+
<table class="w-full">
|
| 294 |
+
<thead>
|
| 295 |
+
<tr class="text-left text-slate-400 text-sm">
|
| 296 |
+
<th class="pb-2">Symbol</th>
|
| 297 |
+
<th class="pb-2">Type</th>
|
| 298 |
+
<th class="pb-2">Lots</th>
|
| 299 |
+
<th class="pb-2">Profit</th>
|
| 300 |
+
<th class="pb-2">Actions</th>
|
| 301 |
+
</tr>
|
| 302 |
+
</thead>
|
| 303 |
+
<tbody>
|
| 304 |
+
<tr class="border-b border-slate-800">
|
| 305 |
+
<td class="py-3">EURUSD</td>
|
| 306 |
+
<td class="py-3"><span class="text-green-500">BUY</span></td>
|
| 307 |
+
<td class="py-3">0.25</td>
|
| 308 |
+
<td class="py-3 profit-positive">+$124.50</td>
|
| 309 |
+
<td class="py-3">
|
| 310 |
+
<button class="text-slate-400 hover:text-white">
|
| 311 |
+
<i data-feather="more-horizontal" class="w-4 h-4"></i>
|
| 312 |
+
</button>
|
| 313 |
+
</td>
|
| 314 |
+
</tr>
|
| 315 |
+
<tr class="border-b border-slate-800">
|
| 316 |
+
<td class="py-3">GBPUSD</td>
|
| 317 |
+
<td class="py-3"><span class="text-red-500">SELL</span></td>
|
| 318 |
+
<td class="py-3">0.15</td>
|
| 319 |
+
<td class="py-3 profit-negative">-$42.30</td>
|
| 320 |
+
<td class="py-3">
|
| 321 |
+
<button class="text-slate-400 hover:text-white">
|
| 322 |
+
<i data-feather="more-horizontal" class="w-4 h-4"></i>
|
| 323 |
+
</button>
|
| 324 |
+
</td>
|
| 325 |
+
</tr>
|
| 326 |
+
<tr class="border-b border-slate-800">
|
| 327 |
+
<td class="py-3">USDJPY</td>
|
| 328 |
+
<td class="py-3"><span class="text-green-500">BUY</span></td>
|
| 329 |
+
<td class="py-3">0.30</td>
|
| 330 |
+
<td class="py-3 profit-positive">+$87.20</td>
|
| 331 |
+
<td class="py-3">
|
| 332 |
+
<button class="text-slate-400 hover:text-white">
|
| 333 |
+
<i data-feather="more-horizontal" class="w-4 h-4"></i>
|
| 334 |
+
</button>
|
| 335 |
+
</td>
|
| 336 |
+
</tr>
|
| 337 |
+
</tbody>
|
| 338 |
+
</table>
|
| 339 |
+
</div>
|
| 340 |
+
</div>
|
| 341 |
+
|
| 342 |
+
<!-- Expert Advisors -->
|
| 343 |
+
<div class="glass-effect rounded-xl p-4">
|
| 344 |
+
<div class="flex justify-between items-center mb-4">
|
| 345 |
+
<h3 class="font-bold">Expert Advisors</h3>
|
| 346 |
+
<button class="text-sm text-primary-400">Manage</button>
|
| 347 |
+
</div>
|
| 348 |
+
<div class="space-y-3">
|
| 349 |
+
<div class="flex items-center justify-between p-3 bg-slate-800 rounded-lg">
|
| 350 |
+
<div class="flex items-center">
|
| 351 |
+
<div class="indicator-dot bg-green-500"></div>
|
| 352 |
+
<div>
|
| 353 |
+
<p class="font-medium">Scalper Pro</p>
|
| 354 |
+
<p class="text-xs text-slate-400">Running on EURUSD</p>
|
| 355 |
+
</div>
|
| 356 |
+
</div>
|
| 357 |
+
<div class="text-right">
|
| 358 |
+
<p class="profit-positive">+$245.70</p>
|
| 359 |
+
<p class="text-xs text-slate-400">Today</p>
|
| 360 |
+
</div>
|
| 361 |
+
</div>
|
| 362 |
+
<div class="flex items-center justify-between p-3 bg-slate-800 rounded-lg">
|
| 363 |
+
<div class="flex items-center">
|
| 364 |
+
<div class="indicator-dot bg-green-500"></div>
|
| 365 |
+
<div>
|
| 366 |
+
<p class="font-medium">Trend Follower</p>
|
| 367 |
+
<p class="text-xs text-slate-400">Running on GBPUSD</p>
|
| 368 |
+
</div>
|
| 369 |
+
</div>
|
| 370 |
+
<div class="text-right">
|
| 371 |
+
<p class="profit-positive">+$187.30</p>
|
| 372 |
+
<p class="text-xs text-slate-400">Today</p>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
<div class="flex items-center justify-between p-3 bg-slate-800 rounded-lg">
|
| 376 |
+
<div class="flex items-center">
|
| 377 |
+
<div class="indicator-dot bg-red-500"></div>
|
| 378 |
+
<div>
|
| 379 |
+
<p class="font-medium">Range Breaker</p>
|
| 380 |
+
<p class="text-xs text-slate-400">Stopped</p>
|
| 381 |
+
</div>
|
| 382 |
+
</div>
|
| 383 |
+
<div class="text-right">
|
| 384 |
+
<p class="profit-negative">-$32.10</p>
|
| 385 |
+
<p class="text-xs text-slate-400">Yesterday</p>
|
| 386 |
+
</div>
|
| 387 |
+
</div>
|
| 388 |
+
</div>
|
| 389 |
+
</div>
|
| 390 |
+
</div>
|
| 391 |
+
|
| 392 |
+
<!-- Protection Tools -->
|
| 393 |
+
<div class="p-4">
|
| 394 |
+
<div class="glass-effect rounded-xl p-4">
|
| 395 |
+
<h3 class="font-bold mb-4">Protection Tools</h3>
|
| 396 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
|
| 397 |
+
<div class="bg-slate-800 rounded-lg p-4 hover:bg-slate-700 transition cursor-pointer">
|
| 398 |
+
<div class="flex items-center mb-2">
|
| 399 |
+
<div class="bg-blue-500/20 p-2 rounded-lg mr-3">
|
| 400 |
+
<i data-feather="target" class="text-blue-500 w-5 h-5"></i>
|
| 401 |
+
</div>
|
| 402 |
+
<h4 class="font-medium">Breakeven</h4>
|
| 403 |
+
</div>
|
| 404 |
+
<p class="text-sm text-slate-400">Move SL to entry price</p>
|
| 405 |
+
</div>
|
| 406 |
+
<div class="bg-slate-800 rounded-lg p-4 hover:bg-slate-700 transition cursor-pointer">
|
| 407 |
+
<div class="flex items-center mb-2">
|
| 408 |
+
<div class="bg-green-500/20 p-2 rounded-lg mr-3">
|
| 409 |
+
<i data-feather="trending-up" class="text-green-500 w-5 h-5"></i>
|
| 410 |
+
</div>
|
| 411 |
+
<h4 class="font-medium">Trailing Stop</h4>
|
| 412 |
+
</div>
|
| 413 |
+
<p class="text-sm text-slate-400">Dynamic stop loss</p>
|
| 414 |
+
</div>
|
| 415 |
+
<div class="bg-slate-800 rounded-lg p-4 hover:bg-slate-700 transition cursor-pointer">
|
| 416 |
+
<div class="flex items-center mb-2">
|
| 417 |
+
<div class="bg-purple-500/20 p-2 rounded-lg mr-3">
|
| 418 |
+
<i data-feather="percent" class="text-purple-500 w-5 h-5"></i>
|
| 419 |
+
</div>
|
| 420 |
+
<h4 class="font-medium">Partial Close</h4>
|
| 421 |
+
</div>
|
| 422 |
+
<p class="text-sm text-slate-400">Close portions of position</p>
|
| 423 |
+
</div>
|
| 424 |
+
<div class="bg-slate-800 rounded-lg p-4 hover:bg-slate-700 transition cursor-pointer">
|
| 425 |
+
<div class="flex items-center mb-2">
|
| 426 |
+
<div class="bg-yellow-500/20 p-2 rounded-lg mr-3">
|
| 427 |
+
<i data-feather="eye-off" class="text-yellow-500 w-5 h-5"></i>
|
| 428 |
+
</div>
|
| 429 |
+
<h4 class="font-medium">Stealth Mode</h4>
|
| 430 |
+
</div>
|
| 431 |
+
<p class="text-sm text-slate-400">Hide orders from chart</p>
|
| 432 |
+
</div>
|
| 433 |
+
</div>
|
| 434 |
+
</div>
|
| 435 |
+
</div>
|
| 436 |
+
</div>
|
| 437 |
+
</div>
|
| 438 |
+
|
| 439 |
+
<script>
|
| 440 |
+
// Initialize Feather Icons
|
| 441 |
+
feather.replace();
|
| 442 |
+
|
| 443 |
+
// Chart initialization
|
| 444 |
+
const ctx = document.getElementById('priceChart').getContext('2d');
|
| 445 |
+
const priceChart = new Chart(ctx, {
|
| 446 |
+
type: 'line',
|
| 447 |
+
data: {
|
| 448 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
|
| 449 |
+
datasets: [{
|
| 450 |
+
label: 'Price',
|
| 451 |
+
data: [65, 59, 80, 81, 56, 55, 70],
|
| 452 |
+
borderColor: '#0ea5e9',
|
| 453 |
+
backgroundColor: 'rgba(14, 165, 233, 0.1)',
|
| 454 |
+
borderWidth: 2,
|
| 455 |
+
pointRadius: 0,
|
| 456 |
+
fill: true,
|
| 457 |
+
tension: 0.4
|
| 458 |
+
}]
|
| 459 |
+
},
|
| 460 |
+
options: {
|
| 461 |
+
responsive: true,
|
| 462 |
+
maintainAspectRatio: false,
|
| 463 |
+
plugins: {
|
| 464 |
+
legend: {
|
| 465 |
+
display: false
|
| 466 |
+
}
|
| 467 |
+
},
|
| 468 |
+
scales: {
|
| 469 |
+
x: {
|
| 470 |
+
grid: {
|
| 471 |
+
display: false,
|
| 472 |
+
drawBorder: false
|
| 473 |
+
},
|
| 474 |
+
ticks: {
|
| 475 |
+
color: '#94a3b8'
|
| 476 |
+
}
|
| 477 |
+
},
|
| 478 |
+
y: {
|
| 479 |
+
grid: {
|
| 480 |
+
color: 'rgba(148, 163, 184, 0.1)',
|
| 481 |
+
drawBorder: false
|
| 482 |
+
},
|
| 483 |
+
ticks: {
|
| 484 |
+
color: '#94a3b8',
|
| 485 |
+
callback: function(value) {
|
| 486 |
+
return '$' + value;
|
| 487 |
+
}
|
| 488 |
+
}
|
| 489 |
+
}
|
| 490 |
+
}
|
| 491 |
+
}
|
| 492 |
+
});
|
| 493 |
+
|
| 494 |
+
// Simulate real-time updates
|
| 495 |
+
setInterval(() => {
|
| 496 |
+
// Update equity value
|
| 497 |
+
const equityElement = document.querySelector('.text-2xl.font-bold');
|
| 498 |
+
if (equityElement) {
|
| 499 |
+
const current = parseFloat(equityElement.textContent.replace('$', '').replace(',', ''));
|
| 500 |
+
const change = (Math.random() - 0.5) * 100;
|
| 501 |
+
const newEquity = current + change;
|
| 502 |
+
equityElement.textContent = '$' + newEquity.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
|
| 503 |
+
|
| 504 |
+
// Update color based on change
|
| 505 |
+
if (change >= 0) {
|
| 506 |
+
equityElement.classList.remove('text-red-400');
|
| 507 |
+
equityElement.classList.add('text-green-400');
|
| 508 |
+
} else {
|
| 509 |
+
equityElement.classList.remove('text-green-400');
|
| 510 |
+
equityElement.classList.add('text-red-400');
|
| 511 |
+
}
|
| 512 |
+
}
|
| 513 |
+
}, 5000);
|
| 514 |
+
</script>
|
| 515 |
+
</body>
|
| 516 |
</html>
|
|
@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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Trading View - MetaTrader Command Center</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 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://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
darkMode: 'class',
|
| 14 |
+
theme: {
|
| 15 |
+
extend: {
|
| 16 |
+
colors: {
|
| 17 |
+
primary: {
|
| 18 |
+
50: '#f0f9ff',
|
| 19 |
+
100: '#e0f2fe',
|
| 20 |
+
200: '#bae6fd',
|
| 21 |
+
300: '#7dd3fc',
|
| 22 |
+
400: '#38bdf8',
|
| 23 |
+
500: '#0ea5e9',
|
| 24 |
+
600: '#0284c7',
|
| 25 |
+
700: '#0369a1',
|
| 26 |
+
800: '#075985',
|
| 27 |
+
900: '#0c4a6e',
|
| 28 |
+
},
|
| 29 |
+
secondary: {
|
| 30 |
+
50: '#fdf2f8',
|
| 31 |
+
100: '#fce7f3',
|
| 32 |
+
200: '#fbcfe8',
|
| 33 |
+
300: '#f9a8d4',
|
| 34 |
+
400: '#f472b6',
|
| 35 |
+
500: '#ec4899',
|
| 36 |
+
600: '#db2777',
|
| 37 |
+
700: '#be185d',
|
| 38 |
+
800: '#9d174d',
|
| 39 |
+
900: '#831843',
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
</script>
|
| 46 |
+
<style>
|
| 47 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 48 |
+
body {
|
| 49 |
+
font-family: 'Inter', sans-serif;
|
| 50 |
+
background-color: #0f172a;
|
| 51 |
+
color: #e2e8f0;
|
| 52 |
+
}
|
| 53 |
+
.glass-effect {
|
| 54 |
+
background: rgba(30, 41, 59, 0.7);
|
| 55 |
+
backdrop-filter: blur(10px);
|
| 56 |
+
border: 1px solid rgba(148, 163, 184, 0.2);
|
| 57 |
+
}
|
| 58 |
+
.chart-placeholder {
|
| 59 |
+
background: linear-gradient(45deg, #1e293b, #334155);
|
| 60 |
+
border-radius: 0.5rem;
|
| 61 |
+
height: 500px;
|
| 62 |
+
display: flex;
|
| 63 |
+
align-items: center;
|
| 64 |
+
justify-content: center;
|
| 65 |
+
color: #94a3b8;
|
| 66 |
+
}
|
| 67 |
+
.order-form {
|
| 68 |
+
transition: all 0.3s ease;
|
| 69 |
+
}
|
| 70 |
+
.active-tab {
|
| 71 |
+
border-bottom: 2px solid #0ea5e9;
|
| 72 |
+
color: #0ea5e9;
|
| 73 |
+
}
|
| 74 |
+
</style>
|
| 75 |
+
</head>
|
| 76 |
+
<body class="bg-slate-900 text-slate-100 min-h-screen">
|
| 77 |
+
<!-- Main Container -->
|
| 78 |
+
<div class="flex flex-col md:flex-row min-h-screen">
|
| 79 |
+
<!-- Sidebar -->
|
| 80 |
+
<div class="w-full md:w-64 glass-effect p-4 flex flex-col">
|
| 81 |
+
<div class="mb-8">
|
| 82 |
+
<h1 class="text-2xl font-bold text-primary-400 flex items-center">
|
| 83 |
+
<i data-feather="activity" class="mr-2"></i>
|
| 84 |
+
MT5 Command
|
| 85 |
+
</h1>
|
| 86 |
+
<p class="text-xs text-slate-400 mt-1">Trading Control Panel</p>
|
| 87 |
+
</div>
|
| 88 |
+
|
| 89 |
+
<nav class="flex-1">
|
| 90 |
+
<ul class="space-y-2">
|
| 91 |
+
<li>
|
| 92 |
+
<a href="index.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 93 |
+
<i data-feather="home" class="mr-3"></i>
|
| 94 |
+
Dashboard
|
| 95 |
+
</a>
|
| 96 |
+
</li>
|
| 97 |
+
<li>
|
| 98 |
+
<a href="#" class="flex items-center p-3 rounded-lg bg-primary-600 text-white">
|
| 99 |
+
<i data-feather="bar-chart-2" class="mr-3"></i>
|
| 100 |
+
Trading View
|
| 101 |
+
</a>
|
| 102 |
+
</li>
|
| 103 |
+
<li>
|
| 104 |
+
<a href="experts.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 105 |
+
<i data-feather="settings" class="mr-3"></i>
|
| 106 |
+
Expert Advisors
|
| 107 |
+
</a>
|
| 108 |
+
</li>
|
| 109 |
+
<li>
|
| 110 |
+
<a href="calculator.html" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 111 |
+
<i data-feather="calculator" class="mr-3"></i>
|
| 112 |
+
Position Calculator
|
| 113 |
+
</a>
|
| 114 |
+
</li>
|
| 115 |
+
<li>
|
| 116 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 117 |
+
<i data-feather="layers" class="mr-3"></i>
|
| 118 |
+
Strategies
|
| 119 |
+
</a>
|
| 120 |
+
</li>
|
| 121 |
+
<li>
|
| 122 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 123 |
+
<i data-feather="shield" class="mr-3"></i>
|
| 124 |
+
Risk Management
|
| 125 |
+
</a>
|
| 126 |
+
</li>
|
| 127 |
+
<li>
|
| 128 |
+
<a href="#" class="flex items-center p-3 rounded-lg hover:bg-slate-800">
|
| 129 |
+
<i data-feather="file-text" class="mr-3"></i>
|
| 130 |
+
Reports
|
| 131 |
+
</a>
|
| 132 |
+
</li>
|
| 133 |
+
</ul>
|
| 134 |
+
</nav>
|
| 135 |
+
|
| 136 |
+
<div class="mt-auto pt-4 border-t border-slate-700">
|
| 137 |
+
<div class="flex items-center">
|
| 138 |
+
<div class="bg-slate-700 rounded-full p-2 mr-3">
|
| 139 |
+
<i data-feather="user" class="w-5 h-5"></i>
|
| 140 |
+
</div>
|
| 141 |
+
<div>
|
| 142 |
+
<p class="font-medium">Trader Pro</p>
|
| 143 |
+
<p class="text-xs text-slate-400">Active Session</p>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<!-- Main Content -->
|
| 150 |
+
<div class="flex-1 overflow-auto">
|
| 151 |
+
<!-- Header -->
|
| 152 |
+
<header class="glass-effect p-4 flex justify-between items-center">
|
| 153 |
+
<div>
|
| 154 |
+
<h2 class="text-xl font-bold">Trading View</h2>
|
| 155 |
+
<p class="text-sm text-slate-400">Advanced charting and order execution</p>
|
| 156 |
+
</div>
|
| 157 |
+
<div class="flex items-center space-x-4">
|
| 158 |
+
<div class="flex items-center bg-slate-800 rounded-lg">
|
| 159 |
+
<button class="px-4 py-2 rounded-l-lg active-tab">Chart</button>
|
| 160 |
+
<button class="px-4 py-2">Orders</button>
|
| 161 |
+
<button class="px-4 py-2 rounded-r-lg">Positions</button>
|
| 162 |
+
</div>
|
| 163 |
+
<div class="relative">
|
| 164 |
+
<input type="text" placeholder="Search symbols..." class="bg-slate-800 rounded-lg py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary-500">
|
| 165 |
+
<i data-feather="search" class="absolute left-3 top-2.5 w-4 h-4 text-slate-500"></i>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
</header>
|
| 169 |
+
|
| 170 |
+
<!-- Chart and Order Panel -->
|
| 171 |
+
<div class="p-4 grid grid-cols-1 lg:grid-cols-3 gap-4">
|
| 172 |
+
<!-- Chart Area -->
|
| 173 |
+
<div class="lg:col-span-2">
|
| 174 |
+
<div class="glass-effect rounded-xl p-4">
|
| 175 |
+
<div class="flex justify-between items-center mb-4">
|
| 176 |
+
<div>
|
| 177 |
+
<h3 class="font-bold">EURUSD H1</h3>
|
| 178 |
+
<p class="text-sm text-slate-400">1.0842 <span class="text-green-500">+0.24%</span></p>
|
| 179 |
+
</div>
|
| 180 |
+
<div class="flex space-x-2">
|
| 181 |
+
<button class="text-xs bg-slate-800 hover:bg-slate-700 px-3 py-1 rounded">1M</button>
|
| 182 |
+
<button class="text-xs bg-slate-800 hover:bg-slate-700 px-3 py-1 rounded">5M</button>
|
| 183 |
+
<button class="text-xs bg-slate-800 hover:bg-slate-700 px-3 py-1 rounded">15M</button>
|
| 184 |
+
<button class="text-xs bg-primary-600 px-3 py-1 rounded">1H</button>
|
| 185 |
+
<button class="text-xs bg-slate-800 hover:bg-slate-700 px-3 py-1 rounded">4H</button>
|
| 186 |
+
<button class="text-xs bg-slate-800 hover:bg-slate-700 px-3 py-1 rounded">D</button>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
<div class="chart-placeholder">
|
| 190 |
+
<div class="text-center">
|
| 191 |
+
<i data-feather="bar-chart-2" class="w-12 h-12 mx-auto mb-2"></i>
|
| 192 |
+
<p>Advanced Chart Visualization</p>
|
| 193 |
+
<p class="text-sm text-slate-500 mt-2">Interactive price chart with technical indicators</p>
|
| 194 |
+
</div>
|
| 195 |
+
</div>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
|
| 199 |
+
<!-- Order Panel -->
|
| 200 |
+
<div class="order-form glass-effect rounded-xl p-4">
|
| 201 |
+
<h3 class="font-bold mb-4">Order Execution</h3>
|
| 202 |
+
|
| 203 |
+
<!-- Market Order -->
|
| 204 |
+
<div class="mb-6">
|
| 205 |
+
<div class="flex border-b border-slate-700 mb-4">
|
| 206 |
+
<button class="pb-2 mr-4 active-tab">Market</button>
|
| 207 |
+
<button class="pb-2 mr-4">Pending</button>
|
| 208 |
+
</div>
|
| 209 |
+
|
| 210 |
+
<div class="space-y-4">
|
| 211 |
+
<div>
|
| 212 |
+
<label class="text-sm text-slate-400">Symbol</label>
|
| 213 |
+
<select class="w-full bg-slate-800 rounded-lg p-2 mt-1">
|
| 214 |
+
<option>EURUSD</option>
|
| 215 |
+
<option>GBPUSD</option>
|
| 216 |
+
<option>USDJPY</option>
|
| 217 |
+
<option>AUDUSD</option>
|
| 218 |
+
<option>NZDUSD</option>
|
| 219 |
+
</select>
|
| 220 |
+
</div>
|
| 221 |
+
|
| 222 |
+
<div>
|
| 223 |
+
<label class="text-sm text-slate-400">Volume</label>
|
| 224 |
+
<input type="number" value="0.1" step="0.01" class="w-full bg-slate-800 rounded-lg p-2 mt-1">
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<div class="grid grid-cols-2 gap-3">
|
| 228 |
+
<div>
|
| 229 |
+
<label class="text-sm text-slate-400">SL (Pips)</label>
|
| 230 |
+
<input type="number" placeholder="50" class="w-full bg-slate-800 rounded-lg p-2 mt-1">
|
| 231 |
+
</div>
|
| 232 |
+
<div>
|
| 233 |
+
<label class="text-sm text-slate-400">TP (Pips)</label>
|
| 234 |
+
<input type="number" placeholder="100" class="w-full bg-slate-800 rounded-lg p-2 mt-1">
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
|
| 238 |
+
<div class="flex space-x-3 pt-2">
|
| 239 |
+
<button class="flex-1 bg-green-600 hover:bg-green-700 py-3 rounded-lg font-medium">
|
| 240 |
+
BUY
|
| 241 |
+
</button>
|
| 242 |
+
<button class="flex-1 bg-red-600 hover:bg-red-700 py-3 rounded-lg font-medium">
|
| 243 |
+
SELL
|
| 244 |
+
</button>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
|
| 249 |
+
<!-- Protection Tools -->
|
| 250 |
+
<div>
|
| 251 |
+
<h4 class="font-medium mb-3">Protection Tools</h4>
|
| 252 |
+
<div class="grid grid-cols-2 gap-3">
|
| 253 |
+
<button class="bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 254 |
+
Breakeven
|
| 255 |
+
</button>
|
| 256 |
+
<button class="bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 257 |
+
Trailing Stop
|
| 258 |
+
</button>
|
| 259 |
+
<button class="bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 260 |
+
Partial Close
|
| 261 |
+
</button>
|
| 262 |
+
<button class="bg-slate-800 hover:bg-slate-700 py-2 rounded-lg text-sm">
|
| 263 |
+
OCO Orders
|
| 264 |
+
</button>
|
| 265 |
+
</div>
|
| 266 |
+
</div>
|
| 267 |
+
</div>
|
| 268 |
+
</div>
|
| 269 |
+
|
| 270 |
+
<!-- Market Depth and Order Book -->
|
| 271 |
+
<div class="p-4 grid grid-cols-1 lg:grid-cols-2 gap-4">
|
| 272 |
+
<!-- Market Depth -->
|
| 273 |
+
<div class="glass-effect rounded-xl p-4">
|
| 274 |
+
<h3 class="font-bold mb-4">Market Depth</h3>
|
| 275 |
+
<div class="overflow-x-auto">
|
| 276 |
+
<table class="w-full text-sm">
|
| 277 |
+
<thead>
|
| 278 |
+
<tr class="text-left text-slate-400">
|
| 279 |
+
<th class="pb-2">Price</th>
|
| 280 |
+
<th class="pb-2">Volume</th>
|
| 281 |
+
<th class="pb-2">Cumulative</th>
|
| 282 |
+
</tr>
|
| 283 |
+
</thead>
|
| 284 |
+
<tbody>
|
| 285 |
+
<tr>
|
| 286 |
+
<td class="py-1 text-red-500">1.0845</td>
|
| 287 |
+
<td class="py-1">125.5K</td>
|
| 288 |
+
<td class="py-1">1.2M</td>
|
| 289 |
+
</tr>
|
| 290 |
+
<tr>
|
| 291 |
+
<td class="py-1 text-red-500">1.0844</td>
|
| 292 |
+
<td class="py-1">87.3K</td>
|
| 293 |
+
<td class="py-1">1.07M</td>
|
| 294 |
+
</tr>
|
| 295 |
+
<tr>
|
| 296 |
+
<td class="py-1 text-red-500">1.0843</td>
|
| 297 |
+
<td class="py-1">156.7K</td>
|
| 298 |
+
<td class="py-1">985K</td>
|
| 299 |
+
</tr>
|
| 300 |
+
<tr class="bg-slate-800">
|
| 301 |
+
<td class="py-2 font-medium">1.0842</td>
|
| 302 |
+
<td class="py-2">-</td>
|
| 303 |
+
<td class="py-2">-</td>
|
| 304 |
+
</tr>
|
| 305 |
+
<tr>
|
| 306 |
+
<td class="py-1 text-green-500">1.0841</td>
|
| 307 |
+
<td class="py-1">98.4K</td>
|
| 308 |
+
<td class="py-1">1.1M</td>
|
| 309 |
+
</tr>
|
| 310 |
+
<tr>
|
| 311 |
+
<td class="py-1 text-green-500">1.0840</td>
|
| 312 |
+
<td class="py-1">142.6K</td>
|
| 313 |
+
<td class="py-1">968K</td>
|
| 314 |
+
</tr>
|
| 315 |
+
<tr>
|
| 316 |
+
<td class="py-1 text-green-500">1.0839</td>
|
| 317 |
+
<td class="py-1">76.2K</td>
|
| 318 |
+
<td class="py-1">825K</td>
|
| 319 |
+
</tr>
|
| 320 |
+
</tbody>
|
| 321 |
+
</table>
|
| 322 |
+
</div>
|
| 323 |
+
</div>
|
| 324 |
+
|
| 325 |
+
<!-- Recent Orders -->
|
| 326 |
+
<div class="glass-effect rounded-xl p-4">
|
| 327 |
+
<div class="flex justify-between items-center mb-4">
|
| 328 |
+
<h3 class="font-bold">Recent Orders</h3>
|
| 329 |
+
<button class="text-sm text-primary-400">History</button>
|
| 330 |
+
</div>
|
| 331 |
+
<div class="overflow-x-auto">
|
| 332 |
+
<table class="w-full text-sm">
|
| 333 |
+
<thead>
|
| 334 |
+
<tr class="text-left text-slate-400">
|
| 335 |
+
<th class="pb-2">Symbol</th>
|
| 336 |
+
<th class="pb-2">Type</th>
|
| 337 |
+
<th class="pb-2">Volume</th>
|
| 338 |
+
<th class="pb-2">Price</th>
|
| 339 |
+
<th class="pb-2">Time</th>
|
| 340 |
+
</tr>
|
| 341 |
+
</thead>
|
| 342 |
+
<tbody>
|
| 343 |
+
<tr class="border-b border-slate-800">
|
| 344 |
+
<td class="py-2">EURUSD</td>
|
| 345 |
+
<td class="py-2"><span class="text-green-500">BUY</span></td>
|
| 346 |
+
<td class="py-2">0.25</td>
|
| 347 |
+
<td class="py-2">1.0842</td>
|
| 348 |
+
<td class="py-2">10:24:15</td>
|
| 349 |
+
</tr>
|
| 350 |
+
<tr class="border-b border-slate-800">
|
| 351 |
+
<td class="py-2">GBPUSD</td>
|
| 352 |
+
<td class="py-2"><span class="text-red-500">SELL</span></td>
|
| 353 |
+
<td class="py-2">0.15</td>
|
| 354 |
+
<td class="py-2">1.2678</td>
|
| 355 |
+
<td class="py-2">09:56:32</td>
|
| 356 |
+
</tr>
|
| 357 |
+
<tr class="border-b border-slate-800">
|
| 358 |
+
<td class="py-2">USDJPY</td>
|
| 359 |
+
<td class="py-2"><span class="text-green-500">BUY</span></td>
|
| 360 |
+
<td class="py-2">0.30</td>
|
| 361 |
+
<td class="py-2">154.25</td>
|
| 362 |
+
<td class="py-2">09:32:47</td>
|
| 363 |
+
</tr>
|
| 364 |
+
<tr>
|
| 365 |
+
<td class="py-2">AUDUSD</td>
|
| 366 |
+
<td class="py-2"><span class="text-red-500">SELL</span></td>
|
| 367 |
+
<td class="py-2">0.20</td>
|
| 368 |
+
<td class="py-2">0.6543</td>
|
| 369 |
+
<td class="py-2">09:15:22</td>
|
| 370 |
+
</tr>
|
| 371 |
+
</tbody>
|
| 372 |
+
</table>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
</div>
|
| 376 |
+
</div>
|
| 377 |
+
</div>
|
| 378 |
+
|
| 379 |
+
<script>
|
| 380 |
+
// Initialize Feather Icons
|
| 381 |
+
feather.replace();
|
| 382 |
+
</script>
|
| 383 |
+
</body>
|
| 384 |
+
</html>
|