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
(111)
Projects
184
25%
Arbitration
25
16% / 76%
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
(22)
Projects
28
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 experienced MQL5 developer to create a simple automated trading Expert Advisor for MetaTrader 5. Trading Strategy Platform: MetaTrader 5 (MQL5). Symbol: EURUSD. Timeframe: M15. Indicators: EMA 20 (fast) and EMA 50 (slow), calculated using closing prices. Entry Rules Buy: EMA 20 crosses above EMA 50 on a completed candle. Sell: EMA 20 crosses below EMA 50 on a completed candle. All signals must be confirmed
I' 5000+ USD
من یک معامله گر روزانه نینجا هستم و با شرکتی به نام Legendary Trader کار کرده ام و از استراتژی های مشخص شده و خودکار آن ها برای معامله استفاده می کنم
https://www.youtube.com/watch?v=xMNx8f-aGQE&amp ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
Vb flesh 30+ USD
#property strict #property version "1.00" #include <Trade/Trade.mqh> CTrade trade; // ===== ROBOT SETTINGS ===== input double Lots = 0.01; input int FastEMA = 9; // Blue line input int SlowEMA = 21; // Red line input int StopLossPoints = 300; input int TakeProfitPoints = 600; input ulong MagicNumber = 123456; // ===== INDICATOR HANDLES ===== int blueHandle; int redHandle; datetime lastBar = 0;
Bonjour , je cherche quelqu’un capable de crée un bot sur le gold type HFT , ouverture de plusieurs positions en quelques secondes , robot agressif , je cherche un robot qui marche sur du réel , qui a déjà était tester avec des résultats, pas basé que sur des backtest
Hello, I'm looking for an experienced MQL5 developer to build a clean and reliable Opening Range Breakout Expert Advisor for MetaTrader 5. I have previously experienced problems with EAs placing duplicate pending orders after terminal or VPS restarts. My priority is reliable execution, sensible risk management and an EA that I can confidently test and maintain. 1. Opening Range Strategy Platform: MetaTrader 5
Hi everyone. I came across a bot named ( Super Scalping EA Gold Tick Scalper ) in the free bots section on MQL5, and I’ve seen its trading results over a two-year period. I would like one of you to create a similar bot for gold trading that achieves the same (or very similar) results, but within a shorter timeframe—specifically 6 to 8 months. I also need the bot to be suitable for both small accounts ($30–$50) and
i have existing EA but its decrypted i dont have its source code , i want you to decrypt the EA and give me the original source code of it
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
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

Project information

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