Include functionality in existing EA to stop trading for a certain number of hours after n consecutive trades resulting in loss

Trabalho concluído

Tempo de execução 3 dias
Comentário do desenvolvedor
Nice working with him. Communicative and open-minded. Thank you!
Comentário do cliente
Excellent job. Quick and reactive. He even included some additional features that makes the comprehension of the code much easier. Will keep his contact for future developments.

Termos de Referência

I am looking forward to get a code / functionality introduced into this simple EA, that I can export and use into other personal developments. Open code: No author rights to be applied.

The new functionality must check in the trade history (normally around last 2 months in time) and:

- if there are “consecutive_losses” (defined as a variable type “input int”) consecutive trades resulting in losses (profit < 0)

- then it must stop the EA from trading for  “hours_stoptrading” (defined as a variable type “input int”) number of hours

- many EAs will be used in the same trading account, therefore the code must filter by Magic number and Symbol in order not to mix trades ordered by other EAs

- try to avoid the function “sleep”

- ideally new functionality will consume few resources and be inactive most of the time, except the moment of a new position is closed, in order to check if position resulted in benefit / loss and if required, apply the temporal stop trading.



Respondido

1
Desenvolvedor 1
Classificação
(23)
Projetos
45
20%
Arbitragem
25
28% / 48%
Expirado
12
27%
Livre
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
1
0% / 100%
Expirado
0
Trabalhando
3
Desenvolvedor 3
Classificação
(568)
Projetos
641
41%
Arbitragem
25
48% / 36%
Expirado
46
7%
Trabalhando
4
Desenvolvedor 4
Classificação
(361)
Projetos
643
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(87)
Projetos
114
26%
Arbitragem
7
29% / 57%
Expirado
5
4%
Livre
Pedidos semelhantes
Buen día. Busco un desarrollador para agregar sistema de Martingala a un Bot de MT4, sin poseer el código fuente, solo el archivo EX4. Mas detalles en mensaje privado, agradezco la atención prestada
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
want a highly profitable EA; price is not an issue, as long as you can prove it and send me a demo for me to test. You need to prove yourself first. The EA needs a year of stable backtesting
I’m looking for an experienced MQL5 developer to build TWO MT5 custom indicators that detect multi-condition M30 trade setups and send Telegram alerts before trade execution . This project requires strict close-based logic , multi-indicator buffer processing , and non-repainting behavior . HIGH-LEVEL REQUIREMENTS Indicators must evaluate signals from M30 only All conditions are checked only after candle close Logic
hey developers its a fix 30$ job because it takes less than 5 minutes, i only need a source code for a progress bar and gauge bar, i want to impellent in my code. i have a for loop that i want to keep update it with these 2 objects. i mentioned the requirement in each photo please check it. its super easy and fast for someone who already done it, if you didn't do it before don't bother to request . job will be
1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
I’m looking for a highly profitable, robust EA for MT5. Targets 3% profit/month with max 1% drawdown Trades 1 signal pair 1+ year stable backtesting "Retard proof" execution Price isn't an issue. Must provide demo for testing + proof of performance Requirements: Demo version for evaluation Source code (.mq5) Serious developers only Only serious developer
Tôi muốn EA siêu lợi nhuận, giá cả không thành vấn đề, chỉ cần bạn có thể chứng minh được, và gửi tôi bản demo để tôi kiểm tra bạn hãy chứng minh bản thân mình trước. EA cần backtest 1 năm hoạt động ổn định
Im looking for an EA with Code. An EA that can capture big impulsive move on any instrument. Open trades only with multiple confirmation and a very high probability setup intraday or swing trading That can do top down/multi time frame analysis like D1 H4 H1 and then implement the trade on shorter time frame to catch the moves from the start. As i want to catch only the impulsive moves so there must be a Volume
Hi I’m looking for an experienced developer to build an ea,the strategy is based on trading XAU and possibly BTC that can execute trades on 1 and 5 minute timeframes using a combination of EMA’s, stochastic Oscillators and a 4-6 max order grid with loss cap if the opening position goes into drawdown. I would like someone experienced who could also add value and implement there ideas as I have no programming

Informações sobre o projeto

Orçamento
30+ USD