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

MQL4 Indicators Experts MySQL

Job finished

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

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
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
Similar orders
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
I am looking for an experienced developer to build a professional web-based trading performance dashboard connected to an MT5 trading account and/or FX Blue. The dashboard should automatically collect trading data and display: • Daily P&L calendar – profitable days green, losing days red and no-trade days grey • Equity/growth curve • Drawdown curve • Initial capital and current balance • Net profit and percentage
I need a trading system similar to the attached files. Check attachment for details on the indicator. i guess the indicator contains some of (Rainbow MA , MTF Dashboard , Symbol Switcher , and Trend Histogram), though may not be exactly as listed

Project information

Budget
30+ USD