Hybrid ONNX Lorentzian
- Experts
- Versione: 5.30
- Attivazioni: 5
# 🏆 Hybrid ONNX Gold ML: The Ultimate AI-Driven Equity Defender
Welcome to the future of algorithmic trading. **Hybrid ONNX Gold ML v5.2** is not just another indicator-based bot—it is a hyper-advanced, professional-grade Expert Advisor powered by a deeply trained **ONNX Neural Network** embedded directly into its core.
Designed specifically for **XAUUSD (Gold)** on the **M5 timeframe**, this system was engineered with one absolute mathematical goal: **Capital Preservation.**
Most EAs look great in ranging markets but blow accounts during heavy trends. Hybrid ONNX solves this by dynamically identifying the market regime and adjusting its AI confidence threshold in real-time. In thousands of hours of punishing *"Every Tick Based on Real Ticks"* stress tests across multiple chaotic market months, this EA consistently generated profits while **refusing to ever exceed a 5.5% drawdown.**
When the market is trending, it extracts profit. When the market turns toxic, the AI detects it and immediately clamps down on risk to protect your equity like a fortress.
### 🌟 Key Advantages & Features
* **🧠 Fully Embedded ONNX AI Engine:** The neural network model is compiled directly into the `.ex5` file. You do not need to download or place any external `.onnx` files! Just drag and drop it onto your chart.
* **🛡️ Flawless Equity Defense:** Built-in Regime Detection prevents the EA from taking dangerous trades during dead, ranging, or hyper-volatile markets.
* **⚖️ Smart Group Recovery:** If a trade goes against the AI, it enters a highly mathematical Recovery Mode that uses subsequent winning trades to gracefully offset and close out losing trades at a net profit.
* **📈 Dynamic Confidence Scaling:** The AI analyzes multi-timeframe moving averages (H1, H4) and dynamically demands higher or lower mathematical confidence before executing a signal.
* **🔒 Secure Trailing Profit:** Features an advanced, lot-independent profit-locking system that secures an absolute dollar amount as soon as it is achieved.
### ⚙️ How to Setup
1. **Symbol:** XAUUSD (Gold)
2. **Timeframe:** M5 (Highly Recommended)
3. **Minimum Balance:** $500 - $1,000 (Cent accounts are also fully supported)
4. **Broker:** Any low-spread broker (XM Global, Exness, IC Markets). VPS recommended.
---
### 🎛️ Input Parameters Explained
**========== 1. ONNX ML SETTINGS ==========**
* **InpMLConfidence:** Base probability threshold the AI must reach to execute a trade.
* **InpUseNeutralSignal:** Allows the AI to output a "Wait/Neutral" signal when the market is indecisive.
**========== 2. DYNAMIC CONFIDENCE LAYER ==========**
* **InpUseDynamicConfidence:** AI confidence automatically adjusts based on the macro trend.
* **InpUseMA_H1 / InpUseMA_H4:** Enables multi-timeframe trend alignment checking.
**========== 3. MARKET REGIME FILTER ==========**
* **InpUseMarketFilter:** Activates the ADX volatility filter.
* **InpMinADX / InpMaxADX:** The strict volatility boundaries the market must be within for the AI to trade.
**========== 4. EQUITY RECOVERY SYSTEM ==========**
* **InpRecoveryStartDD:** The exact drawdown percentage that triggers emergency Recovery Mode.
* **InpGroupTarget:** The dollar amount of net profit required to close a basket of mixed trades.
* **InpMaxDrawdownPer:** Hard Equity Stop-Loss. The absolute maximum drawdown allowed before the EA halts.
**========== 5. RISK & LOT MANAGEMENT ==========**
* **InpRiskPercent:** Auto-calculates lot sizes based on your account balance and ATR.
* **InpFixedLot:** Overrides auto-risk to use a static lot size.
**========== 6. DYNAMIC SL/TP CONFIG ==========**
* **InpSLMultiplier:** Sets the stop loss dynamically based on current market ATR.
* **InpSecureTrigger / InpSecureLock:** The dollar profit required to instantly lock the stop loss into profit.
* **InpTrailStart / InpTrailStep:** Trailing stop logic to ride massive Gold breakouts.
***
*(Note: Past performance does not guarantee future results. Please test the EA on a Demo account to understand the Recovery Mechanics before trading live capital.)*
