Amend current EA to build in take profit and stop loss in total for the EA in equity

MQL5 Experts Scripts

Tâche terminée

Temps d'exécution 5 jours

Spécifications

Hi there

I have an EA (Send Buy & Sell - attached) that I want to make a change to.

This EA allows you to place 2 trades on the same currency pair in different directions (buy and sell) at the same time. For each of the trades (buy and sell side) you can place a limit and stop in pips.  

I want added to that a stop loss and limit in value / equity / deposit currency for the 2 trades combined. 

 

So I will have the option to choose a stop loss or limit for each transaction as it is currently OR

the option to type in the stop loss in $ (equity) terms for the combined loss for the 2 trades and type in the target combined limit (profit) in $ (equity) terms.

e.g. I choose to type in the stop loss - lets say -$500 and the limit +$750.

Both the long and short trade is closed when the combined profit on the 2 trades reaches +$750 or the combined loss on the 2 trades reaches -$500.

 

Why:

 I want to increase my trading volume but keep my overall leverage low (i.e. buy 20 lots and sell 19 lots = effectively 1 lot in the market). The variable spreads however means I need to close both the long and the short trade at exactly the same time in order to keep my effective leverage low and not risk an overleveraged naked position.  

Dossiers :

Répondu

1
Développeur 1
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
2
Développeur 2
Évaluation
(25)
Projets
36
17%
Arbitrage
14
14% / 57%
En retard
3
8%
Gratuit
3
Développeur 3
Évaluation
(49)
Projets
74
18%
Arbitrage
30
17% / 53%
En retard
31
42%
Gratuit
4
Développeur 4
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
338
26%
Gratuit
5
Développeur 5
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
6
Développeur 6
Évaluation
(68)
Projets
111
26%
Arbitrage
17
6% / 71%
En retard
15
14%
Gratuit
Publié : 9 codes
Commandes similaires
Trade copier 80+ USD
I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size conversion. - Implement symbol mapping for trades. -
Trading Bot 50+ USD
hello great developer I want to develop a trading bot which connects with my Binance account. A bot that can work with tradingview.com where I use trading indicator which is called " TonyUX Ema scalper ". This indicator generates Buy and Sell signal. So i want a bot which can execute trade on binance when it gets a Buy/sell signal on tradingview.com ( see attached picture) Most likely you already have a similar bot
I need an MT5 Expert Advisor based on SMC (Smart Money Concepts) and SCOB pattern. Entry logic (M1 first, must work all TF): 1. Detect OB or FVG. 2. When price touches OB/FVG, wait for SCOB candle confirmation. 3. Enter at close of SCOB. Stop Loss: - SL at the high/low of SCOB candle. Take Profit (Box TP rule): - Use distance between point 1 and point 2 as a box. - TP = 2 × box size. - Same method as drawing box and
Algo Trading Rebot/ EA 30 - 100 USD
I would like someone Who can design an EA for me. I will give him the Required Details and Trading Plan How it should Work. its going to be a Simple EA System Around Moving Averages Crossover. I will Provide Him the Moving Averages Settings and How It should execute trades and Exit them
Hello. I already have a fully working TradingView indicator written in Pine Script. I am NOT asking for a new strategy or indicator to be designed. I need an experienced NinjaTrader (NinjaScript / C#) developer to replicate the same logic and behavior of my existing TradingView indicator so it works on NinjaTrader. Important points: The TradingView indicator does NOT repaint (uses confirmed bars only). This is logic
No jokers copy pasters allowed. If you're proficient in MQL5, have a proven track record with EAs apply. Commissioning the development of a high-performance Expert Advisor (EA) engineered for the MetaTrader 5 (MT5) environment. The objective is to deploy an institutional-grade automated trading system capable of systematic market analysis, precision execution, and strict risk governance within the global forex
Create an ea that exit buy trades when red smiley face appear,exit sell trades when blue smiley face appear.in this case you need to better use the Smiley face signals which are 4 for BUY (blue smiley face)and 5 For SELL( red smiley face)
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Sniper 30+ USD
Hello, I would like you to develop a trading robot (EA) with the following specifications: The robot should be able to target large moves, ideally 60–100 pips or more per trade. It should use high-precision “sniper” entries, focusing on high-probability setups rather than frequent trades. Once the initial trade reaches breakeven, the robot should be able to add additional positions (scale in) while maintaining strict
True 30+ USD
Hello, I would like to commission the development of a trading robot (EA) designed specifically to pass a prop firm challenge within one week, with a maximum allowable drawdown of 2%. Key requirements: Strict risk management with drawdown hard-limits Controlled lot sizing and position management Strategy focused on high-probability, low-risk entries Full compliance with prop firm rules (daily drawdown, max drawdown

Informations sur le projet

Budget
10 - 30 USD
Délais
de 1 à 5 jour(s)