A MT5 EA with panel that manages open trades

MQL5 Experts Forex

Trabalho concluído

Tempo de execução 6 dias
Comentário do desenvolvedor
I give 5 stars Because he made his proposals completely and accurately, and this left the developer out of confusion patient and generous gentleman

Termos de Referência

Hello devs,

I need an EA that manages my open trades and has a panel to change the values of the rules.


The EA needs the following rules:

  • every trade that goes 20% in profit needs its SL moved 50% towards entry.
  • Every trade that goes 50% in profit needs its SL moved to 1% profit.
  • Every trade that goes 60% in profit needs to partial close 50%.


Example:

I take a buy order on EURUSD at 1.2000 with a lot size of 10. I set SL at 1.9500 and TP at 1.3000. When the trade goes in profit and price touches 1.2200, SL needs to be moved to 1.9750. Why?

1.2200 is 20% in profit. 

How? 

1.3000 - 1.2000 = 0.1000

0.1000 * 0.2 + 1.2000 = 1.2200


Why SL to 1.9750?

1.2000 - 1.9500 = 0.05

0.05 * 0.5 + 1.9500 = 1.9750


Next the trade goes 50% in profit (price touches 1.2500). Now SL needs to go 1% in profit (SL to 1.2100).

After that, price touches 1.2600, this is 60% in profit. Now the trade has to be closed for 50%, so 10 * 0.5 = 5 lots.


In a sell order it would be exactly the same calculations.

I take a sell order on GBPUSD at 1.5000 with a lot size of 8. SL is at 1.5600 and TP at 1.4200.

When trade goes 20% in profit, aka price touches 1.4840.

(1.4200 - 1.5000) * 0.2 + 1.5000 = 1.4840

Now SL needs to go 50% towards entry, aka SL to 1.5300.

(1.5000 - 1.5600) * 0.5 + 1.5600 = 1.5300

And so on…


Formula to calculate price at a certain percentage in profit:


TP = Take Profit price

EN = Entry Price

P = percentage in profit


(TP - EN) * P + EN = Price


Formula to calculate price at half SL:


SL = Stop Loss Price

EN = Entry price


(EN - SL) * 0.5 + SL = price


When I’ve manually entered a trade, the EA has to immediately calculate all the price points where a change is needed and save them. Now the EA only has to be in a while loop and check if a certain price is touched where a certain change is needed.


Every function in the code needs a description about what it does and its inputs and outputs. No DLLs


The EA may not open positions. It only may adjust manually entered trades. 

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(34)
Projetos
60
23%
Arbitragem
11
73% / 9%
Expirado
3
5%
Livre
2
Desenvolvedor 2
Classificação
(65)
Projetos
85
26%
Arbitragem
23
22% / 48%
Expirado
24
28%
Trabalhando
3
Desenvolvedor 3
Classificação
(17)
Projetos
22
5%
Arbitragem
7
14% / 29%
Expirado
3
14%
Livre
4
Desenvolvedor 4
Classificação
(48)
Projetos
80
28%
Arbitragem
8
75% / 13%
Expirado
41
51%
Livre
5
Desenvolvedor 5
Classificação
(96)
Projetos
143
76%
Arbitragem
0
Expirado
2
1%
Livre
6
Desenvolvedor 6
Classificação
(5)
Projetos
1
0%
Arbitragem
7
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
Hello, i would Like to convert my Ex4 file to mql4 file. The Expert Advisor is EX4 file convert it to mql4 file. I would like to add some exciting features on this EA like trailing stop loss, Take profit and stop loss to break even
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
Preciso de um EA, que faça o fecho automático de operações abertas no final da sessão e nas notícias de alto impacto. Um EA simples com apenas 1 função. Fecho das operações abertas
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month

Informações sobre o projeto

Orçamento
30 - 50 USD
IVA (21%): 6.3 - 10.5 USD
Total: 36.3 - 60.5 USD
Desenvolvedor
27 - 45 USD