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

Job finished

Execution time 5 days

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
(394)
Projects
555
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
3
Developer 3
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
1
50%
Free
Published: 4 codes
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
7
Developer 7
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
8
Developer 8
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
9
Developer 9
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(4)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
0
Free
Published: 2 articles
11
Developer 11
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
12
Developer 12
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
Similar orders
Make the generated .ex4 file lighter and run faster. mt4/mt5 It is not permitted to remove any function from the EA. Make the genertuytutated .yyfile lighter uand run faster. mt4/mt5 It is not permitted to remove aeytuytny function from the EA. Make the generated .ex4 file lighgcjdyhter and run faster. mt4/mt5 It is not permitted to remove any function from the EA. Make the generated .ex4 file lighter and run faster
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
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
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
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative
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

Project information

Budget
300+ USD
Deadline
to 10 day(s)