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

MQL5 Asesores Expertos Sripts

Trabajo finalizado

Plazo de ejecución 5 días

Tarea técnica

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.  

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(1134)
Proyectos
1436
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
2
Desarrollador 2
Evaluación
(25)
Proyectos
36
17%
Arbitraje
14
14% / 57%
Caducado
3
8%
Libre
3
Desarrollador 3
Evaluación
(49)
Proyectos
74
18%
Arbitraje
30
17% / 53%
Caducado
31
42%
Libre
4
Desarrollador 4
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
5
Desarrollador 5
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
6
Desarrollador 6
Evaluación
(68)
Proyectos
111
26%
Arbitraje
17
6% / 71%
Caducado
15
14%
Libre
Solicitudes similares
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

Información sobre el proyecto

Presupuesto
10 - 30 USD
Para el ejecutor
9 - 27 USD
Plazo límite de ejecución
de 1 a 5 día(s)