New York Breakout Gold

# NY Breakout Gold Pro

**NY Breakout Gold Pro** is a fully automated Expert Advisor (EA) specifically engineered for trading **Gold (XAUUSD)**. The EA is based on a pure price action breakout strategy that exploits the high-volatility and high-momentum movements typically generated during the New York market session. 

Unlike risky systems, this EA does **NOT** use Martingale, Grid, Grid-averaging, or any dangerous money management methods. Every trade is highly structured and protected.

---

### How the Strategy Works
1. **Range Detection:** The EA analyzes the price action within a precise time window (Default: 16:00 to 22:00 broker server time) to identify the highest High and lowest Low on the M5 timeframe.
2. **Order Placement:** At the exact end of the session window, the EA places a **Buy Stop** slightly above the session high and a **Sell Stop** slightly below the session low using a customizable buffer.
3. **One Cancels the Other (OCO):** To prevent unwanted market exposure, the moment one pending order is triggered into an active position, the opposite pending order is instantly deleted.

---

### Key Features
* **Pure Price Action:** No lagging indicators are used. Decisions are based purely on critical support and resistance levels.
* **Smart OCO Logic:** Automatically cleans up residual pending orders once a direction is established.
* **Dynamic Trailing Stop:** Protects and locks in profits automatically as the market moves in favor of the trade.
* **Broker Specification Protection:** Built-in filters that automatically adapt to your broker's minimum/maximum lot requirements and minimum Stops Level clearance.
* **Low-Balance Guard:** Advanced internal logic designed to pass strict MQL5 automated validation phases even on low-equity accounts.

---

### Proven Backtest Performance (100% History Quality)
The EA has been rigorously tested with 100% real tick history quality, yielding exceptionally stable and reliable simulation results:
* **Win Rate:** Outstanding performance with over **88.07% profitable trades** (90.00% for Long Trades and 84.62% for Short Trades).
* **Profit Factor:** Solid **1.57**, indicating a strong and mathematical edge over the market.
* **Maximal Equity Drawdown:** Extremely low and safe at only **1.83% ($186.94)** using conservative lot sizing.
* **Sharpe Ratio:** Exceptional **8.49**, proving highly efficient risk-to-reward delivery.

---

### Lot Sizing & Profit Estimation Guide
Based on strict mathematical calculations from our 100% history quality backtest, here is the official formulation guide for your account size. 

*The baseline calculation uses a safe compounding ratio of **0.02 Lot per $10,000 capital** (yielding ~3% monthly gain with an ultra-low ~1.8% drawdown). Users can choose their risk appetite below:*


| Account Balance | Risk Profile | Recommended Lot Size | Estimated Monthly Profit | Estimated Max Drawdown |
| :--- | :--- | :--- | :--- | :--- |
| **$100** | Ultra Safe | 0.01 Lot | ~$1.5 - $3 (1.5% - 3%) | ~$1.8 (1.8%) |
| **$500** | Balanced Risk | 0.02 Lot | ~$15 - $30 (3% - 6%) | ~$18 (3.6%) |
| **$1,000** | Balanced Risk | 0.04 Lot | ~$30 - $60 (3% - 6%) | ~$36 (3.6%) |
| **$5,000** | Balanced Risk | 0.20 Lot | ~$150 - $300 (3% - 6%) | ~$180 (3.6%) |
| **$10,000** | Ultra Safe | 0.02 Lot | ~$300 (3%) | ~$186 (1.83%) |
| **$10,000** | Standard | 0.04 Lot | ~$600 (6%) | ~$372 (3.66%) |
| **$10,000** | Aggressive | 0.10 Lot | ~$1,500 (15%) | ~$930 (9.15%) |

*Note: Past performance does not guarantee future results. However, due to the extremely low drawdown profile, scaling the lots proportionally gives you full control over your risk and reward.*

---

### Input Parameters

#### --- Pengaturan Transaksi ---
* **InpLotSize** (Default: 0.02) – The base lot size for orders if the broker allows.
* **InpBufferPoints** (Default: 50) – The distance in points added outside the High/Low range to place pending orders.
* **InpTriggerPoints** (Default: 300) – The minimum profit points required before the Trailing Stop mechanism activates.
* **InpTrailingPoints** (Default: 150) – The distance in points maintained behind the current market price when trailing is active.

#### --- Parameter Jam Kerja ---
* **InpStartHour** (Default: 16) – The broker server hour marking the beginning of the breakout session window.
* **InpEndHour** (Default: 22) – The broker server hour marking the end of the session window and the time of order placement.

---

### Setup Recommendations
* **Trading Symbol:** XAUUSD / GOLD.
* **Timeframe:** M5 (5 Minutes).
* **Account Type:** ECN, Raw Spread, or Razor accounts with low spreads and low stop levels for optimal execution.
* **VPS:** A VPS with low latency to your broker's server is highly recommended to minimize slippage.

---

### Info & Support
For any questions regarding setup or optimization, please feel free to send a direct message through the MQL5 community portal. Your feedback and reviews are highly appreciated!

Filtrer:
Aucun avis
Répondre à l'avis