Modify existing EA to add safety feature

Trabalho concluído

Tempo de execução 3 minutos
Comentário do desenvolvedor
Pleasure working with you! Thank you!
Comentário do 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.

Termos de Referência

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.



Respondido

1
Desenvolvedor 1
Classificação
(45)
Projetos
59
42%
Arbitragem
5
0% / 60%
Expirado
12
20%
Livre
2
Desenvolvedor 2
Classificação
(2622)
Projetos
3327
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Trabalhando
Publicou: 1 código
3
Desenvolvedor 3
Classificação
(143)
Projetos
167
49%
Arbitragem
22
14% / 55%
Expirado
22
13%
Livre
4
Desenvolvedor 4
Classificação
(246)
Projetos
253
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
5
Desenvolvedor 5
Classificação
(88)
Projetos
143
39%
Arbitragem
21
19% / 48%
Expirado
30
21%
Livre
6
Desenvolvedor 6
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
Publicou: 266 artigos, 1 código
7
Desenvolvedor 7
Classificação
(365)
Projetos
412
36%
Arbitragem
35
26% / 57%
Expirado
63
15%
Livre
8
Desenvolvedor 8
Classificação
(298)
Projetos
427
26%
Arbitragem
18
61% / 33%
Expirado
26
6%
Livre
Publicou: 8 códigos
9
Desenvolvedor 9
Classificação
(361)
Projetos
643
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
10
Desenvolvedor 10
Classificação
(119)
Projetos
127
41%
Arbitragem
3
33% / 67%
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(1927)
Projetos
3545
88%
Arbitragem
73
40% / 15%
Expirado
268
8%
Livre
12
Desenvolvedor 12
Classificação
(1)
Projetos
2
0%
Arbitragem
0
Expirado
1
50%
Livre
13
Desenvolvedor 13
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
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
Project Overview We are seeking an experienced MetaTrader 5 (MT5) / MQL5 developer to design and build a production-ready Expert Advisor intended for live trading with capital at risk . This is not a hobby, experimental, or retail-grade EA. We are only interested in developers with proven experience delivering robust, well-tested MT5 systems . Project Objective Design and implement a high-quality MT5 Expert Advisor
I have a simple strategy that need coding on tradingview Strategy using high low at seleted time and when breakout to entry buy sell. Everything will be explained on private
The strategy is based on years of manual testing. Detailed requirements including custom indicator settings (VWAP, Kalman RSI, BrkVol etc.) will be provided. I am looking for a high-level MQL5 developer to build a robust Expert Advisor (EA) based on a proven strategy using 11 specific indicators. The system is designed for high-precision entries by filtering market noise and spikes. Key Requirements: •
Stormbreaker 30 - 100 USD
✅ *Step-by-Step Strategy to Code – CRT + CISD (MT5 EA)* 🔧 *System Setup* *Timeframes Used:* - *D1* – Bias & CRT zones (High & Low) - *H1* – Confirm candle closes back inside CRT levels - *M5* – CISD pattern (entry trigger) --- 🟢 *Buy Setup – Logic* 1. *Detect D1 CRT Zone:* - Identify current day’s *High and Low* → define CRT levels. 2. *Wait for Sweep:* - Price must *break below D1 CRT Low* (wick). 3. *H1
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"
So the things we need in algorithm of mql5 language EA in mt5 1. Depending on timeframe it can recognise the previous swing high and low 2. Timeframe is 5m,15m,1h,4h 3. It can recognise the basic Market bias that is market is bullish or bearish we can identify using (ema,rsi,basic smc bias,ict bias structure mapping) or use anything to find bias structure 4. EA should have option to change timeframe and change risk
I asked ChatGPT to come up with a strategy to trade the downside of gold. I'm looking for someone who can tell me whether the suggestion is feasible and, if not, how the scope and purpose of the paper can be achieved differently. At the end, a corresponding code should be created. Thank you for your feedback
I have a perfectly working EA that always gets altered, I need special security features implemented, and I already have a great idea of what I need. Super easy, codes already work, just need tweaking here and there. Cybersecurity proficiency would be a positive

Informações sobre o projeto

Orçamento
30 - 150 USD
Prazo
de 1 para 10 dias