Create a Function to close positions in Profit

MQL5 Experts Scripts

Tâche terminée

Temps d'exécution 44 secondes
Commentaires du client
Good Communication and really quick turnaround, happy with the output. Thank you.
Commentaires de l'employé
Excellent customer! Thank you!

Spécifications

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;



Répondu

1
Développeur 1
Évaluation
(258)
Projets
264
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
2
Développeur 2
Évaluation
(58)
Projets
66
8%
Arbitrage
39
26% / 56%
En retard
12
18%
Travail
3
Développeur 3
Évaluation
(64)
Projets
83
28%
Arbitrage
9
33% / 56%
En retard
9
11%
Gratuit
Publié : 1 code
4
Développeur 4
Évaluation
(40)
Projets
58
22%
Arbitrage
10
10% / 70%
En retard
13
22%
Gratuit
5
Développeur 5
Évaluation
(7)
Projets
17
41%
Arbitrage
3
0% / 100%
En retard
3
18%
Gratuit
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(361)
Projets
644
26%
Arbitrage
92
72% / 14%
En retard
12
2%
Travail
Publié : 1 code
8
Développeur 8
Évaluation
(14)
Projets
14
50%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(184)
Projets
317
24%
Arbitrage
23
35% / 13%
En retard
23
7%
Gratuit
Publié : 3 codes
10
Développeur 10
Évaluation
(54)
Projets
53
17%
Arbitrage
7
0% / 100%
En retard
5
9%
Gratuit
11
Développeur 11
Évaluation
(2660)
Projets
3380
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
12
Développeur 12
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
13
Développeur 13
Évaluation
(298)
Projets
427
26%
Arbitrage
18
61% / 33%
En retard
26
6%
Gratuit
Publié : 8 codes
Commandes similaires
i have a tradingview simple indecator of 40 lines of code ,i want it to convert it into mt5 EA strategy details given below AUTOMATED TRADING STRATEGY Multi-Lot Execution & Dynamic Trailing Stop Logic System Architecture & Operational Rules Trading Bot Strategy Profile Entry Conditions Buy Logic • • • Wait for Buy Signal candle. Confirmation: Future candle must break the signal high. Execution: Open 2 orders of 0.01
HFT Directional Grid Scalper (Simple, Training Project) Overview We are looking for a developer to create a high-frequency grid scalper with a simple, deterministic logic. This is not a complex bot — the goal is to have a clean implementation for training, testing, and educational purposes. The bot should: Continually open trades in one direction only (BUY or SELL) Use ATR-based grid spacing Maintain a fixed
I want a accurate indicator with buy and sell arrows or circle.. with exit points which trade xauusd and btcusd via weekend ... for small like R100 or 500 .... like which can grow small accounts with ... on for serious developer.. no bullshit ... I need on Friday please
I'd like to automate a relatively simple strategy in Sierra Chart, but I'd like to have it backtested and optimized first. Could we collaborate on this, and what would the cost be? Only bid if you think you can handle this project, and I want expert in sierra chart.. Thanks
I need an EMA crossover EA specifically for Boom and Crash. It should automatically buy and sell when crossovers happen. I want adjustable inputs for lot size, timeframe, and maximum loss. I’m keeping it simple because I’ve had bad experiences with EAs before. It should do only the job it is built for, properly and reliably. need someone who have already build EA or Indicator for Boom and Crash befor atleast 10
//+------------------------------------------------------------------+ //| ProTradingEA MT5 | //| Fully MT5-compliant with MACD, Trailing Stop, Break-Even | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // Optional override input string SymbolOverride = ""; // leave blank to auto-detect struct EASettings { int
I have access to an MT5 account. I have investor access. I would like to know if someone could help me create a bot that copies only the trades made on XAU/USD in that account but in my MT4 account. In that account, many trades are made across various pairs, and I realize that the conditions of their account are not very favorable for the type of trading they do, as the commissions are very high. I have an account
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
I need a professional MQL5 developer to finalize a Gold (XAUUSD) trading bot. The core layering and support-filter logic is already drafted. Key Requirements: Refine a hybrid Martingale/Layering volume calculation (1-10 / 11-20 reset logic). Implement a robust "Safety Mode" based on Daily Low price breaks. Ensure precise 6:00 AM Server Time reset for logic variables. Add professional error handling (Slippage

Informations sur le projet

Budget
30 - 100 USD
Délais
de 1 à 3 jour(s)