Stocks News

Complete Setup Guide: XAUUSD H1 Breaks DVN Key Trendline – Analysis and Forecast – March 23, 2026

Requirements

Before connecting your EA, make sure your setup meets the following requirements:

  • platform: MetaTrader 5 (MT5) — Build 2755 or higher recommended
  • Account type: Any (demo, live or prop company)
  • broker: ECN or STP with low spreads to XAUUSD. Maximum recommended spread: 25 points
  • VPS: We strongly recommend 24/7 operation. Your local PC will work, but must remain online during active sessions.
  • Internet connection: A stable connection is required. The news filter uses the MQL5 economic calendar, which requires linking.
  • Minimum balance: No hard minimums — scales to any account size with risk % lot mode

installation

Step 1 – Download the EA file

After purchase, go to your MQL5 account → my product Download the .ex5 file.

Step 2 – Open the MT5 Data Folder

MT5: Go to next File → Open Data Folder. Go to MQL5 → Experts. Copy the .ex5 file to this folder.

Step 3 – Restart MT5 or refresh the navigator.

In the MT5 Navigator panel (left) expert advice and choose refresh. What to see now DVN breaks through key trend line It’s on the list.

Step 4 – Open XAUUSD H1 Chart

Right-click on Market Watch. HAUUSD and choose chart window. Switch the chart period to: H1.

Step 5 – Connect EA to Chart

Drag EA from the navigator onto the XAUUSD H1 chart. The Settings window will automatically open.

Step 6 – Enable Auto Trading

In the EA Settings window:

  • OK ✅ Allow automatic trading

click great.

Step 7 – Make sure the EA is running

A smiley face icon (🙂) appears in the top right corner of the chart. The control panel appears to the left of the chart. If you see a frowning face (🙁), automated trading is not activated. automatic trading Button on the MT5 toolbar.


Recommended Settings for XAUUSD H1

This is the tested default setting. You can load directly from the settings file provided by the support group.

Breakouts and Trading

parameter Recommended value memo
period H1 Match chart period
Breakout type candle More responsive. Use Close for fewer but stronger signals.
trading mode buy and sell In a strong uptrend, only buy, but in a downtrend, switch to sell.

Premises and Risks

parameter Recommended value memo
lot mode danger % Automatically scales to account size.
risk ratio 1.0% Increase to 1.5-2% for more aggressive growth
fixed lot 0.01 Only used when Lot Mode = Fixed.

Stop Loss and Take Profit

parameter Recommended value memo
SL mode swing point Place the SL at the highest/lowest swing point. It’s more logical than fixed.
SL points 3500 Fallback only if swing point is not available
TP points 4500 Adjust based on backtesting results.

ATR trailing stop

parameter Recommended value memo
ATR trailing activation truth Recommended — Protect your profits from strong moves
ATR period 14 standard settings
Activate multiplier 2.0 Trails become active only after ATR where profits are doubled.
trail multiplier 7.0 Trail Distance = 7× ATR at current price

trend filter

parameter Recommended value memo
Activate trend filter truth Blocks countertrend entries based on weekly SMA.
SMA period 5 We use a 5-period SMA for the W1 period.

💡 How the trend filter works: If the price is above the weekly SMA → only a buy breakout will occur. If the price is below → only sell breakout is possible. This significantly reduces trading losses in various markets.

prop company mode (optional)

Only enable this feature if you are running a prop company challenge.

parameter Yes (FTMO $10,000) memo
Enable Prop Firm Mode truth
Maximum daily loss 500 5% of $10,000
Maximum total reduction 1000 10% of $10,000
profit target 1000 10% goal

⚠️ important: Set these values ​​based on your specific challenge rules. EA automatically stops all new transactions when the limit is reached.

news filter (Optional, but recommended)

parameter Recommended value
Activate news deals filter truth
all time news 30
minutes after news 30
High impact only truth
medium impact truth
Automatic call detection truth

First run checklist

Before going live, check each of the following:

  • The chart is set to: HAUUSDperiod H1
  • EA displays a 🙂 (smiley) icon in the corner of the chart.
  • The Auto Trading buttons on the toolbar are: green (enabled)
  • The control panel is displayed on the chart.
  • Lot mode is set to: danger % The risk ratio is set at a comfortable level.
  • Trend filters include: activated
  • ATR lagging is activated
  • If you use Prop Firm mode, make sure your daily drawdown, drawdown and target values ​​match your challenge rules.
  • execution Backtest first (Strategy Tester → Visual Mode) Understand how EA works before going live.

problem solving

Problem: EA Show 🙁 (frowning face) Auto-trading has been disabled. Click Next. automatic trading Also check the button on the MT5 toolbar (it should turn green). Allow automatic trading I checked this when attaching the EA.

Problem: No trend lines appear on the chart. EA needs enough bars to detect the swing point. Make sure your H1 chart has at least 200 bars loaded. movement Tools → Options → Chart and increase maximum bar in chart More than 10,000.

Problem: EA does not initiate transactions. Check out the following: (1) Is your trend filter blocking your trade? Take a look at the panel. Current trend bias is displayed. (2) Does Prop Firm mode stop trading due to limits being reached? Check out the Prop Firm section in the panel. (3) Is your transaction being blocked due to a current news event? When the News block is activated, the panel will display “News: (X)”.

Problem: When I change the chart period, the trend line disappears. This is expected behavior. EA draws trend lines only over a set period of time. period Parameters. Switching the chart to a different time period hides the lines. Switch back to H1 and the lines will reappear.

Issue: Journal displays “Not enough bars” warning This usually happens immediately after attaching the EA to a new chart. Wait for MT5 to download historical data or manually scroll back the chart to trigger the data load. The warning will disappear when enough bars are loaded.

Problem: ATR trailing does not move stop loss. Stop tracking is activated only after the transaction reaches the following point: Activate multiplier Profit distance (default: 2× ATR). If a trade has not yet moved far enough in your direction, the trailing stop is in standby mode. This is intentional. This prevents premature stops from tightening due to weak movements.


Get support and set up your files

Please contact us via KakaoTalk after purchase. MQL5 Inbox You will be added to a private support group. Within the group you will find:

  • Optimized set files for XAUUSD and other symbols (EURUSD, US30, etc.)
  • Configuration files updated regularly as market conditions change
  • Direct support from developers

📡 Free Gold Signals and Analysis:

https://t.me/DVN_Core

📩 Contact us directly:

https://t.me/DuyVanNguy


Thank you for your purchase. If your EA is doing well, leaving a review on the product page will help us continue to grow the project.

Related Articles

Back to top button