Drowdown based ea to monitor and prevent from drowdowning

Spezifikation

Development of Guardian Trading Bot for MT4/MT5


What I need:

A simple protective trading bot (EA) that monitors the entire trading account and automatically closes all positions when specific profit/loss or drawdown conditions are met.


Required Features:

 Monitor all open positions:

  • The bot must track all active positions, regardless of whether they were opened manually or by another Expert Advisor (EA).

Automatic closing of all positions (Option 1):

  • When total profit reaches a specified value (e.g. +€30), the bot must close all active trades.
    → I need a trailing profit feature where I can define a trailing step (e.g. +€5).
  • When total loss reaches a specified value (e.g. -€50), the bot must also close all trades.
    → I also want a trailing stop loss option, where I can define a trailing step (e.g. -€10).

Block new trades after closure:

  • Once the bot closes all trades, it must block any new trades from being opened — especially from other EAs — to prevent immediate re-entry.

Option 2: Daily Drawdown Reset (should be optional and configurable)

Daily account protection with two safety levels:

  • Every day at midnight (or at a custom-defined time), the bot records the current account balance.
  • From that point, it calculates two drawdown thresholds:
    1. First warning level (e.g. -€200)
    2. Second critical level (e.g. -€500)

 Example of how it works:

  • If the balance at 00:00 is €10,000:
    • First level = €9,800
    • Second level = €9,500
  • If the next day at 00:00 the balance is €10,200:
    • New first level = €10,000
    • New second level = €9,700
  • The bot will always protect the highest daily balance, minus the configured drawdown values.

💡Additional logic when limits are triggered:

  • If the first level (e.g. -€200) is reached:
    • The bot closes all currently open positions (both positive and negative).
    • It allows previously set manual orders (pending orders) to remain.
    • It disables all EAs to prevent any further auto-trading.
  • If the second level (e.g. -€500) is reached:
    • The bot closes all positions and all pending orders.
    • It completely shuts down all further activity, both manual and automated.

Bot Settings Required:

  • Take Profit value (in EUR/USD)
  • Daily Stop Loss / Drawdown (in EUR/USD)
  • Daily reset time (with UTC offset configuration)
  • Trailing profit/loss step (in EUR/USD)

 


Bewerbungen

1
Entwickler 1
Bewertung
(2)
Projekte
3
0%
Schlichtung
8
13% / 88%
Frist nicht eingehalten
1
33%
Frei
2
Entwickler 2
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
3
Entwickler 3
Bewertung
(329)
Projekte
515
19%
Schlichtung
35
46% / 31%
Frist nicht eingehalten
34
7%
Arbeitet
4
Entwickler 4
Bewertung
(24)
Projekte
26
73%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(279)
Projekte
378
72%
Schlichtung
19
32% / 47%
Frist nicht eingehalten
16
4%
Frei
Veröffentlicht: 15 Beispiele
6
Entwickler 6
Bewertung
(22)
Projekte
29
3%
Schlichtung
4
25% / 0%
Frist nicht eingehalten
3
10%
Arbeitet
7
Entwickler 7
Bewertung
(33)
Projekte
36
33%
Schlichtung
5
0% / 80%
Frist nicht eingehalten
0
Arbeitet
Veröffentlicht: 2 Beispiele
8
Entwickler 8
Bewertung
(1)
Projekte
4
0%
Schlichtung
5
20% / 40%
Frist nicht eingehalten
2
50%
Frei
9
Entwickler 9
Bewertung
(8)
Projekte
9
33%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
0
Frei
10
Entwickler 10
Bewertung
(162)
Projekte
289
35%
Schlichtung
18
22% / 61%
Frist nicht eingehalten
43
15%
Frei
11
Entwickler 11
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(4)
Projekte
3
33%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(51)
Projekte
71
37%
Schlichtung
4
25% / 75%
Frist nicht eingehalten
1
1%
Frei
Veröffentlicht: 1 Beispiel
14
Entwickler 14
Bewertung
(13)
Projekte
22
41%
Schlichtung
8
0% / 50%
Frist nicht eingehalten
3
14%
Frei
15
Entwickler 15
Bewertung
(510)
Projekte
977
74%
Schlichtung
27
19% / 67%
Frist nicht eingehalten
100
10%
Arbeitet
Veröffentlicht: 1 Artikel, 6 Beispiele
16
Entwickler 16
Bewertung
(39)
Projekte
59
20%
Schlichtung
6
33% / 17%
Frist nicht eingehalten
1
2%
Arbeitet
Veröffentlicht: 2 Beispiele
17
Entwickler 17
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
18
Entwickler 18
Bewertung
(4)
Projekte
4
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
19
Entwickler 19
Bewertung
(252)
Projekte
462
26%
Schlichtung
139
20% / 60%
Frist nicht eingehalten
100
22%
Frei
20
Entwickler 20
Bewertung
(45)
Projekte
46
24%
Schlichtung
34
9% / 85%
Frist nicht eingehalten
10
22%
Frei
21
Entwickler 21
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
22
Entwickler 22
Bewertung
(7)
Projekte
6
0%
Schlichtung
4
25% / 75%
Frist nicht eingehalten
2
33%
Frei
23
Entwickler 23
Bewertung
(23)
Projekte
31
35%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
5
16%
Arbeitet
24
Entwickler 24
Bewertung
(298)
Projekte
478
40%
Schlichtung
105
40% / 24%
Frist nicht eingehalten
82
17%
Beschäftigt
Veröffentlicht: 2 Beispiele
25
Entwickler 25
Bewertung
(206)
Projekte
268
21%
Schlichtung
24
50% / 17%
Frist nicht eingehalten
0
Arbeitet
26
Entwickler 26
Bewertung
(7)
Projekte
7
0%
Schlichtung
0
Frist nicht eingehalten
2
29%
Frei
27
Entwickler 27
Bewertung
(258)
Projekte
269
29%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
3
1%
Arbeitet
Veröffentlicht: 2 Beispiele
28
Entwickler 28
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
29
Entwickler 29
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
Looking for a developer in NinjaTrader For coding Inst - ES,NQ Chart type - Tick, range, volume & time Brief- Fib levels mapped on chart which act as entries, tgts and stops all based on candle close. (Maybe) use MACD for filtering direction. Daily manual input of the TWO fib Anchor levels is part of the strategy. I need a well experienced developer to bid and before biding check the attached file well. the PDF and
1- The EA must h ave a unique strategy specialized on make trades with very very low RRR, so basicaly risking 1475$ to make 100$, with an ammount adjustable of trades per day. (This is very important that i wish in 100 trades, it makes a maximum of 10 trades of mistake, maybe less...) 2- The EA must have the strategy specialized on INDEX CFD. 3- The EA must make each trade with more than 3 minutes, and less than 12h
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
take your time better make it for days and have good bot than never benefits both of us. Make the bot have zero errors and backtest it for a 2 year period
Wise Legend 30 - 500 USD
I want this robot to alert me on a good entry point on the trading flat form ether to buy or to sell. And also alert me when to close the market. And alert me on market continuations
I have an existing MT5 Expert Advisor with the original MQ5 source code. I need an experienced MQL5 developer to review, debug and professionally improve the existing EA, not build an unrelated EA from scratch. The EA is mainly for XAUUSD and already contains entry signals, EMA filters, automatic lot sizing, basket profit management, spread/margin protection, news filtering and recovery logic. The main problem is the
I buy EA for USDEUR or XAUUSD for FTMO with proven backtest. Send me images with backtest reports where daily max dd is 1% on 200k account. I can buy several eas if you have them with proofs. Need images of backtesting for 5 years
Cerco uno sviluppatore MQL5 esperto per lavorare su un Expert Advisor (EA) XAUUSD per MetaTrader 5 già esistente , versione attuale XAU_V59.mq5 . L'obiettivo è modificare, correggere e sviluppare il codice esistente senza stravolgere la logica già presente , mantenendo le regole ei parametri già definiti, salvo le modifiche espressamente richieste. REQUISITI FONDAMENTALI Il codice deve essere scritto in MQL5 nativo e

Projektdetails

Budget
30+ USD