PROJECT: Emergency Stop and Equity Trailing Stop EA with 4 Parameters for MT4

Trabajo finalizado

Plazo de ejecución 5 días

Tarea técnica

Emergency Stop and Equity Trailing Stop EA with Trade Prevention

Budget: $300 USD
Timeline: 4-5 days
Testing: 7 days after delivery

WHAT I NEED:

A clean MT4 Expert Advisor that:

  1. Monitors account equity and closes all trades when stop loss or trailing stop triggers
  2. PREVENTS new trades after closing (critical - I run other EAs)
  3. Shows status on chart (visual display)
  4. Works alongside my trading EAs (real-world testing required)

DELIVERABLES (BOTH REQUIRED UPFRONT):

  • Working .ex4 file
  • Complete .mq4 source code
  • Full ownership upon payment

CORE FUNCTIONALITY:

1. Four Input Parameters:

  • ActivationProfitPercent (example: 5%, default=5)
  • TrailingStopPercent (example: 2%, default=2)
  • EmergencyStopLossPercent (example: 20%, default=20)
  • Slippage (default=5), Do NOT hardcode excessive values (e.g., 500 points)
  • These four parameters must be editable on the fly

    Parameters
    Defined:

·       Emergency Stop Loss: A percentage value below the Opening Balance. If the account equity falls to or below this level, the EA must close all trades and enter the protected/lockdown state.

·       Trailing Stop Activation: A percentage value above the Opening Balance. Once the account equity reaches or exceeds this level, the EA begins monitoring for the trailing stop condition.

·       Trailing Stop Distance: A percentage value that defines a fixed distance below the highest observed equity. After the  Trailing Stop Activation condition is met, the EA will continuously track the highest equity. If the current equity falls from this peak by an amount equal to or greater than the  Trailing Stop Distance, the EA must close all trades and enter the protected/lockdown state.  

2. Logic:

  • Emergency Stop: If equity drops by EmergencyStopLossPercent% → Close all trades+ pending orders → THEN PREVENT new trades
  • Trailing Stop: When equity reaches ActivationProfitPercent% → Start trailing
  • On Trigger: Close ALL trades + pending orders → THEN PREVENT new trades

3. Trade Prevention (MUST WORK WITH OTHER EAs):

After closing trades, no new trades can open for the session. This is the core requirement.

4. Visual Display (On Chart):

Display the following as on-chart text labels (top-left corner):

text

Highest Equity: [Value]

Current Equity: [Value] 

Trailing Stop Level: [Value]
Emergency Stop Level: [Value]

Session Status: [RUNNING/STOPPED]

  • Update: Real-time (every tick/second)
  • Font: Arial, size 10, color white
  • Background: Semi-transparent for readability
  • Position: Top-left, non-intrusive
  • "Session Status": Shows "STOPPED" when trades are prevented

5. SECURITY RESTRICTIONS:

The EA is FORBIDDEN from using:

  • WinExec()ShellExecute()
  • FileOpen() for operations outside Terminal data folder
  • Unapproved network functions (WebRequest, etc.)

Code must be unobfuscated and transparent

  • Clean MQL4 code, no dead functions
  • Proper reset logic between cycles

TESTING & PAYMENT:

  1. You deliver BOTH .ex4 and .mq4 files
  2. I test for 7 days (with my trading EAs)
  3. If it works as specified → $300 released immediately
  4. If issues → You fix within testing period

Please confirm you can:

  1. Deliver BOTH files upfront
  2. Implement trade prevention that works with other EAs
  3. Meet the 4-5 day timeline

Previous experience showed that a developer delivers an EA that works in isolation but fails in real-world usage alongside other EAs. I'm a reasonable client who pays promptly for working solutions. Quality work will be rewarded with prompt payment and positive feedback.


Han respondido

1
Desarrollador 1
Evaluación
(394)
Proyectos
555
41%
Arbitraje
30
57% / 3%
Caducado
57
10%
Libre
Ha publicado: 11 ejemplos
2
Desarrollador 2
Evaluación
(13)
Proyectos
20
40%
Arbitraje
1
0% / 100%
Caducado
1
5%
Libre
3
Desarrollador 3
Evaluación
(3)
Proyectos
1
100%
Arbitraje
3
0% / 100%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
1
50%
Libre
Ha publicado: 4 ejemplos
6
Desarrollador 6
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
8
Desarrollador 8
Evaluación
(4)
Proyectos
8
0%
Arbitraje
3
33% / 67%
Caducado
4
50%
Libre
9
Desarrollador 9
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(4)
Proyectos
4
25%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Ha publicado: 2 artículos
11
Desarrollador 11
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
12
Desarrollador 12
Evaluación
(47)
Proyectos
67
37%
Arbitraje
5
40% / 40%
Caducado
1
1%
Libre
Solicitudes similares
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
Hello, I am looking for an existing, fully backtestable MT5 Expert Advisor or EA portfolio designed specifically for passing an FTMO-style prop-firm evaluation. I am not looking for unrealistic profit claims or a visually perfect backtest. My priority is a statistically defensible probability of passing the challenge while respecting all risk limits. Primary objective The system should be designed for the current
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value
Specification : 1. Goal I am commissioning a mean-reversion grid Expert Advisor for XAUUSD on MT5. The deliverable is the complete, commented .mq5 source (strictly personal usel). Offers limited to compiled .ex5 will not be considered. 2. Required framework (non-negotiable) 2.1. Works natively on M5; signals evaluated on closed bars; symmetric long/short. 2.2. Entry logic built on Bollinger Bands + Moving Average
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback

Información sobre el proyecto

Presupuesto
300+ USD
Plazo límite de ejecución
a 10 día(s)