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

MQL4 Experten

Spezifikation

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!


Bewerbungen

1
Entwickler 1
Bewertung
(16)
Projekte
19
11%
Schlichtung
4
25% / 50%
Frist nicht eingehalten
1
5%
Arbeitet
2
Entwickler 2
Bewertung
(163)
Projekte
236
32%
Schlichtung
30
27% / 30%
Frist nicht eingehalten
26
11%
Frei
3
Entwickler 3
Bewertung
(451)
Projekte
785
48%
Schlichtung
70
16% / 53%
Frist nicht eingehalten
139
18%
Beschäftigt
4
Entwickler 4
Bewertung
(16)
Projekte
19
21%
Schlichtung
0
Frist nicht eingehalten
1
5%
Frei
5
Entwickler 5
Bewertung
(13)
Projekte
16
6%
Schlichtung
8
38% / 38%
Frist nicht eingehalten
2
13%
Beschäftigt
6
Entwickler 6
Bewertung
(43)
Projekte
74
50%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
19
26%
Frei
7
Entwickler 7
Bewertung
(3)
Projekte
3
33%
Schlichtung
0
Frist nicht eingehalten
0
Frei
8
Entwickler 8
Bewertung
(6)
Projekte
10
30%
Schlichtung
0
Frist nicht eingehalten
2
20%
Arbeitet
9
Entwickler 9
Bewertung
(14)
Projekte
15
40%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
1
7%
Frei
10
Entwickler 10
Bewertung
(322)
Projekte
499
67%
Schlichtung
5
40% / 0%
Frist nicht eingehalten
4
1%
Frei
Veröffentlicht: 8 Beispiele
Ähnliche Aufträge
Project Overview We are seeking an experienced MetaTrader 5 (MT5) / MQL5 developer to design and build a production-ready Expert Advisor intended for live trading with capital at risk . This is not a hobby, experimental, or retail-grade EA. We are only interested in developers with proven experience delivering robust, well-tested MT5 systems . Project Objective Design and implement a high-quality MT5 Expert Advisor
Updated Freelance Job Instruction (Copy-Paste Ready) Description: Hello, I need a simple, secure MT4 Expert Advisor (pure MQL4, NO DLLs ) that protects my XAUUSD trading by instantly closing any new position opened by another EA (identified by magic number) when price is inside user-defined "block zones", and then enforces a cooldown period before allowing the next position from that EA. This is for risk management
I need someone to build a Telegram bot signal provider for IQ Option that works like this: 🔔 NEW SIGNAL! 🎫 Trade: 🇬🇧 GBP/USD 🇺🇸 (OTC) ⏳ Timer: 2 minutes ➡️ Entry: 5:29 PM 📈 Direction: BUY 🟩 ↪️ Martingale Levels: Level 1 → 5:31 PM Level 2 → 5:33 PM Level 3 → 5:35 PM Requirements: The bot should send signals automatically to Telegram. Must support multiple trades and martingale levels. I will test it for 3 days
Hi guys, — I’m looking to purchase an existing Expert Advisor with source code . Serious enquiries only, please. Below are my requirements: Mandatory requirements Source code required (full .mq5 , readable & well-commented preferred) Backtest period: 4 years — Jan 1, 2022 → Dec 31, 2025 (tick/data quality must be stated) Demo test: 1 month on a live/demo broker after backtest passes Target performance: ~15%
As in tittle, I need opening range breakout profitable EA, you mabe have ready made? If not we can create such EA together. Rules are Simple, I have programmed this EA, my budget is 30 USD
I am hiring an experienced MT4/MT5 EA developer to build a prop firm and personal account Expert Advisor for US30 and XAUUSD . The EA must be non-martingale , low drawdown , and designed for consistent profitability with strict risk control. Markets & Platform • Instruments: US30 and XAUUSD • Platform: MT4 or MT5 • EA must support .set file configurations Trading & Risk Requirements • Non-martingale • No
Hello, I am looking to purchase an existing MT5 Expert Advisor, specifically designed for scalping XAUUSD (Gold), with the following clear requirements: Core Requirements Instrument: XAUUSD (Gold) Timeframe: M1 or M5 Style: Real scalping with controlled risk No martingale / no grid strategies Stop Loss mandatory, proper risk management included EA must be already functional and ready to attach to the chart (not
I am looking for a trading robot with a similar strategy. I will buy a script that works similarly. Please send a description of how the script works or a test version in the message
Expert Advisor 35+ USD
Hello, I have an MT5 Expert Advisor that compiles successfully with no errors, but it does not open any trades in live market or Strategy Tester. The EA logic is already implemented and quite detailed. I need an experienced MQL5 developer to debug, validate conditions, and fix execution issues, not to redesign the strategy. 🔹 Strategy Summary Timeframe: M30 Instruments: NAS100 / XAUUSD Core Logic: Market structure
I have a simple strategy that need coding on tradingview Strategy using high low at seleted time and when breakout to entry buy sell. Everything will be explained on private

Projektdetails

Budget
50+ USD
Ausführungsfristen
von 2 bis 4 Tag(e)

Kunde

Veröffentlichte Aufträge2
Anzahl der Schlichtungen0