EA to execute exit order

MQL4 Asesores Expertos Fórex

Tarea técnica

Hello,

I have one mt4 account, always trade the same currency pair. For buy, I may trade a few buys with increased lot size. Same as for sale orders.

Here is the exit criteria: 

assume directional trending, all buy or all sell positions.

1. if only one position, say  buy, P1, if the loss is over 0.2% of the account balance, exit.

2. if there is a second buy position in the account, assume p1 and P2, and P2 lot is larger than P1. Exit P1 if P1 loss is over 0.1% of the then account balance. Exit P2 if P2 loss is over 1% of the balance.

3. if there are more buy positions added, only the last position, largest lot size, exit loss is 1%, all the rests exit loss at 0.1%


Let me know.

Han respondido

1
Desarrollador 1
Evaluación
(229)
Proyectos
339
49%
Arbitraje
21
5% / 33%
Caducado
24
7%
Libre
2
Desarrollador 2
Evaluación
(48)
Proyectos
73
37%
Arbitraje
22
9% / 41%
Caducado
14
19%
Trabaja
3
Desarrollador 3
Evaluación
(2086)
Proyectos
2646
61%
Arbitraje
113
45% / 26%
Caducado
418
16%
Trabaja
4
Desarrollador 4
Evaluación
(414)
Proyectos
670
33%
Arbitraje
60
17% / 32%
Caducado
113
17%
Trabaja
5
Desarrollador 5
Evaluación
(219)
Proyectos
405
60%
Arbitraje
13
38% / 23%
Caducado
160
40%
Libre
6
Desarrollador 6
Evaluación
(14)
Proyectos
23
57%
Arbitraje
1
0% / 100%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(89)
Proyectos
137
24%
Arbitraje
35
9% / 40%
Caducado
52
38%
Libre
8
Desarrollador 8
Evaluación
(65)
Proyectos
87
39%
Arbitraje
3
0% / 33%
Caducado
29
33%
Libre
9
Desarrollador 9
Evaluación
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
Libre
10
Desarrollador 10
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
11
Desarrollador 11
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
function (A) Add Transform combine the 2 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one I have two experts who are part of a strategy I want to become a single expert Maintain individuality, you cannot communicate with each other Leave in extern (false) or (true)
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
Hi guys I would like to k ow if someone has experience with machine learning models? I would like to train a model to identify if there is a range market or trendy market based on several parameters like EMA and ATR for example. If we use for example a 20 and 50 EMA and we measure the distance between both lines the algo should oearn if the trend is strong or weak. If it‘s steong it keeps trending and if it‘s weak
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work

Información sobre el proyecto

Presupuesto
30 - 100 USD
Para el ejecutor
27 - 90 USD
Plazo límite de ejecución
de 1 a 20 día(s)