Graphe des révisions Universal_Quant_EA/Include/UQ_Symbols.mqh
Auteur SHA1 Message Date
54b3a827b1 fix: fail closed on ambiguous broker symbol resolution and schedule every managed symbol
Symbol resolution is now deterministic and fail-closed: an exact catalogue name wins, a broker prefix/suffix variant is accepted only when the inferred convention is verified and exactly one eligible FX instrument remains, and every other outcome is reported as EMPTY, NOT_FOUND, AMBIGUOUS or INELIGIBLE instead of silently choosing the shortest match. Eligibility rejects non-FX calculation modes, invalid volume constraints and unusable tick data.

A single centralised scheduler now walks every managed symbol from both OnTick and OnTimer, so a multi-symbol portfolio no longer depends on ticks arriving on the attached chart. The duplicate-entry guard, the account risk gate and the direction-permission gate are shared by both event paths.
2026-10-30 09:19:45 +07:00
37a82d0c9f fix: base indicator readiness on buffer copies and create handles at init
BarsCalculated() can remain -1 for indicator handles created inside the strategy tester, which previously left every symbol permanently 'not ready' and blocked all signals. Handles are now created once during initialisation and readiness is validated by the actual CopyBuffer results in the signal engine.
2026-10-30 07:33:16 +07:00
fe73380ead feat: add Universal_Quant_EA with channel breakout signals and centralized equity risk controls
Volatility-normalized channel breakout on completed candles with EMA trend filter, ATR initial stop and ATR trailing stop. Centralized risk controller enforcing 5% daily loss, 8% static drawdown and 10% equity target with persistent, identity-scoped locks. Deterministic broker symbol resolution, risk-based sizing via OrderCalcProfit, bounded liquidation and duplicate-instance guard.
2026-10-30 07:19:59 +07:00