Create a Function to close positions in Profit

MQL5 Experts Scripts

Job finished

Execution time 44 seconds
Feedback from customer
Good Communication and really quick turnaround, happy with the output. Thank you.
Feedback from employee
Excellent customer! Thank you!

Specification

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;



Responded

1
Developer 1
Rating
(252)
Projects
258
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
2
Developer 2
Rating
(58)
Projects
66
8%
Arbitration
39
26% / 56%
Overdue
12
18%
Working
3
Developer 3
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
4
Developer 4
Rating
(40)
Projects
58
22%
Arbitration
10
10% / 70%
Overdue
13
22%
Free
5
Developer 5
Rating
(7)
Projects
17
41%
Arbitration
3
0% / 100%
Overdue
3
18%
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(361)
Projects
643
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
8
Developer 8
Rating
(14)
Projects
14
50%
Arbitration
2
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(184)
Projects
317
24%
Arbitration
23
35% / 13%
Overdue
24
8%
Free
Published: 3 codes
10
Developer 10
Rating
(54)
Projects
53
17%
Arbitration
7
0% / 100%
Overdue
5
9%
Free
11
Developer 11
Rating
(2641)
Projects
3356
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
12
Developer 12
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
13
Developer 13
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
Similar orders
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
i need a trading bot that can make 100% profit in 1 day. with capital less than $200 i know this is risky but am willing to take the risk. ea has to be backtestable and also i will test for just 5 random days to make sure it works. and make a purchase if am satisfied with the 5days results. send back test results for me to consider and reply

Project information

Budget
30 - 100 USD
Deadline
from 1 to 3 day(s)