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
등급
(15)
프로젝트
34
24%
중재
4
0% / 50%
기한 초과
2
6%
작업중
3
개발자 3
등급
(321)
프로젝트
497
19%
중재
33
42% / 30%
기한 초과
32
6%
바쁜
4
개발자 4
등급
(21)
프로젝트
23
70%
중재
0
기한 초과
0
로드됨
5
개발자 5
등급
(271)
프로젝트
366
71%
중재
18
33% / 44%
기한 초과
14
4%
무료
게재됨: 14 코드
6
개발자 6
등급
(20)
프로젝트
26
4%
중재
4
0% / 0%
기한 초과
3
12%
작업중
7
개발자 7
등급
(31)
프로젝트
35
34%
중재
4
0% / 50%
기한 초과
0
작업중
게재됨: 2 코드
8
개발자 8
등급
(1)
프로젝트
4
0%
중재
5
20% / 40%
기한 초과
2
50%
무료
9
개발자 9
등급
(5)
프로젝트
5
20%
중재
0
기한 초과
0
작업중
10
개발자 10
등급
(159)
프로젝트
284
35%
중재
17
24% / 59%
기한 초과
42
15%
로드됨
11
개발자 11
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
12
개발자 12
등급
(3)
프로젝트
3
33%
중재
0
기한 초과
0
작업중
13
개발자 13
등급
(51)
프로젝트
69
35%
중재
4
25% / 75%
기한 초과
0
무료
14
개발자 14
등급
(9)
프로젝트
18
39%
중재
6
0% / 33%
기한 초과
3
17%
로드됨
15
개발자 15
등급
(489)
프로젝트
948
75%
중재
26
19% / 65%
기한 초과
100
11%
바쁜
게재됨: 1 기고글, 6 코드
16
개발자 16
등급
(39)
프로젝트
57
18%
중재
6
33% / 17%
기한 초과
1
2%
무료
게재됨: 2 코드
17
개발자 17
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
18
개발자 18
등급
(4)
프로젝트
4
0%
중재
0
기한 초과
0
무료
19
개발자 19
등급
(250)
프로젝트
460
26%
중재
140
20% / 59%
기한 초과
100
22%
작업중
20
개발자 20
등급
(45)
프로젝트
46
24%
중재
34
9% / 85%
기한 초과
10
22%
무료
21
개발자 21
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
22
개발자 22
등급
(5)
프로젝트
4
0%
중재
2
50% / 50%
기한 초과
2
50%
무료
23
개발자 23
등급
(5)
프로젝트
7
0%
중재
3
33% / 33%
기한 초과
3
43%
바쁜
24
개발자 24
등급
(294)
프로젝트
469
39%
중재
100
41% / 23%
기한 초과
77
16%
로드됨
게재됨: 2 코드
25
개발자 25
등급
(175)
프로젝트
225
20%
중재
19
42% / 16%
기한 초과
0
로드됨
26
개발자 26
등급
(5)
프로젝트
5
0%
중재
0
기한 초과
1
20%
작업중
27
개발자 27
등급
(246)
프로젝트
253
30%
중재
0
기한 초과
3
1%
무료
게재됨: 2 코드
28
개발자 28
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
29
개발자 29
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
I want to create an SMC bot base on ICT and Market structure,the bot must be able to keep adding on more positions while started.The bot must have a perfect risk management
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
Title: Ultimate Quantum EA V1.01 | Dynamic Hedge Recovery System Description: Professional automated trading system designed for high-precision execution and advanced risk management. Key Features: Dynamic Hedge Recovery: Automatically manages losing trades by opening calculated hedge positions (2x-3x) to exit in total profit. Basket Profit Management: Closes all open positions once the total dollar profit target is
Subject: Experienced MQL5 Developer | High-Quality Execution & Error Handling "Hello, I am interested in developing your trading system. I specialize in building robust MQL5 Expert Advisors that are not only logically sound but also technically optimized for the MT5 platform. Why work with me? Error-Free Execution: I have deep experience in handling common MT5 execution errors such as Invalid Volume, Not Enough

프로젝트 정보

예산
30+ USD