XAUUSD Daily Breakout with Fibonacci Partial Close & Auto Breakeven
Golden Oracle EA is an Expert Advisor for XAUUSD (Gold) built on a disciplined daily breakout strategy. At the start of each session it identifies the previous day's high and low, places a Buy Stop and Sell Stop at those structural levels, and manages the full trade lifecycle automatically.
This includes optional partial close at a midpoint Fibonacci target (TP1) and automatic breakeven move after TP1 hits. The remaining position runs to the full extension target (TP2).
There is no grid, no martingale, and no averaging. One clean setup per day. Every position carries a fixed Stop Loss and Take Profit defined before the trade begins.
๐ Launch Sale
Golden Oracle EA is currently available at $50 for the first 10 copies.
The strategy is built on one core principle: price respects structure. The previous day's high and low are the most significant short-term structural levels in any market. When price breaks beyond them, it tends to continue, especially in a high-volatility instrument like XAUUSD.
Session Start
At the defined session start time, the EA reads yesterday's high and low.
Order Placement
Buy Stop is placed above yesterday's high. Sell Stop is placed below yesterday's low. Stop Loss and Take Profit are calculated using Fibonacci levels.
Order Trigger
When price breaks the high or low and triggers one order, the other pending order is automatically cancelled.
TP1 Hit โ Partial Close + Breakeven
If TP1 is reached (midpoint Fibonacci), 50% of the position closes and the stop loss moves to breakeven. The remaining 50% runs to TP2.
Expiry
Any unfilled pending orders expire automatically at a user-defined time each day, avoiding overnight exposure.
Daily Breakout Fibonacci Strategy
Places Buy Stop and Sell Stop at the previous day's high and low. SL and TP are set at predefined Fibonacci extension and retracement levels. Orders expire automatically at a user-defined time.
Two-Stage Take Profit with Auto Breakeven
Closes 50% of the position at TP1 (midpoint Fibonacci target) and moves the SL to breakeven. The remaining 50% runs to TP2 (full extension). Fully optional, can run single TP mode.
Smart Risk Management
Auto-calculates position size based on account equity and the exact SL distance. Fixed lot mode also available. A hard margin check runs before every order.
Built-in Live News Filter
Fetches the full week's economic calendar on startup, refreshes hourly. Automatically pauses trading within configurable windows before and after high-impact news events. Filters by currency and impact level. Fully automatic.
Two-Tier Drawdown Protection
Separate daily and total drawdown limits. Daily limit resets each session; total limit permanently halts the EA when hit. Both immediately close open trades and cancel pending orders. Visual warning shown on chart.
Prop Firm Compatible
Drawdown protection, order expiry, and one-trade-per-day logic are designed to align with prop firm risk rules.
| Parameter | Default | Description |
|---|---|---|
| LicenseKey | "" | Your LazyAlgos license key. Binds to your MT5 account on first run. |
| RiskMode | RISK_PERCENT | RISK_PERCENT = auto lot by equity %; FIXED_LOT = manual. |
| RiskPercent | 1.0 | Risk per trade as % of account equity. |
| FixedLot | 0.01 | Fixed lot size (when RiskMode = FIXED_LOT). |
| EnableTP1 | true | Enable partial close at TP1 (midpoint Fibonacci target). |
| TP1_ClosePercent | 50 | % of position to close at TP1. Default = 50%. |
| EnableBreakevenAfterTP1 | true | Move SL to breakeven after TP1 is hit. |
| FibExtension_TP2 | 161.8 | Fibonacci extension level for TP2 (full target). |
| FibRetrace_SL | 61.8 | Fibonacci retracement level for Stop Loss. |
| OrderExpiry_Hour | 23 | Hour (server time) at which pending orders expire daily. |
| EnableNewsFilter | true | Pause trading around high-impact news events. |
| NewsFilter_MinsBefore | 30 | Minutes before a news event to pause trading. |
| NewsFilter_MinsAfter | 30 | Minutes after a news event to resume trading. |
| DailyDrawdown_Pct | 5.0 | Max daily loss as % of start-of-day equity. EA halts when hit. |
| TotalDrawdown_Pct | 10.0 | Max total loss as % of start-of-day equity. EA halts permanently when hit. |
| MagicNumber | 202501 | Unique identifier for this EA's trades. |
| MaxSpread_Points | 40 | Maximum spread allowed before orders are skipped. |
โ ๏ธ Required for News Filter
The news filter requires internet access from MetaTrader 5. Without this step, the filter will be inactive and the EA will trade through all news events.
Open MT5 Options
Go to Tools โ Options โ Expert Advisors tab.
Enable WebRequest
Tick the checkbox: "Allow WebRequest for listed URL".
Add the news URL
Click the + button and add: https://nfs.faireconomy.media
Click OK and restart
Click OK to save. You may need to restart the EA (remove and re-attach) for the change to take effect.
Once configured, the EA fetches the economic calendar automatically on startup and refreshes it every hour. No manual action required.
Golden Oracle EA includes two independent drawdown limits that protect your account from runaway losses:
Daily Drawdown Limit
Monitors losses from the start of each trading day. When the daily limit is hit, the EA closes all open trades, cancels pending orders, and pauses for the rest of that day. It resets automatically at the start of the next session.
Default: 5% of start-of-day equity
Total Drawdown Limit
Monitors cumulative losses from the initial equity baseline. When hit, the EA permanently halts, closes all trades, removes orders, and displays a red warning background on the chart.
Default: 10% of initial equity
To resume after a total drawdown halt: remove the EA from the chart and re-attach it. This resets the equity baseline to your current equity.
1. Purchase & get your license key
After purchase on LazyAlgos, go to Dashboard โ Licenses. Copy one of your 20 license keys.
2. Download the EA file
Go to Dashboard โ Downloads. Download the Golden Oracle EA .ex5 file.
3. Install in MT5
In MT5: File โ Open Data Folder โ MQL5 โ Experts. Place the .ex5 file here.
4. Add WebRequest URLs
Tools โ Options โ Expert Advisors โ Allow WebRequest. Add both: https://lazyalgos.com and https://nfs.faireconomy.media (for news filter).
5. Restart MT5
Restart MetaTrader 5. Find Golden Oracle EA in the Navigator โ Expert Advisors.
6. Attach to XAUUSD H1 chart
Open XAUUSD on the H1 timeframe. Drag the EA onto the chart. In Inputs, paste your LicenseKey and configure risk settings.
7. Enable AutoTrading
Click the AutoTrading button or press Ctrl+E. The smiley face on the chart confirms the EA is running.
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance, including backtested results, is not indicative of future results.
Golden Oracle EA is a tool. It does not guarantee profits. Markets can move in unexpected ways. Only trade with capital you can afford to lose entirely.
LazyAlgos and the developer of this EA are not financial advisors. Nothing on this platform constitutes financial advice.
Ready to get started with Golden Oracle EA?
Purchase a license and be trading in minutes.