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

Specification

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.


Responded

1
Developer 1
Rating
(392)
Projects
542
40%
Arbitration
30
57% / 3%
Overdue
57
11%
Free
Published: 11 codes
2
Developer 2
Rating
(12)
Projects
18
39%
Arbitration
1
0% / 100%
Overdue
1
6%
Free
3
Developer 3
Rating
(2)
Projects
1
100%
Arbitration
2
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(3)
Projects
3
33%
Arbitration
0
Overdue
0
Working
5
Developer 5
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Working
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
7
Developer 7
Rating
(390)
Projects
416
30%
Arbitration
73
19% / 70%
Overdue
52
13%
Loaded
8
Developer 8
Rating
(4)
Projects
7
0%
Arbitration
1
100% / 0%
Overdue
3
43%
Free
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Working
10
Developer 10
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 2 articles
11
Developer 11
Rating
(268)
Projects
396
27%
Arbitration
38
39% / 50%
Overdue
1
0%
Free
12
Developer 12
Rating
(47)
Projects
66
38%
Arbitration
5
20% / 40%
Overdue
1
2%
Working
Similar orders
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
MT5 30 - 50 USD
I'm looking for an experienced MQL5 developer to help with backtesting, optimization, and VPS setup for a prop firm EA on XAUUSD (Gold). Scope of work - Backtest and optimize using high-quality tick data from Dukascopy or Polygon (2020–2025) - Perform Monte Carlo and Walk-Forward testing to optimize parameters like ATR multipliers and risk % - VPS installation and configuration for continuous MT5 operation - Apply
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
I want to create an SMC bot base on ICT and Market structure,the bot must be able to keep adding on more positions while started.The bot must have a perfect risk management
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you

Project information

Budget
300+ USD
Deadline
to 10 day(s)