Build MT4 EA to Disable AutoTrading in 10 Custom Block Zones for Risk Management (XAUUSD) - Demo Required

MQL4 专家

指定

EA Development Request: Multi-Zone AutoTrading Blocker for MT4 (XAUUSD Focused)

Description:

Hello Freelancers,

I'm a disciplined gold trader based in Canada, focusing on XAUUSD with a strong emphasis on risk management. I need a simple, bulletproof MT4 EA that disables AutoTrading (turning the button red) when price is inside any of 10 user-defined "block zones" to prevent any new positions from opening (from other EAs or manually). This will limit risk in bad areas without closing existing trades.

The EA should be clean, visual (optional red rectangles), and run on any chart (not necessarily XAUUSD). No trading logic – just the block function.

Detailed Requirements:

  • Language & Platform: MQL4 for MT4 (build 1415+ compatible). No DLLs or external libraries. Strict mode.
  • Core Functionality:
    • When current Bid price is inside any active block zone, disable AutoTrading globally (set TerminalInfoInteger(TERMINAL_TRADE_ALLOWED, false) or equivalent if second argument needed).
    • When price leaves all zones, re-enable AutoTrading (set to true).
    • No closing of existing positions – only prevent new opens.
    • Work from any chart (use MarketInfo for XAUUSD Bid price).
    • Handle multiple zones simultaneously (if price in any one, block).
    • No lag – check on every tick.
  • Inputs (all in Input section):
    • 10 zones, grouped for easy editing:
      • Zone 1 High (double, default 0)
      • Zone 1 Low (double, default 0)
      • Zone 2 High (double, default 0)
      • Zone 2 Low (double, default 0)
      • ... up to Zone 10 High/Low
    • If High = 0 or Low = 0 or High <= Low, ignore that zone.
    • ShowZones (bool, default true) – toggle visual rectangles
    • ZoneColor (color, default clrRed)
    • Transparency (int, default 70) – for rectangle background
    • ProtectedSymbol (string, default "XAUUSD") – symbol to monitor
  • Visuals (if ShowZones = true):
    • Draw red semi-transparent rectangles for each active zone on the chart.
    • Rectangles extend left/right for visibility (e.g. 7 days left, 30 days right).
    • Tooltip on rectangle: "Block Zone X – AutoTrading Disabled"
    • Update dynamically if inputs changed.
  • Other Details:
    • No magic number needed – this EA doesn't open trades.
    • OnInit: Enable AutoTrading if disabled.
    • OnDeinit: Re-enable AutoTrading and clean up objects.
    • Log prints/alerts when entering/exiting block state (e.g. "Block Zone Active – AutoTrading Disabled").
    • Compatible with VPS/Remote Desktop.
    • Test on demo with another EA like Gold Stuff to confirm no opens in zones.
    • Clean code, comments, no warnings on compile.

Budget & Timeline:

  • Budget: $50
  • Timeline: NA
  • Payment on full testing & satisfaction.

Please provide your MQL4 portfolio and bid.

Thank you!


反馈

1
开发者 1
等级
(18)
项目
22
9%
仲裁
6
33% / 50%
逾期
1
5%
已载入
2
开发者 2
等级
(163)
项目
236
32%
仲裁
30
27% / 30%
逾期
26
11%
空闲
3
开发者 3
等级
(457)
项目
795
49%
仲裁
71
17% / 54%
逾期
139
17%
空闲
4
开发者 4
等级
(19)
项目
24
21%
仲裁
0
逾期
2
8%
空闲
5
开发者 5
等级
(16)
项目
20
10%
仲裁
8
38% / 38%
逾期
3
15%
工作中
6
开发者 6
等级
(43)
项目
74
50%
仲裁
5
0% / 60%
逾期
19
26%
空闲
7
开发者 7
等级
(4)
项目
3
33%
仲裁
2
0% / 100%
逾期
0
空闲
8
开发者 8
等级
(10)
项目
14
43%
仲裁
0
逾期
3
21%
空闲
9
开发者 9
等级
(14)
项目
15
40%
仲裁
2
50% / 50%
逾期
1
7%
空闲
10
开发者 10
等级
(322)
项目
499
67%
仲裁
5
40% / 0%
逾期
4
1%
空闲
发布者: 8 代码
相似订单
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it

项目信息

预算
50+ USD
截止日期
 2  4 天