Drowdown based ea to monitor and prevent from drowdowning

명시

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)

 


응답함

1
개발자 1
등급
(2)
프로젝트
3
0%
중재
8
13% / 88%
기한 초과
1
33%
무료
2
개발자 2
등급
(16)
프로젝트
35
23%
중재
4
0% / 50%
기한 초과
2
6%
작업중
3
개발자 3
등급
(329)
프로젝트
515
19%
중재
35
46% / 31%
기한 초과
34
7%
작업중
4
개발자 4
등급
(24)
프로젝트
26
73%
중재
1
0% / 100%
기한 초과
0
무료
5
개발자 5
등급
(280)
프로젝트
378
72%
중재
19
32% / 47%
기한 초과
16
4%
무료
게재됨: 15 코드
6
개발자 6
등급
(22)
프로젝트
29
3%
중재
4
25% / 0%
기한 초과
3
10%
무료
7
개발자 7
등급
(33)
프로젝트
36
33%
중재
5
0% / 80%
기한 초과
0
작업중
게재됨: 2 코드
8
개발자 8
등급
(1)
프로젝트
4
0%
중재
5
20% / 40%
기한 초과
2
50%
무료
9
개발자 9
등급
(8)
프로젝트
9
33%
중재
1
100% / 0%
기한 초과
0
무료
10
개발자 10
등급
(162)
프로젝트
289
35%
중재
18
22% / 61%
기한 초과
43
15%
무료
11
개발자 11
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
12
개발자 12
등급
(4)
프로젝트
3
33%
중재
2
0% / 100%
기한 초과
0
무료
13
개발자 13
등급
(51)
프로젝트
71
37%
중재
4
25% / 75%
기한 초과
1
1%
작업중
게재됨: 1 코드
14
개발자 14
등급
(13)
프로젝트
23
39%
중재
8
0% / 50%
기한 초과
4
17%
무료
15
개발자 15
등급
(511)
프로젝트
978
74%
중재
27
19% / 67%
기한 초과
100
10%
무료
게재됨: 1 기고글, 6 코드
16
개발자 16
등급
(39)
프로젝트
59
20%
중재
6
33% / 17%
기한 초과
1
2%
무료
게재됨: 2 코드
17
개발자 17
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
18
개발자 18
등급
(4)
프로젝트
4
0%
중재
1
0% / 100%
기한 초과
0
무료
19
개발자 19
등급
(252)
프로젝트
462
26%
중재
139
20% / 60%
기한 초과
100
22%
무료
20
개발자 20
등급
(45)
프로젝트
46
24%
중재
34
9% / 85%
기한 초과
10
22%
무료
21
개발자 21
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
22
개발자 22
등급
(7)
프로젝트
6
0%
중재
4
25% / 75%
기한 초과
2
33%
무료
23
개발자 23
등급
(24)
프로젝트
32
38%
중재
4
50% / 25%
기한 초과
5
16%
작업중
24
개발자 24
등급
(298)
프로젝트
478
40%
중재
105
40% / 24%
기한 초과
82
17%
로드됨
게재됨: 2 코드
25
개발자 25
등급
(216)
프로젝트
284
20%
중재
28
61% / 14%
기한 초과
0
무료
26
개발자 26
등급
(7)
프로젝트
7
0%
중재
0
기한 초과
2
29%
무료
27
개발자 27
등급
(258)
프로젝트
269
29%
중재
2
50% / 0%
기한 초과
3
1%
작업중
게재됨: 2 코드
28
개발자 28
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
29
개발자 29
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
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

프로젝트 정보

예산
30+ USD