Modification EA Donchian (hedge and calculation)

MQL4 Indicators Experts

Job finished

Execution time 5 days
Feedback from employee
Thank you, very good customer, patient and honest.
Feedback from customer
Good developer, willing to think along with you, stays committed when the job is more complicated than expected

Specification

I have an existing simple EA that trades like this.

See screenshot.


I want 2 changes on it:


1)

*Hedge curves

Imagine Buys are open in curve A. 1 If price crosses Donchian Middle line downwards, I want all open Buy trades to be hedged with one Sell trade. So, if 12 Buys open of 0.01 lot: 1 Sell trade of 0.12 lot

2)

*New variable: AvTP lot foundation to correct hedged trades (points):

Imagine the hedge brings a (locked) loss. Imagine -€4 euro.

From the settings: TP in € is €1

Now AvTP lot foundation to correct the hedged trades I fill in 110 points


So the question is:

If you know:

-the locked loss (example -€4)

-the TP target in € (example €1)

-the desired points move (example 110 points)

Can you calculate the lotsize you need to reach (locked loss 4 + TP € target 1) = €5 when the price moves 110 points



Read Please:

 when you react also give me an idea how you want to solve the calculation question.

Plain text ‘I can do it’ applications will be rejected.


Files:

PNG
POC4.png
146.9 Kb

Responded

1
Developer 1
Rating
(110)
Projects
182
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
2
Developer 2
Rating
(21)
Projects
25
52%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
3
Developer 3
Rating
(1)
Projects
4
0%
Arbitration
5
20% / 40%
Overdue
2
50%
Free
4
Developer 4
Rating
(3)
Projects
3
0%
Arbitration
6
17% / 67%
Overdue
0
Free
5
Developer 5
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
6
Developer 6
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
7
Developer 7
Rating
(72)
Projects
147
67%
Arbitration
21
10% / 71%
Overdue
44
30%
Free
8
Developer 8
Rating
(5)
Projects
5
60%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(21)
Projects
27
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(4)
Projects
7
43%
Arbitration
0
Overdue
2
29%
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I need an MT5 Expert Advisor for a mean-reversion strategy on EURUSD: single entry at local price extremes, fixed stop loss and take profit, no grid and no averaging. Position size must be calculated automatically so that risk per trade is capped at a fixed USD amount, with a daily loss limit and a pause after consecutive losses. I will send the full specification — entry conditions, filters and all input parameters
I’m seeking a high‑reliability Expert Advisor that operates on ADX and Moving Average signals, capable of executing trades with strict error‑handling to ensure every operation is processed safely and efficiently. The EA should base its entry and exit logic on the direction of the Moving Average and the latest candle price , use ADX to confirm trend strength, allow a customizable lot size , and maintain robust
need to create specific alo which can be changed with diffrence currency and method, it consist of risk management in mariangle, period will be changed, if trades close it will start form there without restart the server
I trade NAS 100 using Harmonic Patterns. I want to create a MT5 EA to trade based on this indicator: https://www.mql5.com/en/market/product/78325?source=Site +Market+MT5+Indicator+Search+Rating006%3abasic+harmonic+patterns I want the EA to have the same take profit levels as indicator: TP1, TP2, TP3 (select in inputs which TP to use). The EA should also use the same Stop Loss as indicator, with the option to adjust
I am looking for a professional and market-savvy MQL developer to build a disciplined, stable Scalping Expert Advisor (EA). The ideal developer must have a solid understanding of Trend Identification, Fibonacci Levels, and Technical Indicators , alongside strict risk management implementation. Key Focus Areas & Developer Requirements: Market & Analysis Expertise: ⚬ Deep understanding of Trend direction (Market
NYC 30+ USD
I need a ready-made professional trading EA similar to my current scalping bot, but improved for consistent profit and better risk control. Requirements: - Works on XAUUSD (M5 timeframe) - Fixed lot option (start with 0.01) - Opens only one trade at a time (no multiple positions) - Small, fast entries (scalping style) - Better risk-reward (SL must NOT be bigger than TP) - Breakeven function - Trailing stop to secure
Looking for an experienced MQL4 developer to restore functionality for an MT4 Expert Advisor I've used for 3 years. The software is showing a startup validation error, and I cannot reach the original developer. I'll provide all necessary files and proof of ownership. I don't have the code source just the .ex4 file. Scope of work: - Diagnose the startup validation error of the Expert Advisor - Restore normal
profitable EAs wanted with at least 3 to 5 years backtest. you be submit your proofs such as graphic results, backtesting results, and your demo or weekly the eas has traded
Requirements Specification GoldV16 V0 – MT5 XAUUSD Netting EA 1. Platform: - MetaTrader 5 - MQL5 - XAUUSD - NETTING account 2. Position rule: - Only ONE XAUUSD position may be open at any time. - Fixed lot only. - No Martingale. - No automatic lot increase. 3. Stop Loss: - Stop Loss must be sent immediately when a trade opens. - Default SL distance: 1.00 USD in gold price. - SL distance must be adjustable in Inputs
MQL5 developer needed to code a macro-driven gold trading Expert Advisor for MetaTrader. Body: We have a documented macro-driven trading strategy for gold that needs to be converted into a working MetaTrader Expert Advisor. Experience integrating external data sources, such as economic calendar events or interest rate and dollar index data, into MQL5 is required. An N.D.A. must be signed before strategy details are

Project information

Budget
30+ USD
Deadline
from 1 to 2 day(s)