Pending orders at new candle

MQL4 Experts

Job finished

Execution time 23 hours
Feedback from employee
It was nice working with you. Looking for more opportunities from your side.

Specification

Hi there,

I would like an EA with the following features

let's say I am trading the EURUSD. 

-every hour, 30 min or 15 minutes ( at the opening of the candle basically) the EA would place 2 pending orders (1 sell stop order and 1 buy stop order)
-I would be able to decide where to place these 2 orders (examples 10 pips above the opening price for the buy stop and 10 pips below the open for the sell stop)
-for these 2 orders, i would like to specify a take profit and a stop loss
-if one of the 2 orders is triggered, the other one is automatically cancelled
-if none of the 2 orders is triggered before the end of the current hour, both are cancelled and 2 new pending orders are placed at the opening of the next H1 bar with the same features (same distance from open in pips, same stop loss and same take profit)
-if one order is triggered but the price does not reach either the specified SL or TP before the end of the hour, I would like the order to close automatically at the opening of the next H1 bar or keep the order open with the same specified TP and SL for an additional hour (or 2, or 3 or 4 etc)

so let's imagine that at 11.55 a.m., I place this EA on an hourly EUR/USD chart with a 20 pips distance from the open, a 10 pips SL and a 10 pips TP:
5 minutes later, at 12.00, the price of EUR/USD is 1.2000.   at that point, 2 pending orders are placed :
-a buy stop order at 1.2020 with a take profit at 1.2030 and a stop loss at 1.2010 
-a stop loss order at 1.1980 with a a take profit at 1.9990 and a stop loss at 1.1970

if none of these 2 orders are triggered before the end of the hour, they are both cancelled and replaced by 2 new pending orders at 1.00 p.m with the same characteristics (
20 pips distance from the open, a 10 pips SL and a 10 pips TP)

Let's say the buy stop order is triggered before the end of the hour. the sell stop order is then cancelled automatically and the buy stop order will remain until the price reaches TP (1.2030) or SL (1.2010). if neither the SL, nor the TP has been reached, i can choose between automatic close at the open of next H1 hour or keep the order running for an additional hour (or 2 or 3 hours).

Lastly, if one order is triggered, the EA should prevent rthe opening of any new order so that I will never havemore than one order open at a given time.

If you have any question please let me know

Responded

1
Developer 1
Rating
(42)
Projects
70
43%
Arbitration
6
33% / 50%
Overdue
19
27%
Free
2
Developer 2
Rating
(180)
Projects
301
30%
Arbitration
54
24% / 56%
Overdue
98
33%
Free
3
Developer 3
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free
4
Developer 4
Rating
(11)
Projects
17
41%
Arbitration
4
0% / 100%
Overdue
5
29%
Free
5
Developer 5
Rating
(28)
Projects
36
17%
Arbitration
2
50% / 50%
Overdue
2
6%
Free
6
Developer 6
Rating
(13)
Projects
20
30%
Arbitration
5
20% / 80%
Overdue
5
25%
Free
7
Developer 7
Rating
(439)
Projects
545
25%
Arbitration
21
38% / 38%
Overdue
83
15%
Free
8
Developer 8
Rating
(2422)
Projects
3042
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
9
Developer 9
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
Similar orders
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
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'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange. I had one created in python, but I would like it to work in MT5 with various regular rules that make it profitable
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

Project information

Budget
25- USD