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 codes
6
開発者 6
評価
(20)
プロジェクト
26
4%
仲裁
4
0% / 0%
期限切れ
3
12%
仕事中
7
開発者 7
評価
(31)
プロジェクト
35
34%
仲裁
4
0% / 50%
期限切れ
0
仕事中
パブリッシュした人: 2 codes
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 article, 6 codes
16
開発者 16
評価
(39)
プロジェクト
57
18%
仲裁
6
33% / 17%
期限切れ
1
2%
パブリッシュした人: 2 codes
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 codes
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 codes
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
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
Looking for NinjaTrader 8 Developer I’m looking for an experienced NinjaTrader 8 (C#) developer to build a custom indicator based on the Jackson–Dalton Trading System . Requirements: Jackson zones (Z1 / Z2 / Z3) VWAP with volume-weighted standard deviation Session volume profile (POC, VAH, VAL) Day-type classification Configurable alerts Support for BTC/USDT and ETH/USDT Clean, modular code with full source Optional
Hey bro, can you help with NT8. On a vps, multiple algos and prop account but the strategies keep getting out of sync, going from true to false for no reason….. mid trade it pops errors.The algo codes are locked… other than that it’s open VPs, NT8 and strategy is open You will notice in the strategies xml that there are standard, then 100k and 50k versions…… Also I did version that are in strategy labeled "Apex"
I would like to create an indicator for my strategy on trading view , my strategy involves a liquidity sweep , wick or candle body closure , this needs to happen inside a higher time frame pd array such as a fair value gap that’s atleast 5m + and there needs to be an inversion fair value gap for my entry , I want the fair value gaps on all time frames so I can see them all on the 1 minute chart but i want the fair
can you help me with making a simple tradingview/script that draws boxes labeling consolidation areas according to my specifications? IF anyone can help with this kindly do well to bid to this so we can discuss more about the project thanka
MetaTrader 5 (MQL5) için Expert Advisor geliştirecek TÜRK MQL5 yazılımcı arıyorum. 📌 Gereksinimler: - MQL5 diline hâkim (MT5 native) - Daha önce çalışır EA / indikatör teslim etmiş - Temiz, modüler ve yorumlu kod yazabilen - Debug ve backtest sürecine destek verebilen - Kaynak kodu (.mq5) teslim edebilen 📌 EA Özeti: - Kendi stratejime uygun işlem alacak - Xauusd ve SPX500 işlem alacak. - Günlük bias kontrolü
I'm seeking a NinjaTrader indicator and scanner to identify stock patterns for swing trading. I need this tool to help pinpoint swing highs and lows and key levels, covering various timeframes. Scope of work - Develop NinjaTrader indicator for last swing high and low - Implement key level marking for supply and demand zones - Create a market analyser scanner for reversal, structure shifts, and breakout patterns -

プロジェクト情報

予算
30+ USD