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
等级
(325)
项目
505
19%
仲裁
32
44% / 31%
逾期
34
7%
已载入
4
开发者 4
等级
(22)
项目
24
71%
仲裁
1
0% / 0%
逾期
0
工作中
5
开发者 5
等级
(278)
项目
373
72%
仲裁
18
33% / 44%
逾期
14
4%
工作中
发布者: 14 代码
6
开发者 6
等级
(21)
项目
28
4%
仲裁
4
25% / 0%
逾期
3
11%
工作中
7
开发者 7
等级
(32)
项目
35
34%
仲裁
5
0% / 80%
逾期
0
工作中
发布者: 2 代码
8
开发者 8
等级
(1)
项目
4
0%
仲裁
5
20% / 40%
逾期
2
50%
空闲
9
开发者 9
等级
(7)
项目
7
29%
仲裁
0
逾期
0
工作中
10
开发者 10
等级
(159)
项目
284
35%
仲裁
18
22% / 61%
逾期
42
15%
已载入
11
开发者 11
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(4)
项目
3
33%
仲裁
2
0% / 100%
逾期
0
空闲
13
开发者 13
等级
(51)
项目
69
35%
仲裁
4
25% / 75%
逾期
0
空闲
14
开发者 14
等级
(10)
项目
19
42%
仲裁
6
0% / 50%
逾期
3
16%
工作中
15
开发者 15
等级
(501)
项目
968
74%
仲裁
27
19% / 67%
逾期
100
10%
已载入
发布者: 1 文章, 6 代码
16
开发者 16
等级
(39)
项目
57
18%
仲裁
6
33% / 17%
逾期
1
2%
空闲
发布者: 2 代码
17
开发者 17
等级
项目
0
0%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
(4)
项目
4
0%
仲裁
1
0% / 100%
逾期
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
等级
(6)
项目
5
0%
仲裁
2
50% / 50%
逾期
2
40%
空闲
23
开发者 23
等级
(11)
项目
15
13%
仲裁
4
25% / 25%
逾期
4
27%
已载入
24
开发者 24
等级
(295)
项目
472
40%
仲裁
102
40% / 24%
逾期
78
17%
繁忙
发布者: 2 代码
25
开发者 25
等级
(177)
项目
229
20%
仲裁
20
40% / 20%
逾期
0
繁忙
26
开发者 26
等级
(6)
项目
6
0%
仲裁
0
逾期
2
33%
空闲
27
开发者 27
等级
(250)
项目
256
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
28
开发者 28
等级
项目
0
0%
仲裁
0
逾期
0
空闲
29
开发者 29
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
I am building a professional-grade survival EA for USDJPY designed to: Repeatedly pass FTMO-style challenges Sustain long-term funded accounts Deploy safely across multiple prop accounts This is not a retail scalper. This is a controlled EMA pullback engine with strict risk governance and anti-correlation logic . All parameters must be configurable. Defaults must match exactly as listed. Core Strategy – EMA Pullback
i am looking for someone to re program the EA so it enters on the red or green circle after it has been detected there is some lag so it enters 3 candles after the circle appears the logic of the EA needs to be changed so it can detect buy and sell opportunities like in the photo the circle shows a buy signal or sell signal ive attached the EA in the file, the indicator is in the link
I’m after someone to make me a forex ex for meta trader 5 it will be trading GBPUSD only but having to align with EURUSD and rules and entry’s based off weekly and daily vwap with 20 EMA
Key Requirements: ​ Zone Detection: The EA must read "Weak Support/Resistance" zones generated by my indicator (I will provide the .mq4/ex4 file). ​ Execution Logic: - Identify the candle with the longest wick within the detected liquidity zone. ​Place a Pending Order (Buy Stop/Sell Stop) 20 points (2 pips) before the breakout level of that wick. ​ Trade Management: ​Fixed SL: 40 points (4 pips). ​Fixed TP: 40 points
I have a open source Tradingview indicator that I want it to be converted to Ninja Trader8. I have attached it. Please let me know, if you can do it and for how muc
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss
Hi, I have a clear MT5 EA wrapper project with locked TSCEA, requiring enhanced execution logic (“pending OR better market” order handling). I can share detailed spec. Please let me know your availability and quote range. Thanks, Tom Pike ------------------------------------------------------------------------------------------------------------------------------ Title: MT5 Wrapper EA – “Limit Order OR Better
ICT_OneTrade_2R 100 - 200 USD
🔥 ICT_OneTrade_2R Precision. Discipline. Consistency. ICT_OneTrade_2R is a professional Expert Advisor designed for traders who value structured execution and controlled risk. This system is built around a fixed Risk-to-Reward ratio of 1:2 (RR 2.0) — meaning every trade is planned with precision: Risk 1 → Target 2. No randomness. No overtrading. Just one high-quality trade per session. ⚙️ Key Features ✔ Fixed RR 1:2
​ Description: I am looking for a professional MQL4 developer/quant trader with a proven track record in EA optimization. This project involves optimizing a third-party EA that currently has a 2-year live track record. ​ The Task: ​ In-Sample Optimization: Optimize the EA parameters using historical data prior to January 1, 2024. ​ Out-of-Sample (Walk-Forward): Validate the optimized settings against the period of
Hi , I have some indicators that I want set up on my TV chart and want to create one chart for some and another chart for some others. Plus I want to set up the brackets orders so I can trade from the chart. I have these set up somewhat but need it cleaned up and the way I want them. how much would something like this cost to do? I'm in California and would like you to show me so I can learn to do this when I want to

项目信息

预算
30+ USD