Expert Advisor - Order Management

MQL4 Experten

Auftrag beendet

Ausführungszeit 2 Tage
Bewertung des Kunden
Very professional. He sent a very detailed video of the EA, highlighting all my requirements. He worked very fast to fix a few details according to my needs. Highly recommended!
Bewertung des Entwicklers
Great Customer. Clearly requirment, fast test and fast payment. Hope work with him again. thank for all.

Spezifikation

I have a robot that always opens two trades simultaneously, with the same signal.

The stop loss is the same for both trades. The first trade is given a take profit and the 2nd trade doesn't have a take profit.
When the first trades reaches the take profit, it closes. At the same time, the 2nd trade moves the stop loss to breakeven.

If a certain condition happens meanwhile, both trades are closed.
Otherwise, if the first trade is already closed, the 2nd trade is closed when that condition appears.


TO DO:

  • Work with 4 and 5 digit brokers.
  • Move Stop Loss to breakeven on the 2nd order when price reaches a certain condition, or if first trade closed due to hitting take profit.
  • If certain condition happens before price reaches TP or SL, close both trades. Otherwise, if the first trade is already closed, the 2nd trade is closed when that condition appears.
  • For each signal, open only the two trades, even if the conditions that triggered the trade remain active. Only open a new set of trades in the next valid signal.
  • Check if the both trades really opened. If one the trades didn't open, retry next tick.
  • Open lot size based on percentage of balance (based on stop loss amount).

- If the lot size is odd, like 0.07, it'll round to the nearest, smaller, even number: 0.06 (and divide by 2, opening 0.03 for each trade).
- If the account does not have enough money for the risk percentage, open smaller lots. In extreme case (account is too small for the risk), open 0.01 for each of the two trades, but still, open the trades.
- If the account only accepts mini lots and not micro lots, and it cannot open the trades based on the risk, show error to user.

Example:
stop loss: 50 pips
balance: 1000
risk percentage: 2%

lot size: ((1000 * 0.02) / 50) / 10 = 0.04 lots. Each of the two trades will open with 0.02 lots.

 

Notes:

I have attached the current mq4 file. It doesn't work well and the entry/exit conditions are random, but it's only for you to get an idea.

I am only interested in the trade management part of the EA, as I'll write the entry conditions myself.

Bewerbungen

1
Entwickler 1
Bewertung
(466)
Projekte
697
56%
Schlichtung
43
30% / 33%
Frist nicht eingehalten
113
16%
Arbeitet
2
Entwickler 2
Bewertung
(182)
Projekte
342
42%
Schlichtung
118
12% / 73%
Frist nicht eingehalten
104
30%
Frei
3
Entwickler 3
Bewertung
(118)
Projekte
201
42%
Schlichtung
44
9% / 68%
Frist nicht eingehalten
47
23%
Frei
4
Entwickler 4
Bewertung
(62)
Projekte
140
46%
Schlichtung
19
42% / 16%
Frist nicht eingehalten
32
23%
Frei
5
Entwickler 5
Bewertung
(90)
Projekte
159
61%
Schlichtung
40
18% / 63%
Frist nicht eingehalten
70
44%
Frei
6
Entwickler 6
Bewertung
(54)
Projekte
164
43%
Schlichtung
43
47% / 16%
Frist nicht eingehalten
58
35%
Frei
7
Entwickler 7
Bewertung
(264)
Projekte
538
50%
Schlichtung
55
40% / 36%
Frist nicht eingehalten
224
42%
Arbeitet
8
Entwickler 8
Bewertung
(71)
Projekte
254
53%
Schlichtung
16
50% / 38%
Frist nicht eingehalten
83
33%
Frei
9
Entwickler 9
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks

Projektdetails

Budget
10 - 40 USD
MwSt (23%): 2.3 - 9.2 USD
Insgesamt: 12.3 - 49.2 USD
Für die Entwickler
9 - 36 USD
Ausführungsfristen
von 1 bis 7 Tag(e)