Drowdown based ea to monitor and prevent from drowdowning

Specifiche

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)

 


Con risposta

1
Sviluppatore 1
Valutazioni
(2)
Progetti
3
0%
Arbitraggio
8
13% / 88%
In ritardo
1
33%
Gratuito
2
Sviluppatore 2
Valutazioni
(16)
Progetti
35
23%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
3
Sviluppatore 3
Valutazioni
(329)
Progetti
515
19%
Arbitraggio
35
46% / 31%
In ritardo
34
7%
In elaborazione
4
Sviluppatore 4
Valutazioni
(24)
Progetti
26
73%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(280)
Progetti
378
72%
Arbitraggio
19
32% / 47%
In ritardo
16
4%
Gratuito
Pubblicati: 15 codici
6
Sviluppatore 6
Valutazioni
(22)
Progetti
29
3%
Arbitraggio
4
25% / 0%
In ritardo
3
10%
Gratuito
7
Sviluppatore 7
Valutazioni
(33)
Progetti
36
33%
Arbitraggio
5
0% / 80%
In ritardo
0
In elaborazione
Pubblicati: 2 codici
8
Sviluppatore 8
Valutazioni
(1)
Progetti
4
0%
Arbitraggio
5
20% / 40%
In ritardo
2
50%
Gratuito
9
Sviluppatore 9
Valutazioni
(8)
Progetti
9
33%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(162)
Progetti
289
35%
Arbitraggio
18
22% / 61%
In ritardo
43
15%
Gratuito
11
Sviluppatore 11
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(4)
Progetti
3
33%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(51)
Progetti
71
37%
Arbitraggio
4
25% / 75%
In ritardo
1
1%
In elaborazione
Pubblicati: 1 codice
14
Sviluppatore 14
Valutazioni
(13)
Progetti
23
39%
Arbitraggio
8
0% / 50%
In ritardo
4
17%
Gratuito
15
Sviluppatore 15
Valutazioni
(511)
Progetti
978
74%
Arbitraggio
27
19% / 67%
In ritardo
100
10%
Gratuito
Pubblicati: 1 articolo, 6 codici
16
Sviluppatore 16
Valutazioni
(39)
Progetti
59
20%
Arbitraggio
6
33% / 17%
In ritardo
1
2%
Gratuito
Pubblicati: 2 codici
17
Sviluppatore 17
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
18
Sviluppatore 18
Valutazioni
(4)
Progetti
4
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
(252)
Progetti
462
26%
Arbitraggio
139
20% / 60%
In ritardo
100
22%
Gratuito
20
Sviluppatore 20
Valutazioni
(45)
Progetti
46
24%
Arbitraggio
34
9% / 85%
In ritardo
10
22%
Gratuito
21
Sviluppatore 21
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
23
Sviluppatore 23
Valutazioni
(24)
Progetti
32
38%
Arbitraggio
4
50% / 25%
In ritardo
5
16%
In elaborazione
24
Sviluppatore 24
Valutazioni
(298)
Progetti
478
40%
Arbitraggio
105
40% / 24%
In ritardo
82
17%
Caricato
Pubblicati: 2 codici
25
Sviluppatore 25
Valutazioni
(216)
Progetti
284
20%
Arbitraggio
28
61% / 14%
In ritardo
0
Gratuito
26
Sviluppatore 26
Valutazioni
(7)
Progetti
7
0%
Arbitraggio
0
In ritardo
2
29%
Gratuito
27
Sviluppatore 27
Valutazioni
(258)
Progetti
269
29%
Arbitraggio
2
50% / 0%
In ritardo
3
1%
In elaborazione
Pubblicati: 2 codici
28
Sviluppatore 28
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
29
Sviluppatore 29
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
I’m looking for someone who can develop and optimize high-quality strategies/setfiles for my existing, custom-built Martingale EA. I will be selecting a developer within the next few hours. I immediately reject applicants who don’t clearly explain their approach and what they plan to do. I want to know your strategy, your methodology, and exactly how you intend to tackle this. Please explain your plans in detail
🚀 THE AIRAK PHASE 3: SUBSCRIPTION, PAYMENT, LICENSING & AFFILIATE SYSTEM Project: THE AIRAK Trading Assistant Development Phase: Phase 3 Project Owner: Kayemba Joseph Platform: MetaTrader 5 (MT5) 1. PROJECT OBJECTIVE Phase 3 is intended to transform THE AIRAK into a subscription-based trading software business. The system should allow customers to register, purchase subscriptions, receive automatically activated
PROJECT: ADVANCED MT4/MT5 EA OPTIMIZATION – AUTOMATED TRADING, DYNAMIC PROFIT LOCKING, AUTO LOT & PROFESSIONAL RISK MANAGEMENT Hello Developer, I already have an existing Expert Advisor (EA) for MetaTrader 4/5. It is currently running, but I need an experienced MQL4/MQL5 developer to fix its problems and improve its trading performance, execution, risk management, and reliability. I want to preserve the original
I want an advanced automated Expert Advisor (EA) trading robot developed for MetaTrader 5 (MT5), compatible with Exness trading accounts. The robot should have the following features: 1. AUTOMATED TRADING - Automatically execute BUY and SELL trades. - Identify strong trading opportunities. - Analyse market trends before entering trades. - Operate without requiring manual trade execution. 2. ADVANCED MARKET ANALYSIS -
Can you do a 5 year back test on /6e (fx euro). using 30 minute chart. Buy to open if macd histogram is above 0 line, or sell to open if macd histogram is below 0 line at 7:30 pm eastern standard time. Close position at 7:30 am next morning. Trade stays open for the entire 12 hour time. thanks, regarding backtest, forgot to mention $300 stop loss, and $500 take profit. Thank you
Hi! I have a general strategy concept, but I would like you to help develop and define the exact trading rules. The planned strategy is: * Instrument: MNQ futures * Platform: NinjaTrader 8 * M30 timeframe for identifying the main trend * M5 timeframe for trade entries * RSI and MACD indicators * Support and resistance levels * Fully automated entries and exits * Automatic Stop Loss, Take Profit and Trailing Stop *
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd
Seeking Experienced Forex EA Developer – Currency Strength Meter Strategy Optimization (MT4/MT5) I am looking for an experienced Forex EA developer and quantitative trading strategist to help improve, optimize, and professionally test my existing Expert Advisor (EA). My EA is based on a Currency Strength Meter strategy, which identifies strong and weak currencies and automatically executes trades by pairing a strong
I am looking for a quantitative strategy researcher and MQL5 developer to help research, validate and prototype a fast automated XAUUSD trading system for MT5. The target is tick-level trading with positions typically held for seconds, closely spaced entries, and configurable bursts of multiple positions during a qualifying opportunity. IMPORTANT: We do not yet have a validated profitable strategy. I need someone who

Informazioni sul progetto

Budget
30+ USD