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
(328)
Projekte
513
19%
Schlichtung
35
43% / 31%
Frist nicht eingehalten
34
7%
Beschäftigt
4
Entwickler 4
Bewertung
(24)
Projekte
26
73%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(279)
Projekte
377
72%
Schlichtung
19
32% / 47%
Frist nicht eingehalten
15
4%
Arbeitet
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
8
38%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
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
(12)
Projekte
21
43%
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%
Frei
Veröffentlicht: 1 Artikel, 6 Beispiele
16
Entwickler 16
Bewertung
(39)
Projekte
58
19%
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
(21)
Projekte
28
32%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
4
14%
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
(202)
Projekte
262
21%
Schlichtung
23
52% / 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
266
29%
Schlichtung
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
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
JOB TITLE: XAUUSD ONLY MQL5 Strategy Developer Needed To Improve Existing MT5 EA Winrate JOB DESCRIPTION: I already have a working MetaTrader 5 Expert Advisor with a fixed set file and existing trading logic. The strategy is based on Volume Profile / Delta bias, ATR-based TP/SL, ATR deviation filtering, ATR trade spacing, break-even after TP1, and TP lock management. I am looking for an experienced MQL5 / trading
Can you Build a custom NinjaTrader 8 ChartStyle or BarsType called Optimized Footprint Bars. This project is urgent and i need someone that's wiiling to do his project with me kinldy bid for this. Thanks
Hello, I am reopening this project with a fully updated and clarified specification. I am looking for a high‑level MQL5 developer who can deliver a clean, stable, and professional Phase 1 version of my: Institutional‑Grade Multi‑Currency MT5 EA (A2SR + SMC + Smart Recovery + Smart Grid + Liquidity + Volatility + Safety Filters) This EA is not a simple indicator conversion or a basic strategy. It is a structured
Hello, I'm interested in a quote to convert my manual trading strategy into an automated strategy for NinjaTrader. Please note, I would like the quote based on the work and not my available budget; therefore, I entered $5 for the budget. Additionally, I would appreciate knowing how long it would take to build/test. I would prefer to have it sooner rather than later but selected 7 days not knowing how long it takes to
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
Project goal: To code several items for Ninja Trader, ranging from simple to more complex tasks, with potential for ongoing collaboration. Scope of work: - Develop code for specific items in Ninja Trader. - Implement minor functionalities like a line at a time level. - Address more complex coding needs as they arise

Projektdetails

Budget
30+ USD