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 코드
비슷한 주문
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
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was

프로젝트 정보

예산
50+ USD
기한
에서 2  4 일