sin-ais / index.html
ryryrtryk's picture
undefined - Follow Up Deployment
212c451 verified
Raw History Blame Contribute Delete
36.9 kB
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sistema de Sinais Day Trade</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
neon: {
blue: '#00f0ff',
purple: '#8a2be2',
pink: '#ff00ff',
green: '#00ff9d',
red: '#ff3366'
}
},
boxShadow: {
neon: '0 0 5px theme("colors.neon.blue"), 0 0 20px rgba(0, 240, 255, 0.3)',
'neon-green': '0 0 5px theme("colors.neon.green"), 0 0 20px rgba(0, 255, 157, 0.3)',
'neon-red': '0 0 5px theme("colors.neon.red"), 0 0 20px rgba(255, 51, 102, 0.3)',
'neon-purple': '0 0 5px theme("colors.neon.purple"), 0 0 20px rgba(138, 43, 226, 0.3)'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&display=swap');
:root {
--neon-blue: #00f0ff;
--neon-purple: #8a2be2;
--neon-pink: #ff00ff;
--neon-green: #00ff9d;
--neon-red: #ff3366;
}
body {
font-family: 'Rajdhani', sans-serif;
background: #0f1123;
background-image:
radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 20%),
radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 20%),
linear-gradient(135deg, #0f1123 0%, #1a1b3a 100%);
background-attachment: fixed;
}
h1, h2, h3, .futuristic-text {
font-family: 'Orbitron', sans-serif;
}
.bg-glass {
background: rgba(23, 25, 50, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.bg-glass-card {
background: rgba(23, 25, 50, 0.8);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}
.neon-border {
position: relative;
}
.neon-border::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: inherit;
padding: 2px;
background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
.neon-border-green::before {
background: linear-gradient(135deg, var(--neon-green), #00b377);
}
.neon-border-red::before {
background: linear-gradient(135deg, var(--neon-red), #b3002d);
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
animation: fadeIn 0.3s ease-out forwards;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
.animate-pulse {
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
@keyframes glow {
0%, 100% { text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue); }
50% { text-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue); }
}
.animate-glow {
animation: glow 2s ease-in-out infinite;
}
.signal-card {
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
transform: perspective(1000px) rotateX(0deg);
}
.signal-card:hover {
transform: perspective(1000px) rotateX(5deg) translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.holographic-bg {
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
position: relative;
overflow: hidden;
}
.holographic-bg::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
45deg,
rgba(255,255,255,0) 0%,
rgba(255,255,255,0.05) 25%,
rgba(255,255,255,0.1) 50%,
rgba(255,255,255,0.05) 75%,
rgba(255,255,255,0) 100%
);
transform: rotate(30deg);
animation: holographic 6s linear infinite;
}
@keyframes holographic {
0% { transform: rotate(30deg) translateX(-30%); }
100% { transform: rotate(30deg) translateX(30%); }
}
.hexagon {
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.cyber-button {
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}
.cyber-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.2),
transparent
);
transition: all 0.6s ease;
}
.cyber-button:hover::before {
left: 100%;
}
.data-line {
position: relative;
padding-left: 20px;
}
.data-line::before {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 12px;
height: 2px;
background-color: var(--neon-blue);
transform: translateY(-50%);
}
.data-chip {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
font-size: 0.875rem;
font-weight: 600;
margin-right: 8px;
background: rgba(0, 240, 255, 0.1);
border: 1px solid var(--neon-blue);
}
.data-chip-green {
background: rgba(0, 255, 157, 0.1);
border: 1px solid var(--neon-green);
}
.data-chip-red {
background: rgba(255, 51, 102, 0.1);
border: 1px solid var(--neon-red);
}
</style>
</head>
<body class="min-h-screen text-gray-100">
<div class="min-h-screen p-4 md:p-8">
<div class="max-w-4xl mx-auto">
<!-- Header -->
<div class="mb-8 flex flex-col md:flex-row md:items-center justify-between bg-glass rounded-xl p-6 neon-border">
<div class="animate-float">
<h1 class="text-2xl md:text-3xl font-bold text-white animate-glow">SISTEMA <span class="text-neon-blue"> GPT IA TRADING</span></h1>
<p class="text-gray-300">Análise preditiva de alta precisão</p>
</div>
<div class="mt-4 md:mt-0">
<button onclick="signalSystem.toggleSettings()" class="cyber-button px-5 py-2 bg-gradient-to-r from-neon-blue to-neon-purple text-white rounded-md hover:shadow-neon transition-all duration-300 flex items-center text-sm">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-2" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="3"></circle>
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>
</svg>
CONFIGURAR
</button>
</div>
</div>
<!-- Status Indicator -->
<div id="status-indicator" class="flex items-center p-4 rounded-lg bg-glass mb-6 neon-border">
<div class="mr-3 hexagon bg-neon-blue p-2 flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-black" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M22 2L2 22"></path>
<path d="M17 2H22V7"></path>
<path d="M2 17V22H7"></path>
</svg>
</div>
<div class="flex-1 font-medium">Desconectado do servidor de análise</div>
<button onclick="signalSystem.connect()" class="cyber-button ml-2 px-4 py-2 bg-gradient-to-r from-neon-blue to-neon-purple text-white rounded-md hover:shadow-neon transition-all duration-300 flex items-center text-sm">
<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3 mr-1" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21.5 2v6h-6M2.5 22v-6h6M2 11.5a10 10 0 0 1 18.8-4.3M22 12.5a10 10 0 0 1-18.8 4.3"/>
</svg>
CONECTAR
</button>
</div>
<!-- Filter Controls -->
<div class="mb-6 p-5 bg-glass rounded-lg neon-border">
<div class="flex flex-wrap items-center gap-3">
<div class="font-medium text-neon-blue">FILTRAR:</div>
<button onclick="signalSystem.filterSignals('all')" class="filter-btn px-4 py-1 rounded-full bg-gradient-to-r from-neon-blue/20 to-neon-purple/20 text-white border border-neon-blue hover:shadow-neon transition-all duration-300 text-sm active">TODOS</button>
<button onclick="signalSystem.filterSignals('COMPRA')" class="filter-btn px-4 py-1 rounded-full bg-gradient-to-r from-neon-green/10 to-neon-green/20 text-white border border-neon-green/50 hover:shadow-neon-green transition-all duration-300 text-sm">COMPRA</button>
<button onclick="signalSystem.filterSignals('VENDA')" class="filter-btn px-4 py-1 rounded-full bg-gradient-to-r from-neon-red/10 to-neon-red/20 text-white border border-neon-red/50 hover:shadow-neon-red transition-all duration-300 text-sm">VENDA</button>
<div class="ml-auto">
<select id="asset-filter" onchange="signalSystem.filterByAsset(this.value)" class="text-sm bg-glass border border-neon-blue/50 rounded-md px-3 py-1 focus:outline-none focus:ring-2 focus:ring-neon-blue focus:border-neon-blue text-white">
<option value="all">TODOS OS ATIVOS</option>
<option value="EUR/USD">EUR/USD</option>
<option value="GBP/USD">GBP/USD</option>
<option value="USD/JPY">USD/JPY</option>
<option value="AUD/USD">AUD/USD</option>
</select>
</div>
</div>
</div>
<!-- Settings Modal -->
<div id="settings-modal" class="hidden fixed inset-0 bg-black/70 backdrop-blur-sm z-50 flex items-center justify-center p-4">
<div class="bg-glass-card rounded-xl max-w-md w-full p-6 animate-fadeIn neon-border">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold text-neon-blue">CONFIGURAÇÕES</h3>
<button onclick="signalSystem.toggleSettings()" class="text-gray-400 hover:text-white">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
<div class="space-y-5">
<div>
<label class="block text-sm font-medium text-neon-blue mb-1">URL DA CORRETORA</label>
<input id="broker-url" type="text" class="w-full px-3 py-2 bg-glass border border-neon-blue/50 rounded-md focus:outline-none focus:ring-2 focus:ring-neon-blue focus:border-neon-blue text-white" placeholder="https://avantbroker.com">
</div>
<div>
<label class="block text-sm font-medium text-neon-blue mb-1">URL DE SUPORTE</label>
<input id="support-url" type="text" class="w-full px-3 py-2 bg-glass border border-neon-blue/50 rounded-md focus:outline-none focus:ring-2 focus:ring-neon-blue focus:border-neon-blue text-white" placeholder="https://wa.me/21986907907">
</div>
<div>
<label class="block text-sm font-medium text-neon-blue mb-1">NOTIFICAÇÕES</label>
<div class="flex items-center">
<input id="notifications-enabled" type="checkbox" class="h-4 w-4 text-neon-blue focus:ring-neon-blue border-neon-blue/50 rounded bg-transparent">
<label for="notifications-enabled" class="ml-2 block text-sm text-gray-300">Ativar notificações sonoras</label>
</div>
</div>
</div>
<div class="mt-6 flex justify-end">
<button onclick="signalSystem.saveSettings()" class="cyber-button px-5 py-2 bg-gradient-to-r from-neon-blue to-neon-purple text-white rounded-md hover:shadow-neon transition-all duration-300">SALVAR</button>
</div>
</div>
</div>
<!-- Signals Container -->
<div id="signals-container" class="space-y-6"></div>
<!-- No Signals Message -->
<div id="no-signals" class="hidden text-center py-16 bg-glass rounded-xl neon-border mt-6">
<div class="hexagon w-16 h-16 mx-auto bg-gradient-to-r from-neon-blue/20 to-neon-purple/20 flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8 text-neon-blue" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</div>
<p class="mt-4 text-gray-400 font-medium">Nenhum sinal disponível no momento</p>
<p class="text-neon-blue text-sm">Aguardando próxima análise do algoritmo</p>
</div>
</div>
</div>
<script>
class SignalSystem {
constructor() {
this.signalsContainer = document.getElementById('signals-container');
this.statusIndicator = document.getElementById('status-indicator');
this.noSignalsElement = document.getElementById('no-signals');
this.settings = this.loadSettings();
this.signals = [];
this.currentFilter = 'all';
this.currentAssetFilter = 'all';
this.connect();
}
loadSettings() {
const defaultSettings = {
brokerUrl: 'https://avantbroker.com',
supportUrl: 'https://wa.me/21986907907',
notificationsEnabled: true
};
try {
const savedSettings = localStorage.getItem('signalSettings');
return savedSettings ? JSON.parse(savedSettings) : defaultSettings;
} catch {
return defaultSettings;
}
}
saveSettings() {
const brokerUrl = document.getElementById('broker-url').value;
const supportUrl = document.getElementById('support-url').value;
const notificationsEnabled = document.getElementById('notifications-enabled').checked;
this.settings = {
brokerUrl: brokerUrl || 'https://avantbroker.com',
supportUrl: supportUrl || 'https://wa.me/21986907907',
notificationsEnabled
};
localStorage.setItem('signalSettings', JSON.stringify(this.settings));
this.toggleSettings();
// Show confirmation
this.showNotification('Configurações salvas com sucesso!', 'success');
}
toggleSettings() {
const modal = document.getElementById('settings-modal');
if (modal.classList.contains('hidden')) {
// Populate fields with current settings
document.getElementById('broker-url').value = this.settings.brokerUrl;
document.getElementById('support-url').value = this.settings.supportUrl;
document.getElementById('notifications-enabled').checked = this.settings.notificationsEnabled;
modal.classList.remove('hidden');
} else {
modal.classList.add('hidden');
}
}
connect() {
// Simulate WebSocket for demo
this.updateStatus('connecting');
setTimeout(() => {
this.updateStatus('connected');
this.startGeneratingSignals();
}, 1500);
}
updateStatus(status, message = '') {
const statusColors = {
connecting: 'bg-neon-purple',
connected: 'bg-neon-green',
disconnected: 'bg-neon-blue',
error: 'bg-neon-red'
};
const statusMessages = {
connecting: 'Conectando ao servidor de análise...',
connected: 'Conectado ao servidor de análise',
disconnected: 'Desconectado. Clique para reconectar.',
error: message || 'Erro na conexão'
};
const statusIcons = {
connecting: '<path d="M21.5 2v6h-6M2.5 22v-6h6M2 11.5a10 10 0 0 1 18.8-4.3M22 12.5a10 10 0 0 1-18.8 4.3"/>',
connected: '<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline>',
disconnected: '<path d="M22 2L2 22"></path><path d="M17 2H22V7"></path><path d="M2 17V22H7"></path>',
error: '<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>'
};
this.statusIndicator.className = `flex items-center p-4 rounded-lg bg-glass mb-6 neon-border animate-fadeIn`;
this.statusIndicator.innerHTML = `
<div class="mr-3 hexagon ${statusColors[status]} p-2 flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-black" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
${statusIcons[status]}
</svg>
</div>
<div class="flex-1 font-medium">${statusMessages[status]}</div>
${status !== 'connected' ? `
<button onclick="signalSystem.connect()" class="cyber-button ml-2 px-4 py-2 bg-gradient-to-r from-neon-blue to-neon-purple text-white rounded-md hover:shadow-neon transition-all duration-300 flex items-center text-sm">
<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3 mr-1" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21.5 2v6h-6M2.5 22v-6h6M2 11.5a10 10 0 0 1 18.8-4.3M22 12.5a10 10 0 0 1-18.8 4.3"/>
</svg>
CONECTAR
</button>
` : ''}
`;
}
startGeneratingSignals() {
// Generate initial signals
this.generateRandomSignal();
this.generateRandomSignal();
// Continue generating signals periodically
setInterval(() => {
if (Math.random() > 0.7) {
this.generateRandomSignal();
}
}, 15000);
}
generateRandomSignal() {
const symbols = ['EUR/USD', 'GBP/USD', 'USD/JPY', 'AUD/USD', 'USD/CAD', 'NZD/USD'];
const directions = ['COMPRA', 'VENDA'];
const expirations = ['M1', 'M5'];
const symbol = symbols[Math.floor(Math.random() * symbols.length)];
const direction = directions[Math.floor(Math.random() * directions.length)];
const expiration = expirations[Math.floor(Math.random() * expirations.length)];
const now = new Date();
const entryTime = now.toLocaleTimeString('pt-BR', {hour: '2-digit', minute:'2-digit', second:'2-digit'});
// Calculate protection times
const protection1 = new Date(now.getTime() + 15 * 60000);
const protection2 = new Date(now.getTime() + 30 * 60000);
const protection1Time = protection1.toLocaleTimeString('pt-BR', {hour: '2-digit', minute:'2-digit'});
const protection2Time = protection2.toLocaleTimeString('pt-BR', {hour: '2-digit', minute:'2-digit'});
const signal = {
id: Date.now(),
symbol,
direction,
expiration,
timestamp: now,
entryTime,
protection1Time,
protection2Time
};
this.signals.unshift(signal);
this.renderSignals();
// Play notification sound if enabled
if (this.settings.notificationsEnabled) {
this.showNotification(`Novo sinal: ${direction} em ${symbol} (${expiration})`, 'info');
}
}
showNotification(message, type = 'info') {
const notificationId = 'notification-' + Date.now();
const notificationColors = {
info: 'from-neon-blue to-neon-purple',
success: 'from-neon-green to-emerald-500',
warning: 'from-amber-500 to-orange-500',
error: 'from-neon-red to-rose-600'
};
const notification = document.createElement('div');
notification.id = notificationId;
notification.className = `fixed top-4 right-4 bg-gradient-to-r ${notificationColors[type]} text-white px-5 py-3 rounded-lg shadow-lg z-50 animate-fadeIn`;
notification.innerHTML = message;
document.body.appendChild(notification);
setTimeout(() => {
notification.style.opacity = '0';
notification.style.transform = 'translateY(-10px)';
notification.style.transition = 'opacity 0.3s, transform 0.3s';
setTimeout(() => {
document.body.removeChild(notification);
}, 300);
}, 3000);
}
renderSignals() {
// Filter signals
let filteredSignals = this.signals;
if (this.currentFilter !== 'all') {
filteredSignals = filteredSignals.filter(signal => signal.direction === this.currentFilter);
}
if (this.currentAssetFilter !== 'all') {
filteredSignals = filteredSignals.filter(signal => signal.symbol === this.currentAssetFilter);
}
// Show/hide no signals message
if (filteredSignals.length === 0) {
this.noSignalsElement.classList.remove('hidden');
} else {
this.noSignalsElement.classList.add('hidden');
}
// Render signals
this.signalsContainer.innerHTML = '';
filteredSignals.forEach(signal => {
const signalElement = this.createSignalElement(signal);
this.signalsContainer.appendChild(signalElement);
});
}
createSignalElement(signal) {
const div = document.createElement('div');
const isCompra = signal.direction === 'COMPRA';
div.className = `bg-glass-card rounded-xl p-6 neon-border ${
isCompra ? 'neon-border-green' : 'neon-border-red'
} animate-fadeIn signal-card holographic-bg`;
div.innerHTML = `
<div class="flex items-center justify-between mb-5">
<h3 class="text-xl font-bold ${isCompra ? 'text-neon-green' : 'text-neon-red'} futuristic-text">
✅ RESULTADO ANÁLISE ✅
</h3>
<div class="flex items-center">
<div class="w-2 h-2 rounded-full ${isCompra ? 'bg-neon-green' : 'bg-neon-red'} animate-pulse mr-2"></div>
<span class="text-sm text-gray-400">
${new Date(signal.timestamp).toLocaleDateString('pt-BR')} ${new Date(signal.timestamp).toLocaleTimeString('pt-BR', {hour: '2-digit', minute:'2-digit'})}
</span>
</div>
</div>
<div class="space-y-4">
<div class="data-line flex items-center">
<span class="data-chip">📈</span>
<strong class="text-neon-blue mr-2">ATIVO DO MERCADO:</strong>
<span class="text-white">${signal.symbol}</span>
</div>
<div class="data-line flex items-center">
<span class="data-chip">⏰</span>
<strong class="text-neon-blue mr-2">MODO DO TEMPO:</strong>
<span class="text-white">${signal.expiration}</span>
</div>
<div class="data-line flex items-center">
<span class="data-chip">👍</span>
<strong class="text-neon-blue mr-2">HORA DA ENTRAR:</strong>
<span class="text-white">${signal.entryTime}</span>
</div>
<div class="data-line flex items-center">
<span class="${isCompra ? 'data-chip data-chip-green' : 'data-chip data-chip-red'}">📊</span>
<strong class="text-neon-blue mr-2">ORDEM DA DIREÇÃO:</strong>
${isCompra
? '<span class="text-neon-green font-bold">COMPRA 🟢</span>'
: '<span class="text-neon-red font-bold">🔴 VENDA</span>'
}
</div>
<div class="mt-4 pt-4 border-t border-gray-700">
<div class="data-line flex items-center mb-3">
<span class="data-chip">🛡️</span>
<strong class="text-neon-purple mr-2">PROTEÇÃO 1:</strong>
<span class="text-white">${signal.protection1Time}</span>
</div>
<div class="data-line flex items-center">
<span class="data-chip">🛡️</span>
<strong class="text-neon-purple mr-2">PROTEÇÃO 2:</strong>
<span class="text-white">${signal.protection2Time}</span>
</div>
</div>
</div>
<div class="mt-6 flex justify-between items-center">
<button onclick="signalSystem.openBroker('${signal.symbol}')" class="cyber-button px-5 py-2 bg-gradient-to-r ${
isCompra ? 'from-neon-green to-emerald-600' : 'from-neon-red to-rose-600'
} text-white rounded-md hover:shadow-${isCompra ? 'neon-green' : 'neon-red'} transition-all duration-300 text-sm flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-2" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
OPERAR AGORA
</button>
<button onclick="signalSystem.openSupport()" class="cyber-button px-4 py-2 bg-glass border border-neon-blue/50 text-neon-blue hover:text-white hover:bg-neon-blue/20 transition-all duration-300 rounded-md text-sm flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd" />
</svg>
SUPORTE
</button>
</div>
`;
return div;
}
openBroker(asset) {
window.open(`${this.settings.brokerUrl}?asset=${asset}`, '_blank');
}
openSupport() {
window.open(this.settings.supportUrl, '_blank');
}
filterSignals(type) {
this.currentFilter = type;
// Update active button
const buttons = document.querySelectorAll('.filter-btn');
buttons.forEach(btn => {
if (btn.textContent === 'TODOS') {
btn.classList.remove('bg-gradient-to-r', 'from-neon-blue/20', 'to-neon-purple/20', 'border-neon-blue', 'active');
btn.classList.add('bg-glass', 'border-gray-500/50');
} else if (btn.textContent === 'COMPRA') {
btn.classList.remove('bg-gradient-to-r', 'from-neon-green/10', 'to-neon-green/20', 'border-neon-green/50', 'active');
btn.classList.add('bg-glass', 'border-gray-500/50');
} else if (btn.textContent === 'VENDA') {
btn.classList.remove('bg-gradient-to-r', 'from-neon-red/10', 'to-neon-red/20', 'border-neon-red/50', 'active');
btn.classList.add('bg-glass', 'border-gray-500/50');
}
});
// Set active button
buttons.forEach(btn => {
if (btn.textContent === 'TODOS' && type === 'all') {
btn.classList.remove('bg-glass', 'border-gray-500/50');
btn.classList.add('bg-gradient-to-r', 'from-neon-blue/20', 'to-neon-purple/20', 'border-neon-blue', 'active');
} else if (btn.textContent === 'COMPRA' && type === 'COMPRA') {
btn.classList.remove('bg-glass', 'border-gray-500/50');
btn.classList.add('bg-gradient-to-r', 'from-neon-green/10', 'to-neon-green/20', 'border-neon-green/50', 'active');
} else if (btn.textContent === 'VENDA' && type === 'VENDA') {
btn.classList.remove('bg-glass', 'border-gray-500/50');
btn.classList.add('bg-gradient-to-r', 'from-neon-red/10', 'to-neon-red/20', 'border-neon-red/50', 'active');
}
});
this.renderSignals();
}
filterByAsset(asset) {
this.currentAssetFilter = asset;
this.renderSignals();
}
}
// Initialize the signal system
const signalSystem = new SignalSystem();
</script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'947fd7ffa28064f9',t:'MTc0ODYyNTAxMy4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ryryrtryk/sin-ais" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>