EA opening opposite pending orders

MQL4 Experts

Tâche terminée

Temps d'exécution 27 minutes

Spécifications

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)

Répondu

1
Développeur 1
Évaluation
(10)
Projets
13
46%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(68)
Projets
81
11%
Arbitrage
12
67% / 25%
En retard
5
6%
Gratuit
3
Développeur 3
Évaluation
(155)
Projets
259
14%
Arbitrage
17
41% / 41%
En retard
14
5%
Occupé
4
Développeur 4
Évaluation
(27)
Projets
32
16%
Arbitrage
4
25% / 75%
En retard
5
16%
Gratuit
5
Développeur 5
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(74)
Projets
121
43%
Arbitrage
12
33% / 50%
En retard
17
14%
Gratuit
7
Développeur 7
Évaluation
(34)
Projets
42
33%
Arbitrage
4
0% / 25%
En retard
8
19%
Travail
8
Développeur 8
Évaluation
(43)
Projets
68
47%
Arbitrage
1
0% / 0%
En retard
1
1%
Travail
9
Développeur 9
Évaluation
(10)
Projets
15
27%
Arbitrage
3
67% / 33%
En retard
0
Gratuit
10
Développeur 10
Évaluation
(439)
Projets
545
25%
Arbitrage
21
38% / 38%
En retard
83
15%
Gratuit
11
Développeur 11
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(264)
Projets
400
63%
Arbitrage
5
40% / 0%
En retard
4
1%
Travail
13
Développeur 13
Évaluation
(565)
Projets
638
41%
Arbitrage
21
57% / 29%
En retard
45
7%
Chargé
14
Développeur 14
Évaluation
(540)
Projets
1317
59%
Arbitrage
28
82% / 0%
En retard
10
1%
Gratuit
15
Développeur 15
Évaluation
(463)
Projets
493
52%
Arbitrage
10
60% / 20%
En retard
3
1%
Gratuit
16
Développeur 16
Évaluation
(11)
Projets
16
6%
Arbitrage
3
33% / 67%
En retard
0
Gratuit
17
Développeur 17
Évaluation
(366)
Projets
459
40%
Arbitrage
82
35% / 33%
En retard
13
3%
Chargé
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
19
Développeur 19
Évaluation
(67)
Projets
74
7%
Arbitrage
31
10% / 58%
En retard
6
8%
Travail
20
Développeur 20
Évaluation
(118)
Projets
169
38%
Arbitrage
9
78% / 11%
En retard
15
9%
Travail
21
Développeur 21
Évaluation
(555)
Projets
922
48%
Arbitrage
300
59% / 25%
En retard
123
13%
Travail
22
Développeur 22
Évaluation
(2367)
Projets
2975
65%
Arbitrage
76
47% / 14%
En retard
340
11%
Gratuit
23
Développeur 23
Évaluation
(309)
Projets
330
70%
Arbitrage
4
100% / 0%
En retard
1
0%
Travail
Commandes similaires
i want to create RSI trading bot in 1 min time frame this is will happern in 1 min timeframe if RSI level 3 min chat frame touch 27 RSI level than excute buy order as and if 3 min time frame candle touch 72 level RSI will excute sell order than profit will be 3 time where order fill from and stop loss open ,. and i want in the setting able adjust the stoploss in tick adjust the take profit and entry lot
I am in the middle of conducting a complex experiment. And part of this experiment entails modifying an existing free MT5 EA (DarkCloud PiercingLine Stoch, for which i can pass the source code to you if you need) to: run only on specific days and within specific hours on those specific days. I will provide you with the schedule. I need the EA to come with scheduling choices so that the user can choose which days and
Hi, I'm looking for a developper to create an EA based on: The combination of 6 FOREX indicators The strategy is based on the combination of 6 indicators It can be used regardless of the timeframe. It can be used regardless of the symbol
I want to design forex robot which work based on hikenashi candel stick pattern and also i wamt to include martingale statergy and trade entry method is bqsed on rsi and hikenashi
Hi, Coding Skills Required: Experience in coding trading robots for MT5. Ability to implement increasing coefficients for the distance between orders and lot size 1. Project Objective: Develop an automated trading robot for MetaTrader 5 (MT5) as per the specified trading strategy. 2. Trading Strategy: The robot must execute a strategy that includes the following elements: Opening initial orders. Placing pending
THE TASK IS SIMPLE, I NEED AN EA THAT CAN PASS FUNDED ACCOUNTS CLEAN AND GUARANTEED. ALSO, PLEASE LET ME KNOW ON WHICH ACCOUNTS/ COMPANIES YOU HAVE TESTED AND WORKS. MAINLY TO PASS THE CHALLENGE PHASES, USE ON REAL ACCOUNT IS OPTIONAL. ANY MORE INFORMATION PLEASE LET ME KNOW
Hi there! I need an ea to pass and run a FTMO challenge No grid or martingale system Also i would like to check the ea's activity on myfxbook or other platform
The expert advisor needs to follow these conditions = 1. The values of these elements can be changed at any time and for any instrument . . Time Interval of renko . Size of renko brick . Type of renko brick (fixed , atr or percentage) . Lot size 2. Buy condition = ENTRY = Renko brick closes GREEN. EXIT = Renko brick closes RED or TRAILING STOPLOSS=3 bricks down. 3. Sell condition = ENTRY =
I want to develop metatrader to trading bot and i want an expert that has experience in this field that can do the work perfect well for me without error
Hello colleagues, I have a request for development. It is required to develop a trading panel for manual trading. If you have experience in implementing similar projects, please send us estimated time frames and costs. I will be glad to hear your questions and work with you on this project. General description: It is required to develop a panel for manual trading. This is a panel with Risk Reward Tool for installing

Informations sur le projet

Budget
70 - 110 USD
TVA (19%): 13.3 - 20.9 USD
Total: 83.3 - 130.9 USD
Pour le développeur
63 - 99 USD
Délais
à 14 jour(s)