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

MQL4 Indicators Experts MySQL

Job finished

Execution time 5 days
Feedback from customer
The developer handled the task with expertise and precision. Excellent work.
Feedback from employee
Thank you very much and good luck!

Specification

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. 


Responded

1
Developer 1
Rating
(26)
Projects
23
39%
Arbitration
26
8% / 38%
Overdue
0
Free
2
Developer 2
Rating
(499)
Projects
744
56%
Arbitration
48
31% / 31%
Overdue
120
16%
Free
Published: 1 code
3
Developer 3
Rating
(589)
Projects
1070
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
4
Developer 4
Rating
(39)
Projects
55
13%
Arbitration
5
20% / 20%
Overdue
6
11%
Free
5
Developer 5
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 20%
Overdue
32
22%
Working
Similar orders
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

Project information

Budget
30+ USD