Guard monitor EA, Failed market Delay, Close EA (No Stop EA), SendNotification

MQL5 Indicadores Asesores Expertos

Tarea técnica

List:
Close EA (No Stop EA) 2,3,4
SendNotification 1
Guard monitor EA 7,8,12,13,14
Failed market Delay 5
ToDeveloper 9,10,11
interval 15



Modification 7:
Added 1 feature to the Expert Advisor (EA):
Maximum number of consecutive losing orders = 500
Uncounted loss orders (losses >= N pips) = 300
symbol magic number
XAUJPYm 834
Explanation: This EA has a maximum of 500 consecutive losing orders. If this limit is exceeded, a notification will be sent: "EA_834(XAUJPYm)_Exceeded Maximum Number of Consecutive Losing Orders_Safety Control Activated." After stopping, close the EA.
This function allows the EA to check its historical trading records.
This function does not calculate the total number of consecutive losing orders for the entire account, but rather the consecutive losing orders for the EA itself.
Condition 1: Losing orders closed within the same number of seconds will only be counted once.
For example 1, if 6 orders close at a loss within the same number of seconds, it will only be counted once.
For example 2, if 13 orders with different comments close at a loss within the same number of seconds, it will only be counted once.
For example3, if 5 orders with different comments close at the same time ("2026.02.26 03:15:39") and are considered losing orders, they will only be counted once.
Then, if 6 orders close at the same time ("2026.02.26 03:15:42") and are considered losing orders, they will only be counted once, for a total of 2 counts.
Then, if 5 orders at different times are consecutively losing orders, they will only be counted 5 times, for a total of 7 counts.
Then, if 6 orders are consecutively losing orders, but 2 of them exceed 300 pips in loss, they will only be counted 4 times, for a total of 11 counts.
The counting will reset only when a profitable order is closed.
Remark: The function belongs to "Guard monitor EA" function.
-----------------------------------------------------------------------------------------------------------
Modification 8:
Add 3 conditional statements about "The EA continuously monitors the status of the current step and the previous step". 
Previous_Price_Points_Steps_Deviation = 100
Case1:
Direction_Steps = s s b
Price_Points_Steps = 0 -200 4000
If the distance between the current step "b" and the previous step "s" is <= 3900 because of (4000-100), send a notification "EA_834_EURUSD_Status anomaly of current step and previous step (Price_Points_Steps)_step2_4000", then close the EA order and the EA. 
The notification format is: = EA_"magic number"_"symbol"_Status anomaly of current step and previous step (Price_Points_Steps)_"current stepN"_"Price_Points_Steps value"
Case2:
Direction_Steps = b s
Price_Points_Steps = 0 -4000
If the distance between the current step "s" and the previous step "b" is >= -3900 because of (-4000+100), send the notification "EA_834_EURUSD_Current Step and Previous Step Status Anomaly (Price_Points_Steps)_step1_-4000", then close the EA order and the EA.
Case3:
the current step buy order(include b,b#) = 3001.22
the previous step sell order(include s,s#) = 3001.23
If the price of the current step buy order(include b,b#) is below the price of the previous step sell order(include s,s#), send the notification "EA_834_ETHUSD_Current Step and Previous Step Status Anomaly (Direction_Steps)_step4", then close the EA order and the EA. 
The notification format is: EA_"magic number"_"symbol"_Current Step and Previous Step Status Anomaly (Direction_Steps)_"current stepN"
Remark: The function belongs to "Guard monitor EA" function.
-----------------------------------------------------------------------------------------------------------
Modification 12: 
Next_Price_Points_Steps_Deviation = 1000
If the EA detects that an order has met the conditions for opening an order, and this condition has been exceeded by 1000 pips for 10 minutes, it will begin sending a notification, after which the EA will attempt to replenish the order.
If, for unknown reasons, the order still does not exist, and this condition has been exceeded by 1000 pips for 30 minutes, a second notification will be sent, after which the EA will attempt to replenish the order.
If, for unknown reasons, the order still does not exist, and this condition has been exceeded by 1000 pips for 120 minutes, a third notification will be sent, after which the EA will attempt to replenish the order.
If, for unknown reasons, the order still does not exist, and this condition has been exceeded by 1000 pips for 4320 minutes, a fourth notification will be sent, after which all orders will be closed, and the EA will be shut down.
Case1:
string Direction_Steps= b b b s 
string Driection_Lots= 0.01 0.02 0.03 0.18 
string Price_Points_Steps= 0 -600 -1200 -1200
For example:
3600.12 <--- step0
3594.12 <--- step1
3582.12 <--- step2 "current step"
3570.12 <--- step3 "next step"
A price less than 3570.12 is the condition for starting an order in step3.
The first notification will be sent if the price is below 3560.12 (because 3570.12 - 1000 pips) and remains so for more than 10 minutes. The notification will then be: "EA_834_ETHUSD_STEP3_Price has met the condition to open an order at 3570.12, but the order has not been opened after 10 minutes." EA will then attempt to add the order. 
If, for unknown reasons, the order still does not exist, and the price exceeds the opening condition by 1000 pips and remains so for 30 minutes, the notification will be: "EA_834_ETHUSD_STEP3_Price has met the condition to open an order at 3570.12, but the order has not been opened after 30 minutes." The EA will then attempt to add the order. 
If the order still doesn't exist for unknown reasons, exceeding the order activation requirements of 1000 pips and lasting for 120 minutes. The EA will then send a notification: "EA_834_ETHUSD_STEP3_Price has met the order activation requirement of 3570.12, but no order has been activated after 120 minutes." The EA will then attempt to add the order. 
If the order still doesn't exist for unknown reasons, exceeding the order activation requirements of 1000 pips and lasting for 4320 minutes, a fourth notification will be sent: "EA_834_ETHUSD_STEP3_The next step cannot be activated even after exceeding the order activation requirements of 1000 pips and 4320 minutes. Safety Control Activated. EA stopped." The EA will then stop, close all orders, and then shut down.
Remark: The function belongs to "Guard monitor EA" function.
-----------------------------------------------------------------------------------------------------------
Modification 13:
Holding current orders (not historical orders), If an order has 3 or more duplicates with the same symbol, magic number, and comment,
for example, if there are 5 duplicates,
the EA (Expert Advisor) will delete 4 of the duplicate orders, keeping only 1, and send a notification: "EA has found 5 duplicates with the same symbol, magic number, and comment; this has been corrected." If, after correction, there are still 3 or more duplicates with the same symbol, magic number, and comment, the EA will close all orders and send a notification: "EA has found the same product, magic number, and comment for the second time, therefore the EA is forcibly closed." The EA will then be close all order and then shut down.
Remark: The function belongs to "Guard monitor EA" function.
-----------------------------------------------------------------------------------------------------------
Modification 14:
An Expert Advisor (EA) can open a maximum of 100 orders within every <=200 seconds and <=500 pips.
If this limit is exceeded, the EA will be stopped, the orders closed, and the EA closed, and a notification sent. 
Stopping the Expert Advisor (EA) before closing the order prevents the EA from continuously closing orders while simultaneously opening new ones.
The notification format is: "Indications of continuously opening orders - More than 100 orders opened within 200 seconds and 500 pips, EA closed (EA_magic number_symbol_comment)".
EA Function Name  Parameters
Maximum Number Of Orders Allowed  100
Monitor Each Time Range (in seconds) 200
Monitor Each Price Range (in pips) 500


Han respondido

1
Desarrollador 1
Evaluación
(51)
Proyectos
69
35%
Arbitraje
4
25% / 75%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(18)
Proyectos
22
9%
Arbitraje
6
33% / 50%
Caducado
1
5%
Trabaja
3
Desarrollador 3
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
4
Desarrollador 4
Evaluación
(3)
Proyectos
6
0%
Arbitraje
0
Caducado
3
50%
Trabaja
5
Desarrollador 5
Evaluación
(3)
Proyectos
4
0%
Arbitraje
1
100% / 0%
Caducado
1
25%
Trabaja
6
Desarrollador 6
Evaluación
(309)
Proyectos
555
35%
Arbitraje
79
32% / 42%
Caducado
201
36%
Trabaja
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(73)
Proyectos
257
53%
Arbitraje
16
50% / 38%
Caducado
83
32%
Libre
9
Desarrollador 9
Evaluación
(32)
Proyectos
32
63%
Arbitraje
1
0% / 0%
Caducado
1
3%
Trabaja
Ha publicado: 5 ejemplos
10
Desarrollador 10
Evaluación
(10)
Proyectos
19
42%
Arbitraje
6
0% / 50%
Caducado
3
16%
Trabaja
11
Desarrollador 11
Evaluación
(4)
Proyectos
5
0%
Arbitraje
1
0% / 100%
Caducado
1
20%
Libre
12
Desarrollador 12
Evaluación
(253)
Proyectos
259
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
13
Desarrollador 13
Evaluación
(9)
Proyectos
12
8%
Arbitraje
3
33% / 67%
Caducado
1
8%
Trabaja
14
Desarrollador 14
Evaluación
(28)
Proyectos
39
23%
Arbitraje
14
0% / 93%
Caducado
4
10%
Trabaja
15
Desarrollador 15
Evaluación
(3)
Proyectos
7
57%
Arbitraje
1
0% / 100%
Caducado
1
14%
Libre
16
Desarrollador 16
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I am looking for a quality coder that know the work to be done, i will only select coder with good feedback review be aware. price is flexible. I am looking to make an indicator based on API info from brokers. you will need to search if possible or not and what not possible be upfront and clear. The indicator design must be very confortable, easily readable, adjusteed based on different screen , compatibility is
We are looking for an experienced TradingView / Technical Analysis expert who can suggest and build the best combination of indicators for a profitable and structured trading strategy. This is not about random indicator stacking. We need someone who understands market structure, confirmation logic, risk management, and strategy optimization. The goal is to create a clean, high-probability setup with minimal false
Indicator 100+ USD
Does anyone know what indicator this is on the image because I'm looking for something like this but just a bit more sensitive. Speaking about the diamonds all the rest is irrelevant
Hello . Hello I already have an indicator on TradingView written in Pine Script. I need some modifications and fixes for the existing indicator. The indicator sometimes gives wrong signals and I want to improve it. I will provide the Pine Script source code. The developer should check the code, fix the problems, and adjust the logic if needed
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Kindly see details below BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or the last 10, BBStops is Bearish 3. On this candle , or the last 10, price was < or = MA1 4. Instrument is in trend (STEP MA1 and STEP MA 2 are both Bullish) 5. Distance in pips between Lowest price during last time BBstop was Bearish, and the value of Step MA 1 at last bearish candle of Step MA1
EA requirements and necessary correction to be done . The EA monitors the PROFIT of open positions and turns ON or OFF the ALGO TRADING accordingly. By PROFIT I mean the SUM of profit + commission + swap. The EA will have two strategies, the INITIAL and the SECONDARY. Each one of them will be selectable by the user in the EA inputs. Let me explain here how the EA will operate: 1. INITIAL strategy: ·
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
Hello, I have an MQ4 indicator that works with a specific strategy. I want to modify some aspects and convert the file to MQ5. It's simple and won't take much effort or time for someone experienced in this field. Ideally, the person undertaking this task should be familiar with the MX2Trading software, as I will be using it to transfer the signals from the indicator to the trading platform

Información sobre el proyecto

Presupuesto
30+ USD

Cliente

(14)
Encargos realizados51
Número de arbitrajes0