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
評価
(16)
プロジェクト
19
11%
仲裁
4
25% / 50%
期限切れ
1
5%
仕事中
2
開発者 2
評価
(163)
プロジェクト
236
32%
仲裁
30
27% / 30%
期限切れ
26
11%
3
開発者 3
評価
(451)
プロジェクト
785
48%
仲裁
70
16% / 53%
期限切れ
139
18%
取り込み中
4
開発者 4
評価
(16)
プロジェクト
19
21%
仲裁
0
期限切れ
1
5%
5
開発者 5
評価
(13)
プロジェクト
16
6%
仲裁
8
38% / 38%
期限切れ
2
13%
取り込み中
6
開発者 6
評価
(43)
プロジェクト
74
50%
仲裁
4
0% / 50%
期限切れ
19
26%
7
開発者 7
評価
(3)
プロジェクト
3
33%
仲裁
0
期限切れ
0
8
開発者 8
評価
(6)
プロジェクト
10
30%
仲裁
0
期限切れ
2
20%
仕事中
9
開発者 9
評価
(14)
プロジェクト
15
40%
仲裁
2
50% / 50%
期限切れ
1
7%
10
開発者 10
評価
(322)
プロジェクト
499
67%
仲裁
5
40% / 0%
期限切れ
4
1%
パブリッシュした人: 8 codes
類似した注文
Hi, I have a specific set of rules and a strategy to execute a trade. I'm looking for a developer to assist me in developing an MQL5 EA based on my strategies
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

プロジェクト情報

予算
50+ USD
締め切り
最低 2 最高 4 日

依頼者

出された注文2
裁定取引数0