Modify existing EA to add safety feature

Trabajo finalizado

Plazo de ejecución 3 minutos
Comentario del Ejecutor
Pleasure working with you! Thank you!
Comentario del Cliente
Freelancer is a great guy. He was able to complete the project as described. If there are more stars in the rating, I would give him 10 for perfect programming he did in my EA.

Tarea técnica

The project for the existing EA and is as follows:

Add safety feature to avoid over trade from different 8 SIGNAL NAME.

 example:
this EA enters a trades with BUY and pending predetermine SELL order. when, SELL pending price is hit, EA opens BUY pending order and so on and so forth like a zigzag.

the safety feature I want to be added to this EA is to limit of opening pending orders.  I'm open to suggestion to make it easy, but current functions should not be affected with the modification.

Safety Feature is as follows:

Check money balance before EA opens another pending order. if balance is below required to open pending order, calculate difference between all BUYs and SELLs order.

example:
Order TypeLot SizeTrade Comment
BUY0.01SIGNAL NAME_BUY
SELL0.02SIGNAL NAME_SELL_Recover-Sell
BUY0.04SIGNAL NAME_BUY_Recover-Buy
SELL0.08SIGNAL NAME_SELL_Recover-Sell
BUY0.16SIGNAL NAME_BUY_Recover-Buy
SELL0.32 terminal message = ERR_NOT_ENOUGH_MONEY

Total BUY   -   Total SELL
0.01                0.02
0.04                0.08
0.16
__________________

0.21           -    0.10    =   0.11  + LOTSTEP = SafetyLotSize

if terminal still returns ERR_NOT_ENOUGH_MONEY

subtract SafetyLotSize by LOTSTEP => (0.11 + LOTSTEP) - LOTSTEP = SafetyLotSize

do this until terminal accepts lot size, then Lot size = SafetyLotSize

change trade comment = Signal Name_SafetyMoney. then, no pending order will be open with this SIGNAL NAME until all open trade of SIGNAL NAME are close.

when SIGNAL NAME profit = $ 0.00, close all trade for this SIGNAL NAME.


PLEASE test EA in tester before sending for demonstration.  Thank you.



Han respondido

1
Desarrollador 1
Evaluación
(45)
Proyectos
59
42%
Arbitraje
5
0% / 60%
Caducado
12
20%
Libre
2
Desarrollador 2
Evaluación
(2413)
Proyectos
3033
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Libre
3
Desarrollador 3
Evaluación
(102)
Proyectos
132
41%
Arbitraje
19
16% / 53%
Caducado
20
15%
Trabajando
4
Desarrollador 4
Evaluación
(194)
Proyectos
198
27%
Arbitraje
0
Caducado
3
2%
Libre
5
Desarrollador 5
Evaluación
(88)
Proyectos
143
39%
Arbitraje
21
19% / 48%
Caducado
30
21%
Libre
6
Desarrollador 6
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
7
Desarrollador 7
Evaluación
(365)
Proyectos
412
36%
Arbitraje
35
26% / 57%
Caducado
63
15%
Libre
8
Desarrollador 8
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
9
Desarrollador 9
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
10
Desarrollador 10
Evaluación
(119)
Proyectos
127
41%
Arbitraje
3
33% / 67%
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(1853)
Proyectos
3455
88%
Arbitraje
73
40% / 15%
Caducado
265
8%
Libre
12
Desarrollador 12
Evaluación
(1)
Proyectos
2
0%
Arbitraje
0
Caducado
1
50%
Libre
13
Desarrollador 13
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
Create script to move multiple take profits (from multiple trades) at one time. Typically for a single currency pair Summary: There are multiple trades in 1 currency pair There are multiple take profits, 1 for each trade I want a script to be built to modify all the take profits at one time There may be up to 20 take profits, from 20 different trades that I want to be able to move/adjust all at one time, very easily
Simple EA 30+ USD
I need an EA that closes all orders (open and pending) when my total balance for the day (including already closed orders) has reached a certain number of Pips or Financial. I need one field in the EA to close at profit and another to close at loss. For example, I close all orders if I reach 8 pips of profit or 15 pips of loss, whichever comes first 1 - Close all orders when you reach X Pips (including orders already
Hello Dear Community of MQL5, I would like to create an EA that opens and closes positions depending on the Ehlers-Fishers Transform Indicator. When E-F transform turns into green would like to open a buy position, when it is red it should trigger a sell position. when the signal turns around it should close the last position open new one with the opposite position. all the variables should be editable from a user
Hello! Will you be able to program an MT4 EA, running on an offline renko charts? Based on attached indicators signals? An EA that generates the renko charts is also attached. If yes come to dm now
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
Hi all, I am looking for someone who can build me a trading bot that uses the MA crossover as signal, the MACD as confirmation and Average True Range to place my stop loss. The trading bot must be able to calculate the lot size based on my risk indication. The bot must be able to adjust values for all the indicators stated and go through the strategy tests without problems. Once appliciant is selected, I will fill
Hello, I'm looking for best strategy/Indicator/EA highly accurate. Accuracy about 80-90%.and low drawdown. Profit ratio must be 1:5/1:6/1:8/1:10.Please dont offer hedging and martingle/scalping strategies. I'm looking for something new strategies. Send me your ideas/indicator/EA
Pending stop order software in the form of MQL4 expert advisor is what In need If any of the settings of the usual pattern of the EA is not clear to you, then I will explain that part
Hi Lad. Looking for recovery EA usable for my EA based on simple grid strategy. EA will be starter when I'm in lost and a it should work out all negativ trades as close to zero as possible. In one moment can be in minus even 50 trades on multiple charts. Can accept just a low risk EA with risk advisor. Please send me your ideas or ready EAs applicable on my strategy. I can send an actual EA if needed . Price is fixed
Hello friends, I need to find someone with successful experience TradingView Publish indicator. I would like to reiterate that you must have experience successfully authorizing many indicators on tradingview. (because I knew how to do it but 1 day later my TradingView account was still locked). Because I need it urgently! Thank you very much

Información sobre el proyecto

Presupuesto
30 - 150 USD
Para el ejecutor
27 - 135 USD
Plazo límite de ejecución
de 1 a 10 día(s)