Modification EA Donchian (hedge and calculation)

MQL4 Indicatori Esperti

Lavoro terminato

Tempo di esecuzione 5 giorni
Feedback del dipendente
Thank you, very good customer, patient and honest.
Feedback del cliente
Good developer, willing to think along with you, stays committed when the job is more complicated than expected

Specifiche

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.


File:

PNG
POC4.png
146.9 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(107)
Progetti
175
25%
Arbitraggio
23
13% / 78%
In ritardo
16
9%
Gratuito
2
Sviluppatore 2
Valutazioni
(21)
Progetti
25
52%
Arbitraggio
3
0% / 100%
In ritardo
2
8%
Gratuito
3
Sviluppatore 3
Valutazioni
(1)
Progetti
4
0%
Arbitraggio
5
20% / 40%
In ritardo
2
50%
Gratuito
4
Sviluppatore 4
Valutazioni
(3)
Progetti
3
0%
Arbitraggio
6
17% / 67%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(47)
Progetti
67
37%
Arbitraggio
5
40% / 40%
In ritardo
1
1%
Gratuito
6
Sviluppatore 6
Valutazioni
(45)
Progetti
91
13%
Arbitraggio
34
26% / 59%
In ritardo
37
41%
Gratuito
7
Sviluppatore 7
Valutazioni
(72)
Progetti
147
67%
Arbitraggio
21
10% / 71%
In ritardo
44
30%
Gratuito
8
Sviluppatore 8
Valutazioni
(5)
Progetti
5
60%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
0
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(19)
Progetti
24
8%
Arbitraggio
9
33% / 33%
In ritardo
1
4%
Caricato
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(144)
Progetti
186
41%
Arbitraggio
24
58% / 21%
In ritardo
13
7%
Gratuito
13
Sviluppatore 13
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(4)
Progetti
7
43%
Arbitraggio
0
In ritardo
2
29%
Gratuito
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
I need a ready made profitable system with live account trade or demo that can be back-tested for 2 years with good profits. Pls consider drawdown to be low , source code will be provided at the end. Very important sending 10 days demo before negociation , thank you
I am looking for an experienced MQL5 developer to convert my existing trading strategy into a fully automated MetaTrader 5 Expert Advisor (EA). Requirements: Develop a robust and efficient MQL5 Expert Advisor based on my EMA trading strategy. I will provide the complete trading logic, including entry, exit, risk management, and trade management rules. The EA should execute trades automatically without manual
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Советник. Открываю сделку вручную. Советник закрывает эту сделку по окончании установленного количества свечей...то есть советник по таймеру окончания свечи. Например; установил время свечи равное 2 ( 2 свечи ), открыл позицию вручную и по окончании второй свечи советник закроет сделку
Hello, I'm looking for EA or indicator that would help me reach at least 0.5 lot daily on XAUUSD pair. I trade with 30-35 spread on live standard account. 0.3 to 0.5 lot on XAUUSD is all i need per day, without losing too much money during week or month doing that. Every advice od product is welcome. tg @stellarcptadmin
Professional MT5 Multi-Asset Trading Robot Realistic Architecture & Practical Characteristics Specification Below is a filtered, realistic, and practical specification for an excellent automated MT5 Expert Advisor focused on XAUUSD scalping (M1–M15) with multi-asset capability. I've removed marketing fluff and kept only what's technically achievable and profitable in live trading conditions. CORE IDENTITY Attribute
Mobeen 200 USD
I am looking for a professional EA (Expert Advisor) trading bot for XAUUSD with a high success rate and low drawdown. Key requirements: Consistent and stable profitability Low drawdown (preferably under 10%) Strong risk management High risk-to-reward ratio No martingale or dangerous recovery systems Works on MT4/MT5 Adjustable lot size, stop loss, and take profit News filter and spread filter Backtesting and verified
Expert Advisor Development Specification (MT5) Project Overview I am looking for an experienced MQL5 developer to build a professional Expert Advisor for MetaTrader 5 dedicated exclusively to Bitcoin trading (BTCUSD / BTCUSDT). The objective is to create a robust, adaptive trading system focused on consistency, controlled drawdown, and long-term scalability. The EA must NOT use: Martingale Grid systems Recovery
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15

Informazioni sul progetto

Budget
30+ USD
Scadenze
da 1 a 2 giorno(i)