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

Trabalho concluído

Tempo de execução 5 dias

Termos de Referência

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.


Respondido

1
Desenvolvedor 1
Classificação
(394)
Projetos
555
41%
Arbitragem
30
57% / 3%
Expirado
57
10%
Livre
Publicou: 11 códigos
2
Desenvolvedor 2
Classificação
(13)
Projetos
20
40%
Arbitragem
1
0% / 100%
Expirado
1
5%
Livre
3
Desenvolvedor 3
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
1
50%
Livre
Publicou: 4 códigos
6
Desenvolvedor 6
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 72%
Expirado
52
13%
Trabalhando
8
Desenvolvedor 8
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
9
Desenvolvedor 9
Classificação
(2)
Projetos
2
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(4)
Projetos
4
25%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Publicou: 2 artigos
11
Desenvolvedor 11
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
12
Desenvolvedor 12
Classificação
(47)
Projetos
67
37%
Arbitragem
5
40% / 40%
Expirado
1
1%
Livre
Pedidos semelhantes
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
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
Shooter razor 30+ USD
Makes it takes trades by it self buy and sell, it must use the higher signals, also when I press stop it must not pick any trades I want it to take trades automatically when I press start also close by it self
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

Informações sobre o projeto

Orçamento
300+ USD
Prazo
para 10 dias