Specification
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:
- First warning level (e.g. -€200)
- 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)
Responded
1
Rating
Projects
3
0%
Arbitration
8
13%
/
88%
Overdue
1
33%
Free
2
Rating
Projects
35
23%
Arbitration
4
0%
/
50%
Overdue
2
6%
Working
3
Rating
Projects
515
19%
Arbitration
35
46%
/
31%
Overdue
34
7%
Working
4
Rating
Projects
26
73%
Arbitration
1
0%
/
100%
Overdue
0
Free
5
Rating
Projects
378
72%
Arbitration
19
32%
/
47%
Overdue
16
4%
Free
Published: 15 codes
6
Rating
Projects
29
3%
Arbitration
4
25%
/
0%
Overdue
3
10%
Working
7
Rating
Projects
36
33%
Arbitration
5
0%
/
80%
Overdue
0
Working
Published: 2 codes
8
Rating
Projects
4
0%
Arbitration
5
20%
/
40%
Overdue
2
50%
Free
9
Rating
Projects
9
33%
Arbitration
1
100%
/
0%
Overdue
0
Free
10
Rating
Projects
289
35%
Arbitration
18
22%
/
61%
Overdue
43
15%
Free
11
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
12
Rating
Projects
3
33%
Arbitration
2
0%
/
100%
Overdue
0
Free
13
Rating
Projects
71
37%
Arbitration
4
25%
/
75%
Overdue
1
1%
Free
Published: 1 code
14
Rating
Projects
22
41%
Arbitration
8
0%
/
50%
Overdue
3
14%
Free
15
Rating
Projects
977
74%
Arbitration
27
19%
/
67%
Overdue
100
10%
Working
Published: 1 article, 6 codes
16
Rating
Projects
59
20%
Arbitration
6
33%
/
17%
Overdue
1
2%
Working
Published: 2 codes
17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Rating
Projects
4
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
19
Rating
Projects
462
26%
Arbitration
139
20%
/
60%
Overdue
100
22%
Free
20
Rating
Projects
46
24%
Arbitration
34
9%
/
85%
Overdue
10
22%
Free
21
Rating
Projects
1
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
22
Rating
Projects
6
0%
Arbitration
4
25%
/
75%
Overdue
2
33%
Free
23
Rating
Projects
31
35%
Arbitration
4
50%
/
25%
Overdue
5
16%
Working
24
Rating
Projects
478
40%
Arbitration
105
40%
/
24%
Overdue
82
17%
Loaded
Published: 2 codes
25
Rating
Projects
268
21%
Arbitration
24
50%
/
17%
Overdue
0
Working
26
Rating
Projects
7
0%
Arbitration
0
Overdue
2
29%
Free
27
Rating
Projects
268
29%
Arbitration
1
100%
/
0%
Overdue
3
1%
Loaded
Published: 2 codes
28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Looking for a developer in NinjaTrader For coding Inst - ES,NQ Chart type - Tick, range, volume & time Brief- Fib levels mapped on chart which act as entries, tgts and stops all based on candle close. (Maybe) use MACD for filtering direction. Daily manual input of the TWO fib Anchor levels is part of the strategy. I need a well experienced developer to bid and before biding check the attached file well. the PDF and
Експерт по хибному пробою
30 - 50 USD
Потрібен робот, який відкриває відкладені ордери в напрямку, протилежному поточній ринковій ціні (ордер Sell Stop, якщо ринкова ціна вище, і ордер Buy Stop, якщо ринкова ціна нижче). Модельований сценарій – хибний прорив
1- The EA must h ave a unique strategy specialized on make trades with very very low RRR, so basicaly risking 1475$ to make 100$, with an ammount adjustable of trades per day. (This is very important that i wish in 100 trades, it makes a maximum of 10 trades of mistake, maybe less...) 2- The EA must have the strategy specialized on INDEX CFD. 3- The EA must make each trade with more than 3 minutes, and less than 12h
I need an MT4 Expert Advisor (MQL4). 1. Open one Buy and one Sell trade simultaneously. 2. Adjustable lot size (default 0.01). 3. Stop Loss on both trades. 4. If one trade hits Stop Loss: - Do not open a replacement trade. - Leave the remaining trade open. 5. Optional trailing stop: - On/Off switch. - Adjustable distance. 6. When the remaining trade closes: - Open a new Buy and Sell pair. - Repeat continuously
EA based on MACD & HMA crossovers
300+ USD
*JOB TITLE:* `MQL5 EA: 8-Indicator Confluence Bot for XAUUSD, US30, NAS100, DE40 + News + DD Protection` *BUDGET:* $300 - $400 *TIMELINE:* 10 - 14 days *PLATFORM:* MetaTrader 4 & 5 *ATTACHMENTS:* `Indicators.zip` = 10 indicators + 5 screenshots with all settings --- *1. CORE TRADING LOGIC - ON CANDLE CLOSE ONLY* *BUY when ALL conditions are TRUE:* 1. Price > 200 SMA 2. `Reversal Indicator` = UP arrow/dot 3
Hi, I Wanne have a trading robot that give me signals for short buy and sell. And only for all currency in forex trading and also can use it on mt5
I want a scalping Ea robot based on EMA crossover
30 - 200 USD
the bot will be used for xauusd scalp trading , want the bor follow the trading indicator will SL and open another opposite order where i can customize the SL margin and risk management
Modification of an existing MQL5 EA TH-05
30 - 300 USD
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
The Ultimate Trading Bot
30+ USD
take your time better make it for days and have good bot than never benefits both of us. Make the bot have zero errors and backtest it for a 2 year period
Project information
Budget
30+ USD