XAU/USD Alert Bot MT4

MQL4 指标 其它 外汇 策略优化

指定

Project Summary:

Create an alert-only MT4 EA for XAU/USD (5-minute chart) that detects a specific sequence of price action events and sends push notifications and optional sound/Telegram alerts when all conditions are met.



1. Inputs / Settings

• Enable/Disable Alerts → Boolean (true/false)

• FVG minimum width (pips) → Default 2

• Order Block maximum width (pips) → Default 30

• Optional time filter → Default: 07:00–08:00, 12:00–13:30, 20:00–22:00 (alerts ignored during these times)

• Alert methods → MT4 Push Notification, optional sound (.wav), optional Telegram message

• Symbol → Default XAU/USD, user configurable



2. Event Detection – 5M Only


Bearish Alert Sequence

1. Swing High Identification

• Green candle followed by red candle

• Highest point between these two candles = Swing High

2. Liquidity Sweep

• Candle wicks above the swing high

3. Immediate BOS

• The very next candle wicks below the low of the sweep candle

4. FVG

• Standard 3-candle bearish imbalance

• Width ≥ FVG minimum input (default 2 pips)

5. Order Block

• Last bullish candle before the displacement

• Width ≤ Order Block maximum input (default 30 pips)


✅ If all conditions are met and alerts are enabled → send alert



Bullish Alert Sequence (Mirror)

1. Swing Low (Red → Green), lowest point = swing low

2. Liquidity Sweep → Candle wicks below swing low

3. Immediate BOS → Next candle wicks above sweep candle high

4. FVG ≥ minimum width

5. Last bearish candle before displacement = OB, width ≤ maximum


✅ If all conditions are met and alerts are enabled → send alert



3. Alert Output

• Push notification to MT4 mobile app

• Optional: Play custom sound (.wav)

• Optional: Telegram message

• Alert format example:

code

🚨 XAUUSD Bearish Setup

Sweep + Immediate BOS confirmed

FVG: 3.2 pips

Order Block: 2034.20–2035.05

Time: 02:15


4. Logic Notes

• Only the first alert per setup triggers; subsequent candles in the same setup sequence do not re-alert

• EA checks every new 5M candle

• Manual Enable/Disable Alerts toggle in input settings

• FVG width and OB max width adjustable in input tab

• Optional time filter

• Symbol input configurable



5. Deliverables

1. MT4 EA (.mq4 + compiled .ex4)

2. Instructions to set up push notifications and optional Telegram

3. Documentation of input settings



6. Developer Notes

• EA must be coded in MQL4 for MT4

• Clean, bug-free coding with logical comments

• Alerts must be reliable and trigger exactly when conditions are met

• Optional: Include minor tweaks/adjustments after delivery if required (1–2 week bug-fix period)

反馈

1
开发者 1
等级
(393)
项目
547
40%
仲裁
30
57% / 3%
逾期
57
10%
工作中
发布者: 11 代码
2
开发者 2
等级
(9)
项目
13
8%
仲裁
3
33% / 67%
逾期
1
8%
空闲
3
开发者 3
等级
(104)
项目
167
25%
仲裁
23
9% / 78%
逾期
16
10%
工作中
4
开发者 4
等级
(51)
项目
69
35%
仲裁
4
25% / 75%
逾期
0
空闲
5
开发者 5
等级
(250)
项目
313
28%
仲裁
34
26% / 65%
逾期
10
3%
工作中
6
开发者 6
等级
(32)
项目
35
34%
仲裁
5
0% / 80%
逾期
0
工作中
发布者: 2 代码
7
开发者 7
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
8
开发者 8
等级
(626)
项目
984
47%
仲裁
33
36% / 36%
逾期
97
10%
工作中
发布者: 6 代码
9
开发者 9
等级
(265)
项目
596
35%
仲裁
64
20% / 58%
逾期
147
25%
工作中
发布者: 1 文章, 22 代码
10
开发者 10
等级
(309)
项目
555
35%
仲裁
79
32% / 42%
逾期
201
36%
工作中
11
开发者 11
等级
(94)
项目
115
23%
仲裁
21
29% / 52%
逾期
8
7%
工作中
12
开发者 12
等级
(140)
项目
149
41%
仲裁
3
33% / 33%
逾期
1
1%
工作中
13
开发者 13
等级
(79)
项目
137
51%
仲裁
5
80% / 0%
逾期
6
4%
工作中
14
开发者 14
等级
(32)
项目
33
61%
仲裁
1
100% / 0%
逾期
1
3%
空闲
发布者: 5 代码
15
开发者 15
等级
项目
0
0%
仲裁
0
逾期
0
空闲
16
开发者 16
等级
项目
0
0%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
(351)
项目
423
54%
仲裁
20
55% / 15%
逾期
29
7%
工作中
18
开发者 18
等级
(3)
项目
1
100%
仲裁
3
0% / 100%
逾期
0
空闲
19
开发者 19
等级
项目
0
0%
仲裁
0
逾期
0
空闲
20
开发者 20
等级
(1)
项目
2
0%
仲裁
2
0% / 100%
逾期
0
工作中
21
开发者 21
等级
(531)
项目
805
62%
仲裁
33
27% / 45%
逾期
23
3%
空闲
发布者: 1 代码
22
开发者 22
等级
(2)
项目
4
0%
仲裁
2
0% / 50%
逾期
1
25%
工作中
23
开发者 23
等级
(10)
项目
14
43%
仲裁
0
逾期
3
21%
空闲
24
开发者 24
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
I need a developer to start robot from scratch based on existing EA that is running live. I do not have the source file as my previous coder did not give it to me. What I do have is the investor password which is running the EA from the coder side but not from my end. I like someone to monitor the account and re create the same system for me
We are looking for a professional developer or trader who already has a proven profitable EA or strategy based mainly on price action logic. Important requirements: No Martingale No Grid No Micro-scalping Avoid heavy indicator-based strategies Strategy should be based mainly on price behavior / market structure We are not looking for aggressive systems that promise unrealistic returns. Our focus is on stable
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
Hello, I have two requests: First: Feature Modification Request Currently, the EA places only one pending order at a time. I want to modify this to place two opposite pending orders (Buy Stop and Sell Stop) simultaneously, with the distance between them aligned with the existing Breakeven and Trailing Stop settings in the bot. How it should work: The EA places a Buy Stop above current price and a Sell Stop
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Looking for a good EA 30 - 100 USD
Hello guys,i am looking for a good already established ea,that doesnt blow account,only give 5 percent per month with maximum 10 percent drowdown,I need prove,i need to backtest by myself,after that i select the developer
Hi, I need a custom MT5 indicator based on a multi-timeframe fractal break reversal. 1️⃣ The indicator should use two timeframes: Higher Timeframe (HTF) Lower Timeframe (LTF) (Timeframes should be adjustable in inputs, e.g., HTF = H1 and LTF = M5) 2️⃣ Use standard fractals to detect fractal highs and fractal lows. 3️⃣ Primary signal (HTF): When a Lower High fractal is formed and price breaks that Lower High in one

项目信息

预算
30 - 120 USD

客户

所下订单2
仲裁计数0