Modification to existing EA to add position modification functions

Trabajo finalizado

Plazo de ejecución 7 días

Tarea técnica

The goal of this modification to this EA is to ultimately reduce the size of the losses while increasing the size of the wins. The stop loss is currently set as a function of the ATR, and all position modifications will also be based on the value of the ATR at the moment the initial order is placed. All modifications will go based off this initial ATR value and it will be fixed for the life of the trade. This modification will involve a good amount of position modification during a trade. 

-        When an order is placed the stop loss is automatically calculated and placed at the value of the ATR * 3

-        For losses, once the price has reached 20% of the ATR *3, or is 20% into the loss zone, I want it to take out 20% of the position size.

o    For Example, if the ATR is 10 then when the order is placed the stop loss will automatically be set at 30 pips below the entry price. Say that the initial lot size is 1.0. If after the order is placed it is not winning but is instead loosing, once it reaches a level of 6 pips (20%) below the entry price, I would like it to reduce the position size by 20% as well, so the lot size would now be 0.8. Similarly, once it reaches a level of 12 pips (40%) below the entry price, I would like it to again reduce the size of the position by 20% of the original position size, so now the lot size would be 0.6. I would like this to continue so that if I am stopped out on the trade, by the time it reaches the stop loss it will only be 20% of the original lot size. 

-        If the trade is initially making a loss and the position size is reduced, but then changes direction and reaches the open price of the trade, at break even I want it to add back in everything that it took out so that once it reached the initial entry price the position size is the original size it was when the order was first placed. 

-        I don’t want it to add back in every time a 20% level is reached going up towards the breakeven, that will complicate it, only add back in to make the original lot size one the current price is equal to the entry price. 

o    For Example, if the trade reaches a point where it is 40% of the way to the Stop Loss and has taken out 40% of the position size so the lot size is 0.6 and then returns to the initial entry price of the trade, only once it reaches that initial entry price will the full value of the initial lot size be restored. So once the price reaches the entry price it will then again have a lot size of 1.0. I don’t want it to average down into a loosing trade. 

-        When the trade is in profit I also want it to add into the lot size to increase it as the trade is winning. I want it to add in 20% of the initial lot size up to a maximum of three times. I want the EA to increase the lot size by 20% once a value of the initial ATR*3 is reached, and then another 20% once the value of the ATR*6 is reached, and a final 20% once the value of the ATR*9 is reached.       

o    For Example, when the order is initially placed the ATR is 10 and the lot size is calculated to be 1.0, once the position is 30 pips into the profit zone (ATR*3), then 20% will be added to the lot size, so the new lot size will be 1.2. Then if it keeps going up and reaches 60 pips above the initial entry level (ATR*6) it will again increase the lot size by 20% of the initial lot size, making the lot size now 1.4. Finally, if the trade reaches a point where it is 90 pips above the initial entry price (ATR*9), it would add another 20% of the initial lot size to the current lot size for a final lot side of 1.6. I only want it to add in a maximum of 3 times, not unlimited. 

-        The levels at which the EA will take out or add in money should be automatically set when the trade is first entered based on the ATR and then not change for the life of the trade. For example, if the ATR is 10 when the trade is entered, it should decrease the lot size by 20% at 6 (1/5 of the distance to the stop loss), 12 (2/5 of the distance to the stop loss), 18 (3/5 of the distance to the stop loss),  and 24 (4/5 of the distance to the stop loss), pips into the loss zone and finally be stopped out at 30 pips below the entry price. Also, the EA should increase the lot size by 20% every time it is 30, 60, and 90 pips into the profit, a maximum of 3 times. 

o    If the ATR is 15 when the trade is entered, it should decrease the lot size by 20% at 9, 18, 27, and 36 pips into the loss zone and be stopped out at 45 below the entry price. Also, it should increase the position size by 20% when the levels of the ATR*3 (45), ATR*6, (90), and ATR*9 (135) are reached. 

-        The 20% values should be calculated from the initial lot size when the trade is first entered and not change. If the initial lot size is 1.0 then the 20% will be 0.2 and not change for the life of the trade. If the initial lot size is 5.0 the 20% will be 1.0 and not change for the life of the trade. 

-        Also, in the original version of this EA there is a break even function so that once it reaches a certain level of pips into the profit zone it can no longer lose money. For this, whenever the position size is increased the entry price will also move up a small amount because it is averaging the old entry price with the new one. Please make it so that every time the position is increased the break even line is moved up to 0 with the averaged entry price. 

Han respondido

1
Desarrollador 1
Evaluación
(385)
Proyectos
409
30%
Arbitraje
65
20% / 68%
Caducado
52
13%
Trabajando
2
Desarrollador 2
Evaluación
(332)
Proyectos
485
40%
Arbitraje
80
11% / 63%
Caducado
77
16%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
(115)
Proyectos
129
18%
Arbitraje
11
27% / 55%
Caducado
4
3%
Libre
4
Desarrollador 4
Evaluación
(21)
Proyectos
23
52%
Arbitraje
0
Caducado
2
9%
Libre
5
Desarrollador 5
Evaluación
(16)
Proyectos
17
29%
Arbitraje
1
0% / 100%
Caducado
2
12%
Libre
6
Desarrollador 6
Evaluación
(170)
Proyectos
193
42%
Arbitraje
9
11% / 44%
Caducado
9
5%
Libre
Ha publicado: 3 ejemplos
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(284)
Proyectos
458
39%
Arbitraje
94
44% / 18%
Caducado
72
16%
Trabajando
Ha publicado: 2 ejemplos
Solicitudes similares
I am looking for an experienced developer who can create a MetaTrader 5 (MT5) Expert Advisor (EA) based on a single TradingView indicator and a set of Buy/Sell conditions that I will personally share with you. Requirements: Convert the TradingView indicator (Pine Script) logic to a working MT5 EA Implement specific Buy and Sell conditions (I will provide exact rules) EA must include basic risk management options (Lot
I need a clean, simple EA for MT5 that consistently produces ~5% monthly return with moderate trade frequency (6–12 trades/week). - Must auto-compound or use risk-based lot sizing - Must include .mq5 source file , not just .ex5 - Must show backtest proof on 2 different pairs , preferably M30/H1 - Must be original or legally yours to transfer, this will be used in a broader structured trading setup I’m building I
Trading is journey not a destination every win and loss is stepping stone to greatness stay patient stay focused and keep learning our back through is just around the corner we won’t give up on dreams
To develop EA algo on GBPUSD on MT5 Client will provide the necessary indicator which will plot Daily pivots on the chart. PFA screenshot attached for details of job work
I am looking for a professional expert advisor developer to build my EA (MT4 and MT5). The first thing that I need is screenshot of the work to make sure the developer can Done my project. I need to make sure that the developer fully understood my Strategy and could do it. So the developer should start the job and proof ability to finish the job then we will go ahead to make contract. So I need a good developer with
Description de la stratégie de trading : Bot de trading ULTIMATE AI Smart Money Concept (SMC) Aperçu: J'ai besoin du robot de trading IA ultime, conçu pour mettre en œuvre une stratégie de trading Smart Money Concept (SMC) axée sur l'identification des configurations de trading à forte probabilité en fonction de la structure du marché, des blocs d'ordres et de l'évolution des prix. Ce robot vise à capitaliser sur le
Trading Strategy Description: ULTIMATE AI Smart Money Concept (SMC) Trading Bot Overview: i need The ULTIMATE AI trading bot that is designed to implement a Smart Money Concept (SMC) trading strategy that focuses on identifying high-probability trading setups based on market structure, order blocks, and price action. The bot aims to capitalize on institutional trading behavior by analyzing price movements and
I need a highly disciplined, low-risk EA for MT4/MT5 that trades only when 100% strategy conditions are met. It must include multi-timeframe trend logic, support/resistance rejection, BOS/CHoCH detection from real swing levels, and a breakout strategy with trailing SL. EA should scan all major pairs (from one chart), trade only during 07:00–16:00 GMT, and skip trades 2 hours before major news. Max 1 trade per pair
Fxtrainingtração 150 - 350 USD
Olá! Tenho um robô em MQL5 já pronto, chamado fxtrainingtração , configurado para operar em Forex nos pares EUR/USD, USD/JPY, GBP/USD, AUD/USD e NZD/USD, no time frame M15. O robô usa indicadores RSI, EMA9 e EMA21, com entradas agressivas, stop loss conservador e take profit ajustável. Preciso que um programador experiente em MQL5 implemente: ✅ Integração com uma API de calendário econômico confiável (Trading
need a expert advisor for mt5 and need a pine script strategy This indicator is as an evolution of the classic Donchian channel. Pivots are identified using a zigzag structure and graphical markers, with the pivots derived entirely from the behaviour of the channel. A pivot is triggered when the channel flattens, forming a connector point for the next zigzag leg. To avoid weak or insignificant pivots, a depth

Información sobre el proyecto

Presupuesto
30 - 80 USD
Para el ejecutor
27 - 72 USD
Plazo límite de ejecución
a 3 día(s)