EA opening opposite pending orders

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 27 minutos

Tarea técnica

I need an EA for currencies on MT4, which upon activation (without any further signals) opens a pair of pending orders: A buy stop a specific distance (in %) above the current bid price and a sell stop the same distance (in %) below the current ask price. For both of these stop loss and take profit orders are placed. 
Once one of the orders is opened, the other one is deleted. The whole process starts again from the beginning, as soon as the open position is closed or if neither the level for the buy stop nor the sell stop has been reached after a certain period of time.
New orders should only be opened in a defined timeframe (for example from 9 am to 9 pm). The lot size is to be set automatically to a value, so that upon opening of one of the orders a given percentage of the available capital equals the margin.  (10000 € available capital, percentage=40%, margin=4000 €, margin rate = 3,33%, current price(EURUSD)=1,085 => lot size=1,11)

For example:
EURUSD is currently trading at 1,0841/1,0850. Distance for the order levels is 0.001%, Distance for take profit is 0,0008%, for stop loss 0,0004 points. 
=> Order level for the buy stop/long order is at 1.08609 with take profit/stop loss at 1,08696/1,08569.
=> Order level for the sell stop/short order is at 1,08302 with take profit/stop loss at 1,08216/1,08342.
  • If after the waiting period of 90 minutes neither a price of 1.08609 nor 1,08302 has been reached, the orders ar canceled and a new pair of orders is created according to then current prizes.
  • If a price of 1.08609 (for the buy stop/long order) is reached and the position is opened, the sell stop/short order is immediatley deleted. ...and the other way round, if the short position is opened.
  • As soon as the opened position is closed by reaching the take profit or stop loss level, a new pair of orders is created according to then current prizes.


The variables needed are:
- distance of the order leverls above and below the current prices. Input of the variable should be in percent. (for example 0.00085%)
- distance of take profit above or below the order levels. Input of the variable should again be in percent.
- distance of stop loss above or below the order levels. Input of the variable should bei in points. (for example 0.00055)
- the waiting period, after which unopened orders are deleted (in minutes)
- percentage of available capital, that is to be put up as margin. ( e.g. 45 %)
- (mr: margin rate - if MT cant't automatcally determine the margin rate, so that the lot size can be calculated, e.g. 3,33% for most forex)
- earliest hour for opening trades
- latest hour for opening trades (both hours in 24h-format)

Han respondido

1
Desarrollador 1
Evaluación
(10)
Proyectos
13
46%
Arbitraje
1
100% / 0%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(68)
Proyectos
81
11%
Arbitraje
12
67% / 25%
Caducado
5
6%
Libre
3
Desarrollador 3
Evaluación
(155)
Proyectos
259
14%
Arbitraje
17
41% / 41%
Caducado
14
5%
Ocupado
4
Desarrollador 4
Evaluación
(27)
Proyectos
32
16%
Arbitraje
4
25% / 75%
Caducado
5
16%
Libre
5
Desarrollador 5
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(74)
Proyectos
121
43%
Arbitraje
12
33% / 50%
Caducado
17
14%
Libre
7
Desarrollador 7
Evaluación
(34)
Proyectos
42
33%
Arbitraje
4
0% / 25%
Caducado
8
19%
Trabaja
8
Desarrollador 8
Evaluación
(43)
Proyectos
68
47%
Arbitraje
1
0% / 0%
Caducado
1
1%
Trabaja
9
Desarrollador 9
Evaluación
(10)
Proyectos
15
27%
Arbitraje
3
67% / 33%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(439)
Proyectos
545
25%
Arbitraje
21
38% / 38%
Caducado
83
15%
Libre
11
Desarrollador 11
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(263)
Proyectos
399
63%
Arbitraje
5
40% / 0%
Caducado
4
1%
Trabajando
13
Desarrollador 13
Evaluación
(564)
Proyectos
637
41%
Arbitraje
21
57% / 29%
Caducado
45
7%
Trabajando
14
Desarrollador 14
Evaluación
(540)
Proyectos
1317
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
15
Desarrollador 15
Evaluación
(462)
Proyectos
492
52%
Arbitraje
10
60% / 20%
Caducado
3
1%
Libre
16
Desarrollador 16
Evaluación
(11)
Proyectos
16
6%
Arbitraje
3
33% / 67%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(366)
Proyectos
459
40%
Arbitraje
82
35% / 33%
Caducado
13
3%
Trabajando
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(67)
Proyectos
74
7%
Arbitraje
31
10% / 58%
Caducado
6
8%
Libre
20
Desarrollador 20
Evaluación
(118)
Proyectos
169
38%
Arbitraje
9
78% / 11%
Caducado
15
9%
Trabaja
21
Desarrollador 21
Evaluación
(555)
Proyectos
922
48%
Arbitraje
300
59% / 25%
Caducado
123
13%
Trabaja
22
Desarrollador 22
Evaluación
(2367)
Proyectos
2975
65%
Arbitraje
76
47% / 14%
Caducado
340
11%
Libre
23
Desarrollador 23
Evaluación
(308)
Proyectos
329
70%
Arbitraje
4
100% / 0%
Caducado
1
0%
Trabaja
Solicitudes similares
Are you using MetaTrader 4 for trading but wondering if it's time to switch to MetaTrader 5? We're here to guide you through the process and show you why upgrading could be a game-changer for your trading journey. Making the switch from MetaTrader 4 to MetaTrader 5 might sound daunting, but we're here to make it easy for you. Our team will handle the conversion process, ensuring that all your trading data and
My trading platform is showing some list of error and i want want to add some features to correct the Error. I need an Expert in this field with Experience to fix the issues for me Below is the Source File
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 500 projects finish, and have good review and reputation from their client Share your link review, if you not qualified, dont apply! I will bidding the programmer from experience, review, reputation, price, and days working My EA using Moving Average, Average True Range, and using consecutives
Need a programmer to build an EA to do BUY/SELL based on indicator alerts. I dont have a source file of indicator but i have a alert file of indicator. If interested then please reply me back asap. thanks
Hi, I have the source code of an expert advisor, but it uses a lot of mqh files. I would like to have the source code so that i can see the exact entry conditions, the ordersend functions, sl and tp placing functions, etc. The file will be handed privately. Thank you
Hi, I'm looking for an experienced developer to create an Expert Advisor for MT5 based on variable distance and size order openings. The developer must have already completed similar work. Thanks
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Executed every minute when the condition is met Added 3 adjustable parameters 01 Number of orders per order: 0.1 OR 0.01 LOT 02 The upper limit of the number of buy (sell) orders: 5 OR 10 03 ADX start condition: UP OR DOWN I NEED OPEN CODE
I need a simple equity protection EA. This EA will automatically close all open position when a certain margin level % is reached. For example if an account margin level % reaches 500% the EA must close all current opened positions automatically
HFT Scalper EA needed 50 - 500 USD
Overview Develop a high-frequency trading scalper EA for Forex markets Goal: exploit small price movements for rapid profits Key Requirements Trading Strategy Scalping strategy: buy/sell quickly to capture small price movements Use technical indicators (e.g., Moving Averages, RSI) to identify trading opportunities Risk Management Set stop-loss and take-profit levels Implement risk-reward ratio (e.g., 1:2) Order

Información sobre el proyecto

Presupuesto
70 - 110 USD
IVA (19%): 13.3 - 20.9 USD
Total: 83.3 - 130.9 USD
Para el ejecutor
63 - 99 USD
Plazo límite de ejecución
a 14 día(s)