Need a Hedging bots that would close all related orders when the sum of all open orders and hedge reaches the stated take profit

Spezifikation

I need a bot that would buy or sell, then open a hedge if the trade is losing  

Create a hedging Expert Advisor (EA) in MQL5 for MetaTrader 5, which persistently opens counteracting trades based on the outlined logic, with features that manage the initiation and oversight of these trades, adhering to the defined multipliers for position sizes. The EA will terminate all trades once it achieves a collective take profit target.

Design of the Hedging EA:

1. Initialization: Establish initial settings, the base lot size, profit targets, trade type and the multiplier for escalating trades.

  • Two different sort of inputs for multipliers: first multiplier and subsequent multiplier
  • The hedging trades would be pending orders added one by one, created as soon as the previous one is traded,. so we only need to have one pending order at a time

2. Opening Initial Trades: Execute an opening buy or sell order according to the strategy's guidelines.

3. Hedging Logic: - If the first trade is a buy, then the initial hedge will be a sell. following hedges will switch directions (sell after buy, buy after sell), with the lot size of each new hedge doubling that of the one before.

  • If the first trade reaches tp, close and start all over again in the direction of the win
  • If the first trade reaches hedge distance, trigger a new trade in the opposite direction with the first multplier

4. Monitoring for Take Profit: - Constantly track the aggregate of all open trades. - Liquidate all positions when the total profit meets the pre-set take profit threshold.

5. Out of Margin option (Enable/Disable): Average all profitable vs losing trades and close them. - restart hedge on the remaining losing trade as per step 2

6. Need a trade panel for to show all the positions and balances.


Input

  • Lots size
  • Overall take Profit (Amount)
  • Trade type: Buy/Sell
  • Magic Number
  • Hedge Distance (Amount)
  • First Trade Multipliers
  • Subsequent Multipliers
  • <:Display Panel Settings:>

Kindest Regards



Dateien:

PNG
hedging.png
122.0 Kb

Bewerbungen

1
Entwickler 1
Bewertung
(18)
Projekte
21
5%
Schlichtung
6
17% / 17%
Frist nicht eingehalten
3
14%
Beschäftigt
2
Entwickler 2
Bewertung
(174)
Projekte
232
45%
Schlichtung
17
82% / 12%
Frist nicht eingehalten
35
15%
Arbeitet
3
Entwickler 3
Bewertung
(187)
Projekte
191
27%
Schlichtung
0
Frist nicht eingehalten
3
2%
Frei
4
Entwickler 4
Bewertung
(558)
Projekte
926
48%
Schlichtung
301
59% / 25%
Frist nicht eingehalten
124
13%
Beschäftigt
5
Entwickler 5
Bewertung
(230)
Projekte
409
34%
Schlichtung
52
37% / 40%
Frist nicht eingehalten
149
36%
Arbeitet
6
Entwickler 6
Bewertung
(32)
Projekte
53
36%
Schlichtung
4
25% / 50%
Frist nicht eingehalten
6
11%
Überlastet
7
Entwickler 7
Bewertung
(43)
Projekte
48
29%
Schlichtung
2
0% / 0%
Frist nicht eingehalten
0
Arbeitet
8
Entwickler 8
Bewertung
(35)
Projekte
43
33%
Schlichtung
5
0% / 20%
Frist nicht eingehalten
8
19%
Arbeitet
9
Entwickler 9
Bewertung
(5)
Projekte
6
33%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
2
33%
Beschäftigt
10
Entwickler 10
Bewertung
(41)
Projekte
87
13%
Schlichtung
30
30% / 47%
Frist nicht eingehalten
35
40%
Beschäftigt
11
Entwickler 11
Bewertung
(318)
Projekte
338
71%
Schlichtung
4
100% / 0%
Frist nicht eingehalten
1
0%
Arbeitet
Ähnliche Aufträge
I need an experienced developer who can turn my simply strategy to an EA on MT5 and MT4, will be using two EMAs and MACD and a risk management setting, please message me on time so we start work on it, waiting for you
I am looking for an EA that allows you to make profits every month. For this, before buying, I would like to have a history over more than one year to see how the EA behaves. I don't know if you're selling EAs that are already ready for use
I need someone who can help me optimise my trading strategy using two indicators which are swing arm atr indicator and ut bot alerts indicator. low budget job. Need to be able to pass ftmo challenge and keep trading after passing it. Also would like to have a day trading strategy not holding the trades for too long
I need to resolve some bugs that my indicator presents and pass it to mql5 The task will be done alone and only through anydesk, it is my way of working, if you do not have a problem with it, write to me privately to start working
I need a developer that can turn my strategy to an EA, We will be using Fib, some indicators and a risk management settings, please message me on time so we start work on it, waiting for you
I want a simple mt4 EA that monitors existing positions for TP and SL changes. If a new position is placed, it should automatically set the SL and TP based on the already open orders. Additionally, if I change the SL or TP of one order, it should also change the SL or TP of all the other orders accordingly. I will only be using this EA on one pair, of course
The logic is simple and sound. You just need to mark recent high and low on M5 timeframe and place buy and sell stop. I will provide proper instruction with word file and a ex4 file you just need to follow the instruction
Hi all, looking for somebody to build me a trading bot. Something that is good. Fairly new to trading but I know the basics and how everything runs. Due to working a 9-5 looking for a bot to help out with trades and etc
I am looking developer who can code pocket option data and insert in to costume candle Heikin in trading view. I want to trade otc as such its up to developer to get pocket option data stream and then make costume candle Heikin inside of trading view. Their will be a drop down menu in setting that will use to pick the otc pair. Developer must have way to chat on mobile app also. We will use
MT4 Bot 30 - 40 USD
I have the PDF in English if you are interested in seeing it and we can handle the conversation with a translator I will be looking for great developer to bid for this project

Projektdetails

Budget
50+ USD
MwSt (21%): 10.5 USD
Insgesamt: 60.5 USD
Für die Entwickler
45 USD
Ausführungsfristen
von 2 bis 4 Tag(e)