Modify an Existing MT4 EA with a Partial TakeProfit based on ATR

Trabajo finalizado

Plazo de ejecución 5 días
Comentario del Cliente
The developer handled the task with expertise and precision. Excellent work.
Comentario del Ejecutor
Thank you very much and good luck!

Tarea técnica

I have an existing EA that works fine except for the partial takeprofit element. 

Currently, it has a five step level of partial takeprofit:

string _group_12_     = "+++";

 bool   partialtp     = false;            // partial close at takeprofit 2,3,4,5

 double takeprofit2   = 10;               // takeprofit 2 to close a certain percentage of lot

 double tp2percentage = 40;               // percentage of lots to close at takeprofit 2

 double takeprofit3   = 20;               // takeprofit 3 to close a certain percentage of lots

 double tp3percentage = 20;               // percentage of lots to close at takeprofit 3

 double takeprofit4   = 30;               // takeprofit 4 to close a certain percentage of lots

 double tp4percentage = 20;               // percentage of lots to close at takeprofit 4

 double takeprofit5   = 40;               // takeprofit 5 to close a certain percentage of lots

 double tp5percentage = 10;               // percentage of lots to close at takeprofit 5


Problem is, none of these partial take profits work, at least not in backtesting. I want them to work in backtesting and live. So you might need to examine the code and see what needs to be tweeked. 

Also, I would like three additional partial takeprofit levels to be worked out based on ATR. 

I already have the formula for the ATR takeprofit (as it is used for my takeprofit), but I would like to add it to the partial takeprofit as an option. Please show me that these partial take profits can work in backtesting and live. 


Han respondido

1
Desarrollador 1
Evaluación
(26)
Proyectos
23
39%
Arbitraje
26
8% / 38%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(499)
Proyectos
744
56%
Arbitraje
48
31% / 31%
Caducado
120
16%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
(589)
Proyectos
1070
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
Ha publicado: 1 artículo, 8 ejemplos
4
Desarrollador 4
Evaluación
(39)
Proyectos
55
13%
Arbitraje
5
20% / 20%
Caducado
6
11%
Libre
5
Desarrollador 5
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 20%
Caducado
32
22%
Trabaja
Solicitudes similares
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Información sobre el proyecto

Presupuesto
30+ USD