Florin Tudor / Perfil
- Información
|
no
experiencia
|
5
productos
|
38
versiones demo
|
|
0
trabajos
|
1
señales
|
0
suscriptores
|
Queen of Gold Ai Ucb Agents es un asesor experto MQL5 adaptativo que combina lógica de entrada basada en reglas con una capa contextual de bandido UCB Su objetivo no es solo detectar oportunidades de trading sino aprender qué acción es más efectiva en un contexto de mercado específico y guardar ese conocimiento entre sesiones Cómo funciona El sistema comienza con un motor de señales determinista Su base se construye sobre el comportamiento de velas consecutivas interpretado de forma contraria
El Agente King of Gold AI UCB es un avanzado algoritmo de aprendizaje automático diseñado para optimizar decisiones de trading mediante aprendizaje adaptativo y selección probabilística. Funciones principales: Bandido de decisión UCB con filtrado contextual y optimización de señales Arquitectura de triple bandido (capas de Decisión, Ejecución y Perfil) Tamaño de lote dinámico con gestión de riesgo adaptativa Almacenamiento persistente de contexto e inicialización del historial de operaciones
Agente AI Multi-Arm Bandit – Motor de Aprendizaje Adaptativo y Toma de Decisiones Un sistema de trading avanzado impulsado por un algoritmo de multi-arm bandit que aprende y se adapta continuamente a las condiciones del mercado. El agente optimiza la ejecución de operaciones, el tamaño de las posiciones y la toma de decisiones en tiempo real basándose en la retroalimentación de desempeño. Lógica de Decisión: Utiliza la fórmula UCB: explotar + explorar, donde exploración = C * sqrt(log(totalPulls
UCB_STATE_V4 = a snapshot of your bandit algorithm’s state:
Which combinations it has tried
How many times it tried them
The profit/reward for each
Its internal scoring
Basically, it’s the memory of your AI.
🧠 Structure
1️⃣ Header
UCB_STATE_V4
1
→ Version + config info.
2️⃣ Default/Fallback Strategy
-1|2|0|0|0|0|2|0|0|AGGRESSIVE|GREEDY
-1 probably = SELL
AGGRESSIVE + GREEDY = style
Trades = 0, Profit = 0 → never used
3️⃣ Important strategies that were actually used
1|1|1|1|1|0|2|0|0|NORMAL|MODERATE|EXEC
96 trades
Profit: 37.42
Score: 0.40
🔥 This is your main winning strategy
Chosen 96 times
Positive profit and positive score → bandit prefers this
-1|1|1|1|1|0|2|0|0|NORMAL|MODERATE|EXEC
22 trades
Profit: 13.32
Score: negative
Positive profit but negative score → probably high drawdown or risk
4️⃣ Other strategies
0 trades
0 profit
Not explored yet or never chosen
5️⃣ Symbol statistics
EURUSD
118 trades
Win rate ~55%
The bandit is learning, not random
6️⃣ Decision history
timestamp | chosen strategy | reward
Shows when a strategy was chosen and the outcome
❗ Key Problem (why it’s not working in Tester)
Strategy Tester in MT5 runs in a sandbox
DLL cannot write anywhere freely
It only writes to:
MQL5\Files\
Tester\Agent-xxx\MQL5\Files\
✅ Live accounts don’t have this restriction → that’s why it works there.
🔥 Recommended Testing Environments
Demo account – works like live, writes files normally
Forward testing on chart – watch bandit evolution
VPS – run continuously, bandit keeps learning
Conclusion:
Your bandit is working (96 trades + scores)
The algorithm is fine
The limitation is MT5 Strategy Tester, not the AI itself
UCB_STATE_V4
1
-1|2|0|0|0|0|2|0|0|AGGRESSIVE|GREEDY 0 1774229303 0 0.00000000 0.00000000 0 0.00000000 0.00000000 0 0.00000000 0.00000000 0 0.00000000 0.00000000
3
1|1|1|1|1|0|2|0|0|NORMAL|MODERATE|EXEC 96 1774229084 96 37.42000000 0.40015989 0 0.00000000 0.00000000
-1|1|1|1|1|0|2|0|0|NORMAL|MODERATE|EXEC 22 1774229084 22 13.32000000 -0.16765199 0 0.00000000 0.00000000
-1|2|0|0|0|0|2|0|0|AGGRESSIVE|GREEDY|EXEC 0 1774229303 0 0.00000000 0.00000000 0 0.00000000 0.00000000
6
0|1|0|0|2|0|0|AGGRESSIVE|GREEDY 0 1774229304 0 0.00000000 0.00000000 0 0.00000000 0.00000000
0|2|0|0|2|0|0|AGGRESSIVE|GREEDY 0 1774229363 0 0.00000000 0.00000000 0 0.00000000 0.00000000
0|2|0|0|2|0|0|AGGRESSIVE|CONSERVATIVE 0 1774229408 0 0.00000000 0.00000000 0 0.00000000 0.00000000
0|2|0|0|2|0|0|AGGRESSIVE|MODERATE 0 1774229415 0 0.00000000 0.00000000 0 0.00000000 0.00000000
0|1|2|0|1|2|0|AGGRESSIVE|CONSERVATIVE 0 1774596950 0 0.00000000 0.00000000 0 0.00000000 0.00000000
0|1|2|1|1|2|0|AGGRESSIVE|CONSERVATIVE 0 1774597077 0 0.00000000 0.00000000 0 0.00000000 0.00000000
1
EURUSD 1 118 82 0.55416158 0.12497833 50.00000000
2
EURUSD 1 1 1 1 1 0 96 66 37.42000000 -16.84000000
EURUSD 1 -1 1 1 1 0 22 16 13.32000000 25.44000000
0
2
1547155986 -1 -1|2|0|0|0|0|2|0|0|AGGRESSIVE|GREEDY 1 5.00000000 -1|2|0|0|0|0|2|0|0|AGGRESSIVE|GREEDY|EXEC 0 1774229304
1547159109 -1 -1|2|0|0|0|0|2|0|0|AGGRESSIVE|GREEDY 1 5.00000000 -1|2|0|0|0|0|2|0|0|AGGRESSIVE|GREEDY|EXEC 0 1774229361


