Overview

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.

Strategy Explained

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.

1

Session Start

At the defined session start time, the EA reads yesterday's high and low.

2

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.

3

Order Trigger

When price breaks the high or low and triggers one order, the other pending order is automatically cancelled.

4

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.

5

Expiry

Any unfilled pending orders expire automatically at a user-defined time each day, avoiding overnight exposure.

Key Features

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.

Input Parameters

ParameterDefaultDescription
LicenseKey""Your LazyAlgos license key. Binds to your MT5 account on first run.
RiskModeRISK_PERCENTRISK_PERCENT = auto lot by equity %; FIXED_LOT = manual.
RiskPercent1.0Risk per trade as % of account equity.
FixedLot0.01Fixed lot size (when RiskMode = FIXED_LOT).
EnableTP1trueEnable partial close at TP1 (midpoint Fibonacci target).
TP1_ClosePercent50% of position to close at TP1. Default = 50%.
EnableBreakevenAfterTP1trueMove SL to breakeven after TP1 is hit.
FibExtension_TP2161.8Fibonacci extension level for TP2 (full target).
FibRetrace_SL61.8Fibonacci retracement level for Stop Loss.
OrderExpiry_Hour23Hour (server time) at which pending orders expire daily.
EnableNewsFiltertruePause trading around high-impact news events.
NewsFilter_MinsBefore30Minutes before a news event to pause trading.
NewsFilter_MinsAfter30Minutes after a news event to resume trading.
DailyDrawdown_Pct5.0Max daily loss as % of start-of-day equity. EA halts when hit.
TotalDrawdown_Pct10.0Max total loss as % of start-of-day equity. EA halts permanently when hit.
MagicNumber202501Unique identifier for this EA's trades.
MaxSpread_Points40Maximum spread allowed before orders are skipped.

News Filter Setup

โš ๏ธ 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.

  1. 1

    Open MT5 Options

    Go to Tools โ†’ Options โ†’ Expert Advisors tab.

  2. 2

    Enable WebRequest

    Tick the checkbox: "Allow WebRequest for listed URL".

  3. 3

    Add the news URL

    Click the + button and add: https://nfs.faireconomy.media

  4. 4

    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.

Drawdown Protection

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.

Installation Guide

  1. 1. Purchase & get your license key

    After purchase on LazyAlgos, go to Dashboard โ†’ Licenses. Copy one of your 20 license keys.

  2. 2. Download the EA file

    Go to Dashboard โ†’ Downloads. Download the Golden Oracle EA .ex5 file.

  3. 3. Install in MT5

    In MT5: File โ†’ Open Data Folder โ†’ MQL5 โ†’ Experts. Place the .ex5 file here.

  4. 4. Add WebRequest URLs

    Tools โ†’ Options โ†’ Expert Advisors โ†’ Allow WebRequest. Add both: https://lazyalgos.com and https://nfs.faireconomy.media (for news filter).

  5. 5. Restart MT5

    Restart MetaTrader 5. Find Golden Oracle EA in the Navigator โ†’ Expert Advisors.

  6. 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. 7. Enable AutoTrading

    Click the AutoTrading button or press Ctrl+E. The smiley face on the chart confirms the EA is running.

Frequently Asked Questions

Can I use this on a prop firm?
Yes. The daily and total drawdown protection, automatic order expiry, and one-trade-per-day logic are designed to support prop firm risk rules. Set the daily drawdown limit slightly below your firm's threshold. Always verify your firm's specific requirements.
Does it work in the Strategy Tester?
Yes. The news filter is automatically disabled in the Strategy Tester since WebRequest is unavailable there. For realistic XAUUSD backtesting, use a fixed spread of 15โ€“20 points.
What happens if news occurs after orders are placed?
Pending orders within an active news blackout window are automatically removed. Once the window closes, the EA re-places them, provided the daily expiry time hasn't passed.
The EA was halted by total drawdown. How do I restart it?
Remove the EA from the chart and re-attach it. This resets the equity baseline to your current equity and resumes normal operation.
Can I run this on other symbols?
No. The strategy is designed specifically for XAUUSD. The Fibonacci levels and structural logic are calibrated for gold's typical daily range and volatility.
Why isn't the EA placing trades?
Check: (1) AutoTrading is enabled. (2) License key is correct. (3) Chart is XAUUSD H1. (4) Both WebRequest URLs are added. (5) It's during market hours. (6) No active news blackout window. (7) Drawdown limits haven't been hit.

Risk Disclaimer

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.