Create a Function to close positions in Profit

MQL5 Experts Scripts

Trabalho concluído

Tempo de execução 44 segundos
Comentário do cliente
Good Communication and really quick turnaround, happy with the output. Thank you.
Comentário do desenvolvedor
Excellent customer! Thank you!

Termos de Referência

I require a function to add into my EA that will calculate the following:

  • Calculate all Open Buy Positions Breakeven Level and a TP level based on Pips or Percent
  • Calculate all Open Sell Positions Breakeven Level and a TP level based on Pips or Percent

Once relevent series (Buy or Sell) hits the TP Line all positions in that series to close;



Respondido

1
Desenvolvedor 1
Classificação
(252)
Projetos
258
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(58)
Projetos
66
8%
Arbitragem
39
26% / 56%
Expirado
12
18%
Trabalhando
3
Desenvolvedor 3
Classificação
(64)
Projetos
83
28%
Arbitragem
9
33% / 56%
Expirado
9
11%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(40)
Projetos
58
22%
Arbitragem
10
10% / 70%
Expirado
13
22%
Livre
5
Desenvolvedor 5
Classificação
(7)
Projetos
17
41%
Arbitragem
3
0% / 100%
Expirado
3
18%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(361)
Projetos
643
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(14)
Projetos
14
50%
Arbitragem
2
0% / 100%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(184)
Projetos
317
24%
Arbitragem
23
35% / 13%
Expirado
24
8%
Livre
Publicou: 3 códigos
10
Desenvolvedor 10
Classificação
(54)
Projetos
53
17%
Arbitragem
7
0% / 100%
Expirado
5
9%
Livre
11
Desenvolvedor 11
Classificação
(2641)
Projetos
3356
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
12
Desenvolvedor 12
Classificação
(772)
Projetos
1039
44%
Arbitragem
50
8% / 50%
Expirado
116
11%
Livre
13
Desenvolvedor 13
Classificação
(298)
Projetos
427
26%
Arbitragem
18
61% / 33%
Expirado
26
6%
Livre
Publicou: 8 códigos
Pedidos semelhantes
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
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
I am looking for a developer to build a robust MetaTrader 5 Expert Advisor for Gold (XAUUSD) scalping on the M5 timeframe. The EA must be optimized for small accounts ($200 - $1,000). Technical Requirements: Primary Strategy: Mean Reversion using Bollinger Bands (20, 2.0) and RSI (14). Buy: Price closes below lower band + RSI < 30 + Trend Filter. Sell: Price closes above upper band + RSI > 70 + Trend Filter. Trend
Olá amigos possuo um indicador que não tem o código fonte mas tenho a licença para usar esse indicador que está me trazendo bons resultados no meu operacional desejo automatizar as suas entradas através de um robô funciona mais ou menos da seguinte forma o indicador gera um sinal de compra ou venda e também gera um nível de take profit stop loss.O robô deve fazer a leitura dos sinais e definir TP e SL nos mesmos
An additional indicator signal will be added to the existing EA. The existing mechanical system will NEVER be changed. I will send you the necessary documents and codes. I will send you the necessary documents and codes. thank you
Need MT5 Expert Advisor base on my strategy XAUUSD Fast scalping, Grid , Martingale, TP, SL trailing buy sell both also add magic number fully atumated advance strategy Pro version 24 hours running trades close in profit directly open new trade
Freeallfree 400 - 800 USD
Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
Hi Developers, I am looking for a EA based on EURUSD where EA is taking multiple trades in a day with small profits in each trade. Looking for some EA based on HFT trading, scalping
My EA has serious problems and needs full improvement and optimization. Problems: No Stop Loss and Take Profit No risk management system High drawdown and losses Opens multiple trades at same entry (overtrading) No maximum trades per day limit No maximum open trades per symbol No trailing stop Poor entry logic and weak signals Trades open very late (after many days) No equity protection system No daily loss limit No

Informações sobre o projeto

Orçamento
30 - 100 USD
Prazo
de 1 para 3 dias