Florin Tudor / Profil
- Informations
|
Aucun
expérience
|
5
produits
|
38
versions de démo
|
|
0
offres d’emploi
|
1
signaux
|
0
les abonnés
|
Queen of Gold AI UCB Agents est un Expert Advisor (EA) MQL5 adaptatif qui combine une logique d’entrée basée sur des règles avec une couche de bandit Upper Confidence Bound (UCB) contextuelle. Son objectif n’est pas seulement de détecter les opportunités de trading, mais également d’apprendre quelle action est la plus efficace dans un contexte de marché donné et de conserver cette connaissance entre les sessions. Fonctionnement L’EA commence par un moteur de signaux déterministe. Son déclencheur
L’agent King of Gold AI UCB est un algorithme avancé d’apprentissage automatique conçu pour optimiser les décisions de trading grâce à l’apprentissage adaptatif et à la sélection probabiliste. Fonctionnalités principales : Bandit de décision UCB avec filtrage contextuel et optimisation des signaux Architecture triple bandit (couches Décision, Exécution, Profil) Taille de lot dynamique avec gestion des risques adaptative Stockage persistant du contexte et initialisation de l’historique des
Agent AI Multi-Arm Bandit – Moteur d’Apprentissage Adaptatif et de Prise de Décision Un système de trading avancé, alimenté par un algorithme multi-arm bandit, qui apprend et s’adapte continuellement aux conditions du marché. L’agent optimise en temps réel l’exécution des transactions, la taille des positions et la prise de décision en fonction du retour sur performance. Logique de Décision Utilise la formule UCB : exploiter + explorer, où exploration = C * sqrt(log(totalPulls + 1) / armPulls)
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


