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

MQL5 Uzmanlar Komut dosyaları

İş tamamlandı

Tamamlanma süresi: 5 gün

İş Gereklilikleri

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.  

Dosyalar:

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(1156)
Projeler
1462
63%
Arabuluculuk
21
57% / 10%
Süresi dolmuş
43
3%
Serbest
2
Geliştirici 2
Derecelendirme
(25)
Projeler
36
17%
Arabuluculuk
14
14% / 57%
Süresi dolmuş
3
8%
Serbest
3
Geliştirici 3
Derecelendirme
(49)
Projeler
74
18%
Arabuluculuk
30
17% / 53%
Süresi dolmuş
31
42%
Serbest
4
Geliştirici 4
Derecelendirme
(647)
Projeler
1295
67%
Arabuluculuk
84
26% / 49%
Süresi dolmuş
338
26%
Serbest
5
Geliştirici 5
Derecelendirme
(772)
Projeler
1039
44%
Arabuluculuk
50
8% / 50%
Süresi dolmuş
116
11%
Serbest
6
Geliştirici 6
Derecelendirme
(68)
Projeler
111
26%
Arabuluculuk
17
6% / 71%
Süresi dolmuş
15
14%
Serbest
Yayınlandı: 9 kod

Proje bilgisi

Bütçe
10 - 30 USD
Son teslim tarihi
from 1 to 5 gün